1. 17 Jul, 2001 1 commit
    • unknown's avatar
      Removed wrong warning from thr_lock · 7b3b2252
      unknown authored
      Fixed problem with UPDATE and BDB tables
      Fixed problem with GRANT FILE privilege on database level
      mysqld --warnings works now
      Fixed problem with SHOW OPEN TABLES when not using BDB
      Added some tests for ALTER TABLE to the test scripts
      
      
      Docs/manual.texi:
        Added link to copyleft license.
        Updated Changelog
      configure.in:
        Fixed typo
      mysys/thr_lock.c:
        Removed wrong warning
      sql/ha_berkeley.cc:
        Fixed problem with UPDATE
      sql/sql_acl.cc:
        Fixed problem with GRANT FILE privilege on database level
      sql/sql_parse.cc:
        Fixed that you don't get aborted connection error if you are not using --warning
      sql/sql_show.cc:
        Fixed problem with SHOW OPEN TABLES when not using BDB
      tests/fork2_test.pl:
        Added test of ALTER TABLE
      tests/fork_big.pl:
        Added test of ALTER TABLE
      7b3b2252
  2. 20 Jun, 2001 1 commit
    • unknown's avatar
      Added --warnings to mysqld · fb8c1f22
      unknown authored
      Docs/manual.texi:
        Changelog
      sql/mysql_priv.h:
        Added --warnings
      sql/mysqld.cc:
        Added --warnings
      sql/sql_parse.cc:
        Added --warnings
      fb8c1f22
  3. 01 Jun, 2001 1 commit
    • unknown's avatar
      Fixed bug that caused client to hang because mysqld never did send an · 8c2acc59
      unknown authored
      error message if the table open or the index creation failed.
      Updated portuguese error messages.
      Fix for OS/2 that affected CHECK TABLE.
      
      
      Docs/manual.texi:
        Changelog.
      libmysql/errmsg.c:
        Updated portuguese error messages
      mysys/my_copy.c:
        Fix for OS/2
      sql/net_pkg.cc:
        cleanup
      sql/share/portuguese/errmsg.txt:
        Updated portuguese error messages
      sql/slave.cc:
        Cleanup.
        Fixed bug that caused client to hang because mysqld never did
        send an error message if the table open or the index creation failed.
      sql/sql_parse.cc:
        Moved handling of 'no_send_ok' to fetch_nx_table.
      sql/sql_table.cc:
        Cleanup.
      8c2acc59
  4. 22 May, 2001 2 commits
    • unknown's avatar
      Remove wrong access check for locks. · cef9025b
      unknown authored
      Fixed problem with fuzzy dates.
      
      
      mysql-test/r/func_time.result:
        Added test of fuzzy dates
      mysql-test/t/func_time.test:
        Added test of fuzzy dates
      sql/item.cc:
        Fixed bug with fuzzy dates
      sql/sql_parse.cc:
        Remove wrong access check for locks.
        (This has to be delayed for 4.0 because there is currently now way
        to check for "any of the following privileges"
      Docs/manual.texi:
        Changelog
      cef9025b
    • unknown's avatar
      Security fix: LOCK TABLES must check for sufficient privileges. · a7f6bb79
      unknown authored
      sql/sql_parse.cc:
        Check table access for SQLCOM_LOCK_TABLES.
      a7f6bb79
  5. 25 Apr, 2001 1 commit
    • unknown's avatar
      Portability fixes for Ia64 and Sgi compiler · 6052a195
      unknown authored
      DROP DATABASE in mysqladmin asks for confirmation (again)
      Added examined_rows to slow query log
      SHOW CREATE for TEMPORARY table
      
      
      BitKeeper/deleted/.del-shw000001.result~8b20b03d8319b9a5:
        Delete: mysql-test/r/shw000001.result
      BitKeeper/deleted/.del-shw000001.test~770d96a2c1c65b20:
        Delete: mysql-test/t/shw000001.test
      Docs/manual.texi:
        Added information about InnoDB and TEMPORARY tables
      acinclude.m4:
        Portability fixes
      client/errmsg.c:
        merge with libmysqd/errmsg.c
      client/mysqladmin.c:
        DROP DATABASE asks for confirmation (again)
      client/mysqltest.c:
        Portability fixes
      configure.in:
        Portability fixes for SGI compiler on Ia64
      extra/resolve_stack_dump.c:
        Portability fixes
      include/global.h:
        Portability fixes
      isam/_dbug.c:
        Portability fixes
      mysql-test/mysql-test-run.sh:
        Portability fixes
      mysql-test/r/show_check.result:
        New test for SHOW CREATE
      mysql-test/t/show_check.test:
        New test for SHOW CREATE
      scripts/make_binary_distribution.sh:
        Added miss...
      6052a195
  6. 19 Apr, 2001 1 commit
    • unknown's avatar
      Fix for BDB and LOCK TABLES · 123e31ce
      unknown authored
      BitKeeper/deleted/.del-ib_config.h.in~9e57db8504e55b7:
        Delete: innobase/ib_config.h.in
      BitKeeper/deleted/.del-ib_config.h~7539e26ffc614439:
        Delete: innobase/ib_config.h
      Docs/manual.texi:
        Changelog
      myisam/mi_locking.c:
        Cleanup
      mysql-test/r/bdb.result:
        Test for LOCK TABLES
      mysql-test/r/innodb.result:
        Test for LOCK TABLES
      mysql-test/t/bdb.test:
        Test for LOCK TABLES
      mysql-test/t/innodb.test:
        Test for LOCK TABLES
      sql-bench/test-insert.sh:
        Allow loop to be small
      sql/ha_berkeley.cc:
        Fixed bug when using LOCK TABLES with BDB
      sql/ha_berkeley.h:
        Fixed bug when using LOCK TABLES with BDB
      sql/handler.h:
        Fixed bug when using LOCK TABLES with BDB
      sql/sql_base.cc:
        Fixed bug when using LOCK TABLES with BDB
      sql/sql_parse.cc:
        UNLOCK TABLES ends transaction
      sql/sql_select.cc:
        Fix to not call index_end() twice
      123e31ce
  7. 23 Mar, 2001 1 commit
    • unknown's avatar
      Test case for bug when updating on key · c4f986d7
      unknown authored
      Fixed bug in CONCAT_WS()
      Print the default ISOLATION level.
      Change lock type for CREATE ... SELECT and INSERT/REPLACE ... SELECT
      
      
      Docs/manual.texi:
        Changelog
      mysql-test/r/func_str.result:
        Added tests for CONCAT_WS()
      mysql-test/r/update.result:
        Test case for bug when updating on key
      mysql-test/t/func_str.test:
        Added tests for CONCAT_WS()
      mysql-test/t/update.test:
        Test case for bug when updating on key
      sql/gen_lex_hash.cc:
        Better hash values
      sql/handler.cc:
        Added missig NullS
      sql/item_strfunc.cc:
        Fixed bug in CONCAT_WS()
      sql/mysql_priv.h:
        Print the default ISOLATION level.
      sql/mysqld.cc:
        Print the default ISOLATION level.
      sql/sql_insert.cc:
        Remove unnecessary call to setup_tables()
      sql/sql_parse.cc:
        Change lock type for CREATE ... SELECT and INSERT/REPLACE ... SELECT
      sql/sql_yacc.yy:
        Change lock type for CREATE ... SELECT and INSERT/REPLACE ... SELECT
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      c4f986d7
  8. 21 Mar, 2001 1 commit
    • unknown's avatar
      Split setup_fields to setup_tables and setup_fields · 4f7e756c
      unknown authored
      Fixed problem with UPDATE TABLE when keys wheren't always used.
      
      
      Docs/manual.texi:
        Added comment to ALTER TABLE
      scripts/mysql_install_db.sh:
        Added test for mysqld in libexec
      sql/ha_innobase.cc:
        Removed compiler warning
      sql/mysql_priv.h:
        Split setup_fields to setup_tables and setup_fields
      sql/sql_base.cc:
        Split setup_fields to setup_tables and setup_fields
      sql/sql_insert.cc:
        Split setup_fields to setup_tables and setup_fields
      sql/sql_load.cc:
        Split setup_fields to setup_tables and setup_fields
      sql/sql_parse.cc:
        Fixed missing 'mysql_info" with now clients.
      sql/sql_select.cc:
        Split setup_fields to setup_tables and setup_fields
      sql/sql_update.cc:
        Fixed problem with UPDATE TABLE when keys wheren't always used.
      sql/sql_yacc.yy:
        Small isolation change
      4f7e756c
  9. 20 Mar, 2001 1 commit
    • unknown's avatar
      Added isolation levels · e4cadd74
      unknown authored
      Added SELECT .. FOR UPDATE and SELECT .. IN SHARE MODE
      
      
      Docs/manual.texi:
        Updated information about SET TRANSACTION ISOLATION LEVEL
      configure.in:
        Upgraded version number
      isam/_dbug.c:
        Fixed wrong fprintf
      isam/isamchk.c:
        Added new error message
      myisam/mi_check.c:
        Added new error message
      mysql-test/mysql-test-run.sh:
        Don't wait too long for server start
      mysys/mf_keycache.c:
        Cleaned up some error messages
      scripts/mysqlhotcopy.sh:
        Applied patch for --resetmaster --resetslave
      sql-bench/bench-init.pl.sh:
        Fix for windows
      sql/handler.cc:
        Added isolation levels and gemini spinlocks
      sql/handler.h:
        Added isolation levels
      sql/item_strfunc.cc:
        Cleanup of CONCAT_WS()
      sql/lex.h:
        Added isolation levels
      sql/mysql_priv.h:
        Added isolation levels
      sql/mysqld.cc:
        Added isolation levels
      sql/sql_class.cc:
        Added isolation levels
        Moved variable initialization to different code segments
      sql/sql_class.h:
        Added isolation levels
      sql/sql_lex.h:
        Added isolation levels
      sql/sql_parse.cc:
        Added isolation levels
      sql/sql_update.cc:
        cleanup
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      e4cadd74
  10. 14 Mar, 2001 1 commit
  11. 13 Mar, 2001 2 commits
    • unknown's avatar
      untested changes to close socket on slave stop for OS's that do not · 0d70b929
      unknown authored
      interrupt I/O after thr_alarm_kill()
      
      test case for order by desc coredump
      
      
      mysql-test/t/order_by.test:
        added test case for order by desc bug
      sql/slave.cc:
        close socket on slave stop
      sql/slave.h:
        close socket on slave stop
      sql/sql_class.cc:
        close socket on slave stop
      sql/sql_class.h:
        close socket on slave stop
      sql/sql_parse.cc:
        changed kill_one_thread to use prepare_to_die()
      sql/sql_repl.cc:
        close socket on slave stop
      0d70b929
    • unknown's avatar
      Added SQL_ANSI_MODE. · a4c63857
      unknown authored
      Docs/manual.texi:
        Added News section for 3.23.35, and change notes for SQL_ANSI_MODE.
      sql/gen_lex_hash.cc:
        Fixed typo.
        Updated the values, so the parser can be created.
      sql/mysql_priv.h:
        Added ``global_state_map'' from sql_lex.cc.
      sql/sql_class.h:
        Added ``state_map'' to THD.  This is a per-thread state map for lex.
      sql/sql_lex.cc:
        Renamed ``state_map'' to ``global_state_map''.
        Changed yylex() to use the new per-thread state map.
      sql/sql_parse.cc:
        Copy global_state_map into thd->state_map on thread start.
      sql/sql_yacc.yy:
        Added SQL_ANSI_MODE.
        Cleaned up some.
      a4c63857
  12. 07 Mar, 2001 1 commit
    • unknown's avatar
      Fixed test cases for innobase · 080298cf
      unknown authored
      Fixed bug introduced with last ORDER BY optimization
      Changed log position to longlong to avoid warnings.
      
      
      Docs/manual.texi:
        Update for innobase
      mysql-test/r/innobase.result:
        Fixed test cases
      mysql-test/t/bdb.test:
        Removed not used tables
      mysql-test/t/innobase.test:
        Fixed test cases
      sql/field.h:
        Fixed bug introduced with last ORDER BY optimization
      sql/ha_berkeley.cc:
        Fixed bug when index_init() was called twice.
      sql/mysql_priv.h:
        Added option to not get stack trace (when using gdb)
      sql/mysqld.cc:
        Added option to not get stack trace (when using gdb)
      sql/slave.cc:
        Changed log position to longlong to avoid warnings.
      sql/slave.h:
        Changed log position to longlong to avoid warnings.
      sql/sql_parse.cc:
        Removed warnings
      sql/sql_select.cc:
        Cleanups
      080298cf
  13. 06 Mar, 2001 1 commit
    • unknown's avatar
      Merged some functions and removed some unused client functions. · af297c50
      unknown authored
      Remember UNION for ALTER TABLE
      Added test for if we are supporting transactions.
      Don't allow REPLACE to replace a row when we have generated an auto_increment key
      Fixed bug when using BLOB keys
      Fixed bug in SET @variable=user.
      
      
      Docs/manual.texi:
        Added some examples and moved the Error access denied section to the
        error section.
      client/mysqltest.c:
        Changed to use the new mysql_send_query()
      include/mysql.h:
        Changed mysql_reap_query() to mysql_send_query().
      libmysql/libmysql.c:
        Changed mysql_reap_query() to mysql_send_query()
        Merged some functions and removed some unused functions.
      mysql-test/r/bdb.result:
        New test case
      mysql-test/r/distinct.result:
        New test case
      mysql-test/r/key.result:
        New test case
      mysql-test/r/merge.result:
        New test case
      mysql-test/r/replace.result:
        New test case
      mysql-test/t/bdb.test:
        New test case
      mysql-test/t/key.test:
        New test case
      mysql-test/t/merge.test:
        New test case
      mysql-test/t/replace.te...
      af297c50
  14. 21 Feb, 2001 1 commit
    • unknown's avatar
      Fixes for innobase · b5684cbc
      unknown authored
      Added test for ALTER TABLE ORDER BY
      
      
      BUILD/FINISH.sh:
        Fixes for innobase
      BUILD/compile-pentium-debug:
        Fixes for innobase
      Docs/manual.texi:
        Fixes for innobase
      include/my_pthread.h:
        Fixes for innobase
      innobase/Makefile.am:
        Fixes for innobase
      innobase/btr/Makefile.am:
        Fixes for innobase
      innobase/data/Makefile.am:
        Fixes for innobase
      innobase/eval/Makefile.am:
        Fixes for innobase
      innobase/include/Makefile.i:
        Fixes for innobase
      innobase/os/Makefile.am:
        Fixes for innobase
      mysql-test/t/alter_table.test:
        Added test for ALTER TABLE ORDER BY
      mysys/my_error.c:
        Skip 'l' in '%lu'
      mysys/my_vsnprintf.c:
        cleanup
      sql/ha_innobase.cc:
        Fixed type + remove warnings
      sql/ha_innobase.h:
        Remove warnings
      sql/handler.cc:
        cleanup
      sql/sql_class.cc:
        remove warnings
      sql/sql_parse.cc:
        remove warnings
      sql/sql_table.cc:
        Fixed bug in ALTER TABLE ... ORDER BY
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      b5684cbc
  15. 20 Feb, 2001 1 commit
    • unknown's avatar
      Added max_user_connections · 0cd425bf
      unknown authored
      BUILD/compile-pentium-debug:
        Added --with-innobase
      Docs/manual.texi:
        Added documentation for -O max_user_connections
      innobase/os/os0sync.c:
        Fix for Heikki
      0cd425bf
  16. 16 Feb, 2001 1 commit
  17. 15 Feb, 2001 1 commit
    • unknown's avatar
      Updates for innobase · b6b1bfab
      unknown authored
      Removed a ' that casued 'make paper' to fail
      
      
      Docs/manual.texi:
        Updated myisamchk section;  Removed a ' that casued 'make paper' to fail
      sql/handler.cc:
        Updates for innobase
      sql/mysqld.cc:
        Updates for innobase
      sql/sql_parse.cc:
        Fixed possible overrun if the mysqld server name is too big
      sql/sql_select.cc:
        Updates for innobase
      b6b1bfab
  18. 31 Jan, 2001 1 commit
    • unknown's avatar
      New myisamchk option --sort-recover · fc8f92ca
      unknown authored
      Allow delete of crashed MyISAM tables
      Fixed bug when BLOB was first part of key
      Fixed bug when using result from CASE in GROUP BY
      Fixed core-dump bug in monthname()
      Optimized calling of check_db_name()
      
      
      Docs/manual.texi:
        Added more information about myisamchk
      client/mysqladmin.c:
        Added error message for CREATE database and fixed possible overflow bug
      include/myisam.h:
        New myisamchk option --sort-recover
      libmysql/libmysql.c:
        Removed commented code
        Don't define getpwuid (breaks on SCO 3.2)
      myisam/mi_check.c:
        Fixed (new) bug when using --recover --optimize
      myisam/mi_delete_table.c:
        Allow delete of crashed tables
      myisam/mi_key.c:
        Fixed bug when BLOB was first part of key
      myisam/myisamchk.c:
        New myisamchk option --sort-recover
      mysql-test/r/case.result:
        New test cases to check for reported bugs
      mysql-test/r/func_time.result:
        New test cases to check for reported bugs
      mysql-test/r/type_blob.result:
        New test cases to check for reported bugs
      mysql-test/r/type_datetime.result:
        New test cases to check for reported bugs
      mysql-test/t/case.test:
        New test cases to check for reported bugs
      mysql-test/t/func_time.test:
        New test cases to check for reported bugs
      mysql-test/t/type_blob.test:
        New test cases to check for reported bugs
      mysql-test/t/type_datetime.test:
        New test cases to check for reported bugs
      mysys/my_bitmap.c:
        Optimize
      sql-bench/limits/ms-sql.cfg:
        Updated limits
      sql/item_cmpfunc.cc:
        Fixed bug when using result from CASE in GROUP BY
      sql/item_cmpfunc.h:
        Fixed bug when using result from CASE in GROUP BY
      sql/item_timefunc.cc:
        Fixed core-dump bug in monthname()
      sql/sql_db.cc:
        Optimized calling of check_db_name()
      sql/sql_parse.cc:
        Optimized calling of check_db_name()
      sql/table.cc:
        Fixed typo
      fc8f92ca
  19. 27 Jan, 2001 1 commit
    • unknown's avatar
      fixed up lock counting code - Monty's suggestions · e3ad443d
      unknown authored
      updated manual about table lock counter
      fixed coredump in DROP DATABASE with long bogus name by non-root user
      fixed bug in handling STOP immediately after ROTATE
      added test case for buffer overrun on DROP DATABASE by non-root user
      added test case for the STOP bug in replication
      
      
      Docs/manual.texi:
        updates for Table_locks_immediate and Table_locks_waited
      include/thr_lock.h:
        fixes suggested by Monty to lock counts
      mysql-test/r/status.result:
        clean up of result for changes in the test case
      mysql-test/t/status.test:
        make it produce the same results if the had been some activity on the server already
      mysys/thr_lock.c:
        fixes suggested by Monty
      sql/mysqld.cc:
        fixes suggested by Monty
      sql/slave.cc:
        fixed bug in processing STOP event after rotate
      sql/sql_base.cc:
        fixes suggested by Monty
      sql/sql_parse.cc:
        fixed coredump in drop database with long name by a non-root user
      sql/sql_repl.cc:
        better status message
      e3ad443d
  20. 25 Jan, 2001 1 commit
    • unknown's avatar
      Lots of manual changes · 8c2c633f
      unknown authored
      Changed 'static inline' to 'inline' for SCO new's compiler
      
      
      Docs/manual.texi:
        Lots of changes in "Debugging a MySQL server" and in Log files handling
      mysys/hash.c:
        Changed 'static inline' to 'inline'
      sql/hostname.cc:
        Changed 'static inline' to 'inline'
      sql/item.cc:
        Changed 'static inline' to 'inline'
      sql/net_serv.cc:
        Changed 'static inline' to 'inline'
      sql/password.c:
        Changed 'static inline' to 'inline'
      sql/slave.cc:
        Changed 'static inline' to 'inline'
      sql/sql_acl.cc:
        Changed 'static inline' to 'inline'
      sql/sql_base.cc:
        Changed mysql_list_field() to convert field names again
      sql/sql_parse.cc:
        Changed 'static inline' to 'inline'
      sql/sql_repl.cc:
        fixed typo
      8c2c633f
  21. 22 Jan, 2001 1 commit
    • unknown's avatar
      SHOW [FULL] COLUMNS · 4e554b70
      unknown authored
      Added timeouts to replication tests to handle concurrent inserts
      
      
      Docs/manual.texi:
        Changelog
      client/mysqlshow.c:
        Fix for new SHOW FULL COLUMNS syntax
      mysql-test/r/show_check.result:
        Fix for SHOW FULL COLUMNS
      mysql-test/t/alter_table.test:
        Fix for SHOW FULL COLUMNS
      mysql-test/t/rpl000001.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/rpl000002.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/rpl000003.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/rpl000007.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/rpl000008.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/rpl000009.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/rpl000010.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/rpl000011.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/rpl000012.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/rpl000013.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/rpl000014.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/rpl000015.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/rpl000016.test:
        Added timeout to handle concurrent inserts.
      mysql-test/t/select.test:
        Fix for SHOW FULL COLUMNS
      mysql-test/t/show_check.test:
        Fix for SHOW FULL COLUMNS
      mysql-test/t/type_blob.test:
        Fix for SHOW FULL COLUMNS
      mysql-test/t/type_float.test:
        Fix for SHOW FULL COLUMNS
      mysql-test/t/type_ranges.test:
        Fix for SHOW FULL COLUMNS
      sql/mysql_priv.h:
        Fix for SHOW FULL COLUMNS
      sql/sql_parse.cc:
        Fix for SHOW FULL COLUMNS
      sql/sql_show.cc:
        Fix for SHOW FULL COLUMNS
      sql/sql_yacc.yy:
        Fix for SHOW FULL COLUMNS
      4e554b70
  22. 20 Jan, 2001 1 commit
    • unknown's avatar
      client/mysqltest.c · 9b476e7c
      unknown authored
          added send/reap/dirty_close
      include/mysql.h
          mysql_send_query()/mysql_reap_query()
      libmysql/libmysql.c
          mysql_send_query()/mysql_reap_query()
      mysys/my_vsnprintf.c
          fixed critical bug that codedumped when connection aborted
      sql/sql_parse.cc
          0
      mysql-test/r/dirty-close.result
          New BitKeeper file ``mysql-test/r/dirty-close.result''
      mysql-test/t/dirty-close.test
          New BitKeeper file ``mysql-test/t/dirty-close.test''
      
      
      
      client/mysqltest.c:
        added send/reap/dirty_close
      include/mysql.h:
        mysql_send_query()/mysql_reap_query()
      libmysql/libmysql.c:
        mysql_send_query()/mysql_reap_query()
      mysys/my_vsnprintf.c:
        fixed critical bug that codedumped when connection aborted
      sql/sql_parse.cc:
        0
      9b476e7c
  23. 14 Jan, 2001 1 commit
    • unknown's avatar
      Fixed that --open-files-limit works on Linux · 3d3d876c
      unknown authored
      Docs/manual.texi:
        Update of security and replication sections
      sql/ha_berkeley.cc:
        More documentation
      sql/sql_base.cc:
        Fixed overflow bug
      sql/sql_parse.cc:
        Variable name change
      3d3d876c
  24. 01 Jan, 2001 1 commit
    • unknown's avatar
      Fixed gethostname_r tests to be more portable · f75caccc
      unknown authored
      BUILD/FINISH.sh:
        Moved symbolic files to tmp
      Docs/manual.texi:
        Updated
      mysql-test/r/func_str.result:
        Removed time functions
      mysql-test/t/func_str.test:
        Removed time functions
      mysql-test/t/order_by.test:
        Fixed sort problem
      sql/sql_parse.cc:
        End transactions before LOCK TABLES
      f75caccc
  25. 24 Dec, 2000 1 commit
    • unknown's avatar
      New benchmark test · dcc13f21
      unknown authored
      Fixed bug in REPLACE with BDB tables
      Prepare for write lock on read for BDB
      Inform the handler when we want to use IGNORE / REPLACE
      New manual pages
      
      
      Docs/manual.texi:
        Updates for BDB tables and new changes
      client/mysql.cc:
        Cleanup
      configure.in:
        Added sys/ioctl.h
      heap/hp_rkey.c:
        Fixed bug when reading next on not unique key
      include/my_base.h:
        Added new extra options
      man/mysql.1:
        Added example
      mysys/my_write.c:
        Safety fix
      scripts/mysqlaccess.sh:
        Removed debug output
      scripts/safe_mysqld.sh:
        Added --open-files-limit
      sql-bench/Results/ATIS-mysql-Linux_2.2.14_my_SMP_i686:
        Updated to new benchmark
      sql-bench/Results/RUN-mysql-Linux_2.2.14_my_SMP_i686:
        Updated to new benchmark
      sql-bench/Results/alter-table-mysql-Linux_2.2.14_my_SMP_i686:
        Updated to new benchmark
      sql-bench/Results/big-tables-mysql-Linux_2.2.14_my_SMP_i686:
        Updated to new benchmark
      sql-bench/Results/connect-mysql-Linux_2.2.14_my_SMP_i686:
        Updated to new benchmark
      sql-bench/Results/create-mysql-Linux_2.2.14_my_SMP_i686:
        Updated to new benchmark
      sql-bench/Results/insert-mysql-Linux_2.2.14_my_SMP_i686:
        Updated to new benchmark
      sql-bench/Results/select-mysql-Linux_2.2.14_my_SMP_i686:
        Updated to new benchmark
      sql-bench/Results/wisconsin-mysql-Linux_2.2.14_my_SMP_i686:
        Updated to new benchmark
      sql-bench/bench-init.pl.sh:
        Updated to new benchmark
      sql-bench/server-cfg.sh:
        Fixes for HEAP tables
      sql-bench/test-ATIS.sh:
        Fix for heap tables
      sql-bench/test-insert.sh:
        Added some ORDER BY benchmarks to test more things
      sql/ha_berkeley.cc:
        Fix a bug in REPLACE
      sql/ha_berkeley.h:
        Fix to handle lock_on_read
      sql/mysql_priv.h:
        Prepare for internal subtransactions in BDB
      sql/mysqld.cc:
        Added -O open_files_limit=#
      sql/sql_insert.cc:
        Inform the handler when we want to use IGNORE / REPLACE
      sql/sql_load.cc:
        Inform the handler when we want to use IGNORE / REPLACE
      sql/sql_parse.cc:
        Cleanup
      sql/sql_show.cc:
        Cleanup
      sql/sql_table.cc:
        Inform the handler when we want to use IGNORE / REPLACE
      sql/sql_update.cc:
        Inform the handler when we want to use IGNORE / REPLACE
      support-files/binary-configure.sh:
        Better message
      dcc13f21
  26. 18 Dec, 2000 1 commit
    • unknown's avatar
      Added SHOW OPEN TABLES. Thanks to Antony T Curtis <antony@abacus.co.uk> · 22f0ffed
      unknown authored
      for the code.
      
      
      Docs/manual.texi:
        - added SHOW OPEN TABLES
      sql/gen_lex_hash.cc:
        - added SHOW OPEN TABLES
      sql/lex.h:
        - added SHOW OPEN TABLES
      sql/mysql_priv.h:
        - added SHOW OPEN TABLES
      sql/sql_base.cc:
        - added SHOW OPEN TABLES
      sql/sql_lex.h:
        - added SHOW OPEN TABLES
      sql/sql_parse.cc:
        - added SHOW OPEN TABLES
      sql/sql_show.cc:
        - added SHOW OPEN TABLES
      sql/sql_yacc.yy:
        - added SHOW OPEN TABLES
      22f0ffed
  27. 15 Dec, 2000 1 commit
    • unknown's avatar
      Add SHOW LOGS command. · a045792a
      unknown authored
      sql/ha_berkeley.cc:
        - add berkeley_show_logs()
      sql/ha_berkeley.h:
        - add berkeley_show_logs()
      sql/mysql_priv.h:
        - add show_logs()
      sql/sql_lex.h:
        - add show_logs()
      sql/sql_parse.cc:
        - add show_logs()
      sql/sql_show.cc:
        - add show_logs()
      sql/sql_yacc.yy:
        - add show_logs()
      Docs/manual.texi:
        - add show_logs()
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      a045792a
  28. 13 Dec, 2000 1 commit
  29. 12 Dec, 2000 1 commit
    • unknown's avatar
      Fixed delete in tables with hidden primary key · 4f4c928b
      unknown authored
      Remove not used BDB logs on shutdown
      Don't give warnings for repair on slaves
      Fixed transaction log files
      
      
      Docs/manual.texi:
        Updated 'known bugs'
      include/my_sys.h:
        Added define for checking number of bytes left in the IO_CACHE
      mysql-test/mysql-test-run:
        Small bug fixes
      mysys/mf_iocache2.c:
        Use new define
      sql/filesort.cc:
        Temporary fix for FULLTEXT index
      sql/ha_berkeley.cc:
        Fix for delete in tables with hidden primary key
        Remove not used BDB logs on shutdown
      sql/ha_myisam.cc:
        Don't give warnings for repair on slaves
      sql/hostname.cc:
        Portability fix
      sql/log.cc:
        Fix transaction log files
      sql/log_event.h:
        portability fix
      sql/slave.cc:
        Don't give warnings for repair on slaves
      sql/sql_class.h:
        Cleanup
      sql/sql_parse.cc:
        Fixed typo
      4f4c928b
  30. 07 Dec, 2000 1 commit
    • unknown's avatar
      Only write full transactions to binary log · 42018251
      unknown authored
      A lot of new functions for BDB tables
      Fix for DROP DATABASE on windows
      Default server_id variables
      
      
      Docs/manual.texi:
        Update of BDB info + Changes
      configure.in:
        Added test of readlink
      include/mysqld_error.h:
        Added new error message
      sql/ha_berkeley.cc:
        Added storing of status, CHECK, ANALYZE and OPTIMIZE TABLE
      sql/ha_berkeley.h:
        Added storing of status, CHECK, ANALYZE and OPTIMIZE TABLE
      sql/handler.cc:
        Only write full transactions to binary log
      sql/hostname.cc:
        cleanup
      sql/log.cc:
        Only write full transactions to binary log
      sql/log_event.h:
        Only write full transactions to binary log
      sql/mf_iocache.cc:
        Changes to be able to use IO_CACHE to save statements in a transaction
      sql/mysql_priv.h:
        New variables
      sql/mysqld.cc:
        Only write full transactions to binary log
        Added default values for server_id
        Lots of new bdb options
      sql/share/czech/errmsg.sys:
        Added new error message
      sql/share/czech/errmsg.txt:
        Added new error message
      sql/share/dani...
      42018251
  31. 02 Dec, 2000 1 commit
    • unknown's avatar
      added loops and other cool stuff to mysqltest · c95e3cd2
      unknown authored
      fixed slave to preserve temp tables on slave stop; slave start
      added abort-slave-event-count option to mysqld to test the above
      added a test case for temp tables with a contantly aborting slave
      removed warning in sql_parse.cc
      fixed thimble.cc to compile
      
      
      BitKeeper/etc/ignore:
        Added client/thimble support-files/mysql-3.23.29-gamma.spec to the ignore list
      client/mysqltest.c:
        added while, let, and echo, added fractional sec sleep support
      client/thimble.cc:
        fixes to make it compile
      mysql-test/t/3.23/rpl000001.test:
        sleep less
      mysql-test/t/3.23/rpl000002.test:
        sleep less
      mysql-test/t/3.23/rpl000003.test:
        sleep less
      mysql-test/t/3.23/rpl000005.test:
        sleep less
      sql/mysqld.cc:
        --abort-slave-event count
      sql/slave.cc:
        remember temp tables when slave thread termintates and restore them on
        slave start
      sql/slave.h:
        --abort-slave-event-count
      sql/sql_parse.cc:
        remove warning
      c95e3cd2
  32. 29 Nov, 2000 1 commit
    • unknown's avatar
      Fixed bug in 'drop table' · 70e4e448
      unknown authored
      Portability fixes
      
      
      sql-bench/bench-init.pl.sh:
        Change mode to -rw-rw-r--
      sql-bench/compare-results.sh:
        Change mode to -rw-rw-r--
      sql-bench/run-all-tests.sh:
        Change mode to -rw-rw-r--
      sql-bench/test-ATIS.sh:
        Change mode to -rw-rw-r--
      sql-bench/test-alter-table.sh:
        Change mode to -rw-rw-r--
      sql-bench/test-big-tables.sh:
        Change mode to -rw-rw-r--
      sql-bench/test-connect.sh:
        Change mode to -rw-rw-r--
      sql-bench/test-create.sh:
        Change mode to -rw-rw-r--
      sql-bench/test-select.sh:
        Change mode to -rw-rw-r--
      sql-bench/test-wisconsin.sh:
        Change mode to -rw-rw-r--
      Docs/manual.texi:
        Added documentation for perror
      myisam/mi_check.c:
        Portability fix
      mysql-test/chew_on_this/select.res:
        ***MISSING WEAVE***
      scripts/mysqlhotcopy.sh:
        Added --noindices
      sql-bench/Results/ATIS-mysql-Linux_2.2.13_SMP_alpha:
        New benchmark results
      sql-bench/Results/RUN-mysql-Linux_2.2.13_SMP_alpha:
        New benchmark results
      sql-bench/Results/alter-table-mysql-Linux_2.2.13_SMP_alpha:
        New benchmark results
      sql-bench/Results/big-tables-mysql-Linux_2.2.13_SMP_alpha:
        New benchmark results
      sql-bench/Results/connect-mysql-Linux_2.2.13_SMP_alpha:
        New benchmark results
      sql-bench/Results/create-mysql-Linux_2.2.13_SMP_alpha:
        New benchmark results
      sql-bench/Results/insert-mysql-Linux_2.2.13_SMP_alpha:
        New benchmark results
      sql-bench/Results/select-mysql-Linux_2.2.13_SMP_alpha:
        New benchmark results
      sql-bench/Results/wisconsin-mysql-Linux_2.2.13_SMP_alpha:
        New benchmark results
      sql-bench/copy-db.sh:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/crash-me.sh:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/Adabas.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/access.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/access_odbc.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/frontbase.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/interbase.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/mimer.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/ms-sql.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/msql.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/mysql-3.22.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/mysql-3.23.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/mysql.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/oracle.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/limits/pg.cfg:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/print-limit-table:
        Better groups
      sql-bench/server-cfg.sh:
        Changed multi_value_insert -> insert_multi_value
      sql-bench/test-insert.sh:
        Changed multi_value_insert -> insert_multi_value
      sql/ha_myisam.cc:
        Added warning of number of rows changed in optimize
      sql/mysqlbinlog.cc:
        Portability fix
      sql/mysqld.cc:
        Changed mysqld to take less stack and safer shutdown
      sql/share/swedish/errmsg.OLD:
        update
      sql/sql_base.cc:
        Fixed 'drop table' bug
      sql/sql_parse.cc:
        Fixed bug in 'TRUNCATE'
      sql/sql_show.cc:
        Don't lock keycache when you do 'show variables'
      70e4e448
  33. 28 Nov, 2000 1 commit
    • unknown's avatar
      New thr_alarm struct for better integration with OS2 · 5f1267ba
      unknown authored
      Run bootstrap in separate thread
      Fix bug in FLUSH TABLES table_name
      
      
      Docs/manual.texi:
        Updated ChangeLog
      client/mysql.cc:
        Added info about compressed protocol
      include/getopt.h:
        Fix for OS2
      include/global.h:
        Fix for OS2
      include/my_sys.h:
        Fix for OS2
      include/mysql_com.h:
        Fix for OS2
      include/thr_alarm.h:
        Cleanup up alarm struct for OS2 port
      isam/isamchk.c:
        Fix for OS2
      libmysql/libmysql.c:
        cleanup
      libmysql/net.c:
        Use new thr_alarm
      libmysql/violite.c:
        Fix for OS2
      myisam/ChangeLog:
        Changes
      myisam/mi_create.c:
        Use less stack
      myisam/myisamchk.c:
        Fix for OS2
      mysys/default.c:
        Fix for OS2
      mysys/getopt.c:
        Fix for OS2
      mysys/mf_format.c:
        Safety
      mysys/mf_path.c:
        Fix for OS2
      mysys/my_create.c:
        Fix for OS2
      mysys/my_lock.c:
        Fix for OS2
      mysys/my_open.c:
        Fix for OS2
      mysys/thr_alarm.c:
        Use new thr_alarm struct
      readline/input.c:
        Fix for OS2
      readline/rltty.c:
        Fix for OS2
      sql/ha_myisam.cc:
        Remove unnecessary fn_format
      sql/my_lo...
      5f1267ba
  34. 26 Nov, 2000 1 commit
    • unknown's avatar
      Fixed temp tables to work with replication. It will not work if you stop the slave · 5fa4731e
      unknown authored
      while slave thread has temp tables - not hard to fix though, but it is time to go to bed
      
      added a new test case for temp table replication and Slave_open_temp_tables
      status variable.
      
      Misc fixes
      
      
      client/mysqltest.c:
        added disconnect command
      mysql-test/create-test-result:
        fixed bugs so it actually works
      mysql-test/t/include/master-slave.inc:
        establish alternate connections to master and slave
      sql/mysql_priv.h:
        Slave_open_temp_tables
      sql/mysqlbinlog.cc:
        fixed a bug in reading local binlogs
      sql/mysqld.cc:
        added Slave_open_temp_tables status variable
      sql/slave.cc:
        fixed freed memory reference in the error message
      sql/sql_class.cc:
        slave_proxy_id
      sql/sql_class.h:
        slave_proxy_id
      sql/sql_parse.cc:
        small optimization - reorder eval in &&
      BitKeeper/etc/ignore:
        Added mysql-test/r/3.23/rpl000001.b.result.reject mysql-test/r/3.23/rpl000012.result.reject to the ignore list
      sql/sql_table.cc:
        added THD arg to rename_temporary_table
      sql/unireg.h:
        the table_cache_key is now 4 bytes longer
      5fa4731e
  35. 23 Nov, 2000 1 commit
    • unknown's avatar
      All statements are now run in a sub transaction · d22ad8c1
      unknown authored
      Give warning if we are using non transactional tables and do ROLLBACK
      Porting of crash-me and benchmarks to FrontBase
      
      
      Docs/manual.texi:
        Updates for 3.23.29
      include/mysqld_error.h:
        New error messages
      sql-bench/Data/ATIS/fconnection.txt:
        Name change because 'connection' was a reserved word in FrontBase
      sql-bench/bench-init.pl.sh:
        Port to FrontBase
      sql-bench/crash-me.sh:
        Port to FrontBase
      sql-bench/server-cfg.sh:
        Port to FrontBase
      sql-bench/test-ATIS.sh:
        Port to FrontBase
      sql-bench/test-alter-table.sh:
        Port to FrontBase
      sql-bench/test-big-tables.sh:
        Port to FrontBase
      sql-bench/test-connect.sh:
        Port to FrontBase
      sql-bench/test-create.sh:
        Port to FrontBase
      sql-bench/test-insert.sh:
        Port to FrontBase
      sql-bench/test-select.sh:
        Port to FrontBase
      sql-bench/test-wisconsin.sh:
        Port to FrontBase
      sql/ha_berkeley.cc:
        All statements are now run in a sub transaction
      sql/ha_berkeley.h:
        All statements are now run in a sub transaction
      sql/handl...
      d22ad8c1
  36. 22 Nov, 2000 1 commit
  37. 20 Nov, 2000 1 commit
    • unknown's avatar
      Bug fix for NATURAL JOIN, Split manual sections and more statistic variables · 9a6de748
      unknown authored
      Docs/manual.texi:
        Split BDB into different sections
        Added MySQL developers section
        Changed an SQL to a SQL
      include/my_sys.h:
        More statistic variables
      libmysql/libmysql.c:
        Added option "interactive-timeout"
      mysys/mf_tempfile.c:
        More statistic variables
      mysys/my_static.c:
        More statistic variables
      sql-bench/crash-me.sh:
        Fixed bug in truncate table test
      sql-bench/limits/mysql-3.23.cfg:
        Updated to crash-me 1.51
      sql-bench/limits/mysql.cfg:
        Updated to crash-me 1.51
      sql/filesort.cc:
        More statistics
      sql/mysql_priv.h:
        More statistics
      sql/mysqld.cc:
        More statistics
      sql/sql_base.cc:
        Fix for NATURAL JOIN
      sql/sql_delete.cc:
        cleanup + Added logging if one doesn't use index
      sql/sql_parse.cc:
        Logging if one doesn't use index
      sql/sql_select.cc:
        Logging if one doesn't use index
      sql/sql_update.cc:
        cleanup + Added logging if one doesn't use index
      sql/structs.h:
        Fix for NATURAL JOIN
      support-files/my-huge.cnf.sh:
        Added interactive-timeout to [mysqlhotcopy]
      support-files/my-large.cnf.sh:
        Added interactive-timeout to [mysqlhotcopy]
      support-files/my-medium.cnf.sh:
        Added interactive-timeout to [mysqlhotcopy]
      support-files/my-small.cnf.sh:
        Added interactive-timeout to [mysqlhotcopy]
      9a6de748
  38. 18 Nov, 2000 1 commit
    • unknown's avatar
      Portability fixes · 934769c7
      unknown authored
      Docs/manual.texi:
        Updated links and added more examples
      client/mysql.cc:
        Added --timeout + merge of Jani:s changes
      isam/_dynrec.c:
        Fixed bug when making big rows 1 byte smaller
      scripts/mysqlhotcopy.sh:
        Added regexp handling of filenames
      sql-bench/test-insert.sh:
        More order by tests
      sql/mf_iocache.cc:
        Cleanup
      sql/mysqld.cc:
        Moved my_delete() to before master thread died
      sql/sql_parse.cc:
        Fixed wrong comparison
      934769c7