1. 18 Sep, 2004 1 commit
    • unknown's avatar
      bug#2831 - --extenral-locking does not fully work with --myisam-recover. · 3573368b
      unknown authored
      Changed the semantics of open_count so that it is decremented
      at every unlock (if it was incremented due to data changes).
      So it indicates a crash, if it is non-zero after a lock.
      The table will then be repaired.
      
      
      myisam/mi_close.c:
        bug#2831 - --extenral-locking does not fully work with --myisam-recover.
        To avoid flushing the open_count at every unlock,
        we need to do so at close at least.
      myisam/mi_locking.c:
        bug#2831 - --extenral-locking does not fully work with --myisam-recover.
        open_count is now decremented at unlock (from a writelock) with
        mi_unlock_open_count(). After every new lock the state is read
        from the index file and the open_count checked. If not zero,
        another server must have crashed, so the table is marked as crashed.
        In certain situations the decremented open_count mut be flushed to
        the index file. I tried to keep these extra flushes as seldom as possible.
      sql/ha_myisam.cc:
        bug#2831 - --extenral-locking does not fully work with --myisam-recover.
        Added code to repair the table, if it is marked crashed after
        successful locking and the --myisam-recover option is set.
      sql/sql_table.cc:
        This does not really belong to the bugfix for #2831.
        But it was detected during fixing the external locking.
      3573368b
  2. 10 Mar, 2004 1 commit
    • unknown's avatar
      Fixed memory leak in DROP DATABASE when using RAID tables (Bug #2882) · 98cd9f93
      unknown authored
      BUILD/compile-pentium-debug-max:
        Added --with-raid
      configure.in:
        Removed -DFN_NO_CASE_SENCE for Mac OS X as this is not always true
      mysql-test/install_test_db.sh:
        Added --skip-warnings
      mysql-test/mysql-test-run.sh:
        Fixes to get --gdb and --ddd to work
      mysql-test/r/lowercase_table2.result:
        Test for lower_case_table_names=2 and temporary tables
      mysql-test/r/lowercase_table3.result:
        Fixed error message
      mysql-test/r/multi_update.result:
        Test of behaviour of multi-table-delete and alias
      mysql-test/t/lowercase_table2.test:
        Test for lower_case_table_names=2 and temporary tables
      mysql-test/t/lowercase_table3.test:
        Fixed error
      mysql-test/t/multi_update.test:
        Test of behaviour of multi-table-delete and alias (Bug #2940)
      mysys/mf_iocache.c:
        Renamed _flush_io_cache to my_b_flush_io_cache
      sql/ha_myisam.cc:
        Added comment
      sql/lock.cc:
        Extra debugging
      sql/log.cc:
        New parameter to flush_relay_log_info
      sql/log_event.cc:
        New...
      98cd9f93
  3. 30 Dec, 2003 1 commit
    • unknown's avatar
      Some small portability fixes. · 249910ab
      unknown authored
      Added support for lower_case_table_names=2, which is to be used on case insensitive file systems.
      This tells MySQL to preserve the used case of filenames and database names to make it esier to move files between cases sensitive can case insensitive file systems (like Windows and Linux)
      
      
      client/mysqltest.c:
        Indentation cleanup
      include/myisam.h:
        Made some pointers 'const'
      mysql-test/mysql-test-run.sh:
        Portability fix for OSX
      sql/filesort.cc:
        Safety fix (not needed for current code but needed for 5.0)
      sql/ha_berkeley.cc:
        More debugging
        Changed 'create' to return error number
      sql/ha_berkeley.h:
        Added HA_FILE_BASED
      sql/ha_innodb.cc:
        Added missing DBUG_RETURN
      sql/ha_isam.cc:
        Changed create to return error number
      sql/ha_isam.h:
        Added HA_FILE_BASED
      sql/ha_isammrg.h:
        Added HA_FILE_BASED
      sql/ha_myisam.cc:
        Changed create to return error number
      sql/ha_myisam.h:
        Added HA_FILE_BASED
      sql/ha_myisammrg.cc:
        Changed create to return error number
      sql/ha_myisammrg.h:
       ...
      249910ab
  4. 25 Aug, 2003 1 commit
    • unknown's avatar
      Better fix for myisamchk --sort-index on windows · 37ed6ce6
      unknown authored
      Fixed deadlock bug when doing resize of key buffer while key buffer was in active use
      
      
      myisam/mi_locking.c:
        Better fix for myisamchk --sort-index on windows
      mysql-test/r/symlink.result:
        Update results
      mysql-test/t/symlink.test:
        Update results
      mysys/mf_keycache.c:
        Fixed deadlock bug when doing resize of key buffer while key buffer was in active use
      sql/ha_myisam.cc:
        simple optimization
      sql/sql_show.cc:
        Fixed theoretical buffer overrun
        Reset variable properly before calling update_create_info()
      37ed6ce6
  5. 19 Jul, 2003 1 commit
    • unknown's avatar
      Fix for #712 with Serg's suggestions · 5f44dc87
      unknown authored
      myisam/mi_locking.c:
        Here we use F_EXTRA_LCK
      myisam/myisamchk.c:
        lines of "locking - emulation" replaced with mi_lock_database call
      myisam/myisamdef.h:
        no need for MI_TEMPORARY_TABLE
      sql/ha_myisam.cc:
        We use F_WRLCK instead MI_TEMPORARY_TABLE
      5f44dc87
  6. 14 Jul, 2003 1 commit
    • unknown's avatar
      Proposed bugfix for #712 · 5e293952
      unknown authored
      Monty revoked any locks for temporary tables in
      ha_myisam::external_lock()
      But further code bans using write cache on nonlocked tables
      this makes operations much slower
      
      
      myisam/mi_locking.c:
        Handling of MI_TEMPORARY_TABLE lock
      myisam/myisamdef.h:
        defining of MI_TEMPORARY_TABLE
      sql/ha_myisam.cc:
        now we lock temporary tables using MI_TEMPORARY_TABLE lock
      5e293952
  7. 08 Jul, 2003 1 commit
    • unknown's avatar
      Fixed bug in ALTER TABLE ... DISABLE/ENABLE KEYS · 9388c6fd
      unknown authored
      Removed double my_thread_end() which caused fatal error on windows if mysqld died on startup
      
      
      myisam/mi_extra.c:
        Fixed bug in ALTER TABLE ... DISABLE/ENABLE KEYS
      mysql-test/r/alter_table.result:
        Fixed bug in ALTER TABLE ... DISABLE/ENABLE KEYS
      mysql-test/t/alter_table.test:
        Test DISABLE/ENABLE KEY
      sql/ha_myisam.cc:
        Fixed bug in ALTER TABLE ... DISABLE/ENABLE KEYS
      sql/mysqld.cc:
        Removed double my_thread_end() which caused fatal error on windows if mysqld died on startup
      sql/sql_table.cc:
        Fixed bug in ALTER TABLE ... DISABLE/ENABLE KEYS
      sql/table.cc:
        Fixed bug in ALTER TABLE ... DISABLE/ENABLE KEYS
      sql/table.h:
        Fixed bug in ALTER TABLE ... DISABLE/ENABLE KEYS
      9388c6fd
  8. 04 May, 2003 1 commit
  9. 16 Apr, 2003 1 commit
    • unknown's avatar
      Fix for #126 · 2b9dbcdd
      unknown authored
      sql/ha_myisam.cc:
        Flag added to turn on check sum recounting
      2b9dbcdd
  10. 03 Apr, 2003 1 commit
  11. 18 Mar, 2003 1 commit
  12. 12 Mar, 2003 1 commit
    • unknown's avatar
      ha_myisam.cc: · 7ff0a895
      unknown authored
        typo fixed
      
      
      sql/ha_myisam.cc:
        typo fixed
      7ff0a895
  13. 10 Mar, 2003 1 commit
    • unknown's avatar
      Don't allow BACKUP TABLE to overwrite files · 30a0730f
      unknown authored
      Fixed memory leak when replication restarts in debug mode
      
      
      include/my_sys.h:
        Added option to not overwrite files to my_copy()
      mysql-test/mysql-test-run.sh:
        Fixed --ddd option
        Fixed that mysqld is restarted if there is a testname-master.sh file
      mysql-test/r/backup.result:
        Update for security fix in BACKUP TABLE
      mysql-test/t/backup.test:
        Update for security fix in BACKUP TABLE
      mysys/my_copy.c:
        Added option to not overwrite files to my_copy()
      sql/ha_myisam.cc:
        Don't allow BACKUP TABLE to overwrite files
      sql/slave.cc:
        Fixed problem with --debug output from 'handle_slave'
        Fixed memory leak when replication restarts in debug mode
      30a0730f
  14. 07 Mar, 2003 1 commit
    • unknown's avatar
      Fixed AUTO_INCREMENT handling in MyISAM (last auto_increment patch broke things) · b07efa92
      unknown authored
      Some after merge fixes
      
      
      mysql-test/r/ctype_latin1_de.result:
        Changed test to have more relevant results
      mysql-test/r/delete.result:
        Updated results after merge
      mysql-test/r/select.result:
        Remove explicit database usage
      mysql-test/r/type_datetime.result:
        Updated results after merge
      mysql-test/t/ctype_latin1_de.test:
        Changed test to have more relevant results
      mysql-test/t/select.test:
        Remove explicit database usage
      sql/ha_myisam.cc:
        Fixed AUTO_INCREMENT handling in MyISAM (last auto_increment patch broke things)
      b07efa92
  15. 02 Mar, 2003 1 commit
  16. 28 Jan, 2003 2 commits
    • unknown's avatar
      low-level error messages cleanup · 88c4961f
      unknown authored
      extra/perror.c:
        error messages fixups
      include/my_base.h:
        error codes fixups
      myisam/mi_open.c:
        correct error reported
      myisam/myisamchk.c:
        correct error reported
      myisammrg/myrg_open.c:
        correct error reported
      sql/ha_innodb.cc:
        correct error reported
      sql/ha_isam.cc:
        reorder table file extensions to get better error on "cannot open the table"
      sql/ha_myisam.cc:
        reorder table file extensions to get better error on "cannot open the table"
      sql/ha_myisammrg.cc:
        correct error reported
      sql/handler.cc:
        correct error reported
      88c4961f
    • unknown's avatar
      Fixes for Netware · 8c613c2c
      unknown authored
      Call pthread_mutex_destroy() on not used mutex.
      Changed comments in .h and .c files from // -> /* */
      Added detection of mutex on which one didn't call pthread_mutex_destroy()
      Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
      Added optimisation for ORDER BY NULL
      
      
      BitKeeper/deleted/.del-ChangeLog~dfc92e15bee6fc75:
        Delete: sql/ChangeLog
      BUILD/compile-pentium-valgrind-max:
        Don't use valgrind with safemalloc as this can hide some bugs
      Makefile.am:
        Added platform dirs
      bdb/os/os_handle.c:
        Portability fix
      client/mysql.cc:
        Fixes for Netware.
        Fixed duplicate output when using 'tee'
        Simple optimisations
      client/mysqldump.c:
        Portability fix
      client/mysqltest.c:
        Portability fix
      configure.in:
        Fixes for Netware
      extra/resolveip.c:
        Fixes for Netware
      include/Makefile.am:
        Fixes for Netware
      include/config-win.h:
        Portability fix
      include/my_global.h:
        Fixes for Netware
      include/my_net.h:
        Fixes for Netware
      include/my_pthr...
      8c613c2c
  17. 16 Dec, 2002 1 commit
  18. 14 Dec, 2002 1 commit
    • unknown's avatar
      Transactions in AUTOCOMMIT=0 mode didn't rotate binary log · 3bf84777
      unknown authored
      Don't enable any bulk insert or record caching code if inserting less than MIN_ROWS_TO_USE_BULK_INSERT rows (100)
      
      
      myisam/mi_check.c:
        Fixed bug in copying statistics for disabled index
      mysql-test/r/distinct.result:
        Fix result after not doing key statistics for first insert.
      mysql-test/r/fulltext.result:
        Fix result after not doing key statistics for first insert.
      mysql-test/r/insert.result:
        Fix result after not doing key statistics for first insert.
      mysql-test/r/key_diff.result:
        Fix result after not doing key statistics for first insert.
      mysql-test/r/order_by.result:
        Fix result after not doing key statistics for first insert.
      mysql-test/r/select.result:
        Fix result after not doing key statistics for first insert.
      mysql-test/r/show_check.result:
        Fix result after not doing key statistics for first insert.
      sql/ha_myisam.cc:
        Don't disable index when inserting only a few rows
      sql/log.cc:
        Transactions in AUTOCOMMIT=0 mode didn't rotate binary log.
      sql/sql_insert.cc:
        Don't enable any bulk insert or record caching code if inserting less than MIN_ROWS_TO_USE_BULK_INSERT
      3bf84777
  19. 12 Dec, 2002 1 commit
    • unknown's avatar
      Removed compiler warnings · 982e3eed
      unknown authored
      Fixed wrong variable name for Windows
      
      
      VC++Files/innobase/innobase.dsp:
        Don't use precompiled headers (doesn't work with samba)
      VC++Files/myisammrg/myisammrg.dsp:
        Add missing files
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        Fixed included paths
      VC++Files/mysqldemb/mysqldemb.dsp:
        Don't use precompiled headers (doesn't work with samba)
      VC++Files/mysqlserver/mysqlserver.dsp:
        Don't use precompiled headers (doesn't work with samba)
      VC++Files/sql/mysqld.dsp:
        Fixed paths
      innobase/include/univ.i:
        Removed compiler warning
      myisammrg/myrg_open.c:
        Removed compiler warning
      sql/ha_myisam.cc:
        Removed compiler warning
        Fixed wrong (but not dangerous) if statement
      sql/ha_myisammrg.cc:
        Removed compiler warning
      sql/mysqld.cc:
        Fixed wrong variable name for Windows
      sql/sql_update.cc:
        Removed not used label
      982e3eed
  20. 07 Dec, 2002 1 commit
    • unknown's avatar
      bulk insert code optimized · f7604940
      unknown authored
      mysql-test/r/distinct.result:
        updated
      mysql-test/r/fulltext.result:
        updated
      mysql-test/r/select.result:
        updated
      mysql-test/r/show_check.result:
        updated
      mysql-test/t/insert.test:
        updated
      f7604940
  21. 16 Nov, 2002 1 commit
    • unknown's avatar
      Small improvement to alloc_root · f39f794d
      unknown authored
      Add support for LIMIT # OFFSET #
      Changed lock handling:  Now all locks should be stored in TABLE_LIST instead of passed to functions.
      Don't call query_cache_invalidate() twice in some cases
      mysql_change_user() now clears states to be equal to close + connect.
      Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES
      Fixed a bug with replicate-do and UPDATE
      
      
      BitKeeper/etc/ignore:
        added autom4te.cache/* bdb/dist/autom4te.cache/* innobase/autom4te.cache/*
      include/my_alloc.h:
        Small improvement to alloc_root
      libmysql/libmysql.c:
        Removed compiler warning
      myisam/mi_page.c:
        Better DBUG message
      mysql-test/r/multi_update.result:
        Added test with lock tables
      mysql-test/r/rpl_replicate_do.result:
        Update results
      mysql-test/r/rpl_rotate_logs.result:
        Make test independent of if t1 exists
      mysql-test/t/multi_update.test:
        Added test with lock tables
      mysql-test/t/rpl_rotate_logs.test:
        Make test independent of if t1 exists
      mysys/my_alloc.c:
        Small imprevement to alloc_root
        (Don't free blocks less than ALLOC_MAX_BLOCK_ROOT (4K)
      sql/ha_innodb.cc:
        More debug messages
      sql/ha_myisam.cc:
        Safety change
      sql/lex.h:
        Add support for LIMIT # OFFSET #
      sql/lock.cc:
        Added assertion
      sql/mysql_priv.h:
        Change of lock handling
      sql/mysqld.cc:
        Added function clear_error_messages()
      sql/sql_base.cc:
        Change lock handling by open_ltable() and open_and_lock_tables()
      sql/sql_class.cc:
        Split THD::THD to two functions
        Move some code from cleanup() to ~THD:THD
        Add THD::change_user()
      sql/sql_class.h:
        Prototype changes in class THD
      sql/sql_delete.cc:
        Remove locking argument from mysql_delete()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_insert.cc:
        Remove locking argument from mysql_insert()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
        Don't use bulk insert if bulk_insert_buff_size is 0
      sql/sql_parse.cc:
        Changes to make mysql_change_user() work as close+connect
        Changed command statistics to use statstics_increment to get more speed
        Update code to handle that locks is now stored in TABLE_LIST
      sql/sql_update.cc:
        Remove locking argument from mysql_update()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_yacc.yy:
        Locking type is now stored in TABLE_LIST
        Added support for LIMIT # OFFSET # syntax
        Removed some wrong (never true) checks for SQLCOM_MULTI_UPDATE
      mysql-test/t/rpl_replicate_do-slave.opt:
        Changed tables to use t1,t2,...
      mysql-test/t/rpl_replicate_do.test:
        Changed tables to use t1,t2,...
      f39f794d
  22. 14 Nov, 2002 1 commit
  23. 13 Nov, 2002 1 commit
    • unknown's avatar
      optimize table corruption fixed, though more clean fix is desired. · dff9da6c
      unknown authored
      Fix for another optimize bug is undone, as the new one handles both cases.
      test added
      
      
      mysql-test/r/myisam.result:
        updated
      mysql-test/t/myisam.test:
        optimize table corruption test
      sql/ha_myisam.cc:
        optimize table corruption fixed, though more clean fix is desired.
        Fix for another optimize bug is undone, as the new one handles both cases.
      dff9da6c
  24. 11 Nov, 2002 1 commit
  25. 07 Nov, 2002 1 commit
    • unknown's avatar
      Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes. · 099974b5
      unknown authored
      client/mysqlbinlog.cc:
        Portability fix
      configure.in:
        Added use of ASFLAGS (For Solaris with Forte 5.0)
      include/my_global.h:
        Portability fix
      include/myisam.h:
        Portability fix
      include/queues.h:
        Portability fix
      innobase/include/ut0ut.h:
        Portability fix
      innobase/log/log0log.c:
        Portability fix
      innobase/rem/rem0cmp.c:
        Portability fix
      innobase/trx/trx0sys.c:
        Portability fix
      isam/pack_isam.c:
        Portability fix
      myisam/ft_boolean_search.c:
        Portability fix
      myisam/mi_dynrec.c:
        Code change to go around bug in Forte 5.0
      myisam/sort.c:
        Portability fix
      mysys/my_aes.c:
        Portability fix
      scripts/Makefile.am:
        Support for ASFLAGS
      scripts/mysqlbug.sh:
        Support for ASFLAGS
      sql/field.cc:
        Portability fix
      sql/filesort.cc:
        Portability fix
      sql/gen_lex_hash.cc:
        Portability fix
      sql/ha_innodb.cc:
        Portability fix
        Changed SHOW INNODB STATUS to return error instead of writing message to log file.
      sql/ha_isammrg.cc:
        Portability fi...
      099974b5
  26. 05 Nov, 2002 1 commit
  27. 19 Sep, 2002 1 commit
    • unknown's avatar
      Increased max possible max_allowed_packet to 1G · 4e50f236
      unknown authored
      Small optimization to not do external locking of temporary MyISAM tables.
      
      
      BitKeeper/deleted/.del-sslopt-usage.h~3ab77eeeaad1ba0a:
        Delete: include/sslopt-usage.h
      Docs/manual.texi:
        Fixed wrong descrtion of IF()
        Added information about automatic cast of integer to binary string
        ChangeLog
      client/mysqlbinlog.cc:
        Portability fix
      client/mysqldump.c:
        Increased max possible max_allowed_packet to 1G
      include/Makefile.am:
        Removed sslopt-usage.h
        Made sslopt-case.h global
      include/my_sys.h:
        Fixd protypes for my_strdup_with_length()
      mysys/safemalloc.c:
        Fixd some prototypes
      sql/ha_isam.cc:
        Don't do external locking on temporary tables
      sql/ha_myisam.cc:
        Don't do external locking on temporary tables
      sql/lock.cc:
        Added big description of how LOCK TABLES affects locking
      sql/log_event.cc:
        cleanup
      sql/mysqld.cc:
        Increased max possible max_allowed_packet to 1G
      sql/sql_table.cc:
        Fixed portability problem
      4e50f236
  28. 18 Sep, 2002 1 commit
    • unknown's avatar
      Added code to flush a bulk_insert index. · 202679d4
      unknown authored
      This fixes a bug when doing multi-row inserts on table with an auto_increment key that is not in the first key segment.
      
      
      Docs/manual.texi:
        Changelog
      include/my_base.h:
        Added code to flush a bulk_insert index
      myisam/mi_extra.c:
        Added code to flush a bulk_insert index
      mysql-test/r/insert.result:
        test of auto_increment and bulk_insert
      mysql-test/t/insert.test:
        test of auto_increment and bulk_insert
      sql/ha_myisam.cc:
        Added code to flush a bulk_insert index
      sql/sql_insert.cc:
        Mark that bulk_insert is used
      sql/sql_load.cc:
        Mark that bulk_insert is used
        Remove duplicated call to initialize bulk insert
      sql/table.h:
        Mark that bulk_insert is used
      vio/viosslfactories.c:
        Remove compiler warning
      202679d4
  29. 31 Aug, 2002 2 commits
  30. 23 Jul, 2002 1 commit
    • unknown's avatar
      New SET syntax & system variables. · 728cc2e2
      unknown authored
      Made a some new buffers thread specific and changeable.
      Resize of key_buffer.
      AUTO_COMMIT -> AUTOCOMMIT
      Fixed mutex bug in DROP DATABASE
      Fixed bug when using auto_increment as second part of a key where first part could include NULL.
      Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
      Don't write message to error log when slave reconnects becasue of timeout.
      Fixed possible update problem when using DELETE/UPDATE on small tables
      (In some cases we used index even if table scanning would be better)
      A lot of minior code cleanups
      
      
      BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
        Delete: libmysql/net.c
      BitKeeper/etc/ignore:
        added libmysql/net.c
      Docs/manual.texi:
        New SET syntax & system variables.
      client/client_priv.h:
        moved order of include files
      client/mysql.cc:
        Removed compiler warning
      client/mysqladmin.c:
        Use new SHOW GLOBAL syntax (if server supports it)
      configure.in:
        version change
      include/Makefile.am:
        indentation cleanup
      include/my_getopt.h:
        Made some helper functions global
      include/my_sys.h:
        Removed not used code
      include/myisam.h:
        Added extra argument to ..._extra()
      include/myisammrg.h:
        Added extra argument to ..._extra()
      include/mysql_com.h:
        changed NET to be able to support changeable system variables
      include/mysql_embed.h:
        Added MYSQL_SERVER_SUFFIX
      include/mysql_version.h.in:
        Added check of multiple including (needed for embedded library)
      include/mysqld_error.h:
        New error messages
      innobase/dict/dict0dict.c:
        Remove compiler warnings
      innobase/include/ut0mem.h:
        Remove compiler warnings
      innobase/include/ut0mem.ic:
        Remove compiler warnings
      isam/isamchk.c:
        new init_key_cache() arguments
      isam/isamlog.c:
        new init_key_cache() arguments
      isam/test2.c:
        new init_key_cache() arguments
      isam/test3.c:
        new init_key_cache() arguments
      libmysql/Makefile.am:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/Makefile.shared:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/libmysql.c:
        Changeable system variables
      libmysqld/Makefile.am:
        Added set_var.cc file
      libmysqld/embedded_priv.h:
        Changed order of include fiels
      libmysqld/lib_sql.cc:
        merge with mysqld.cc (for changeable variables)
      libmysqld/libmysqld.c:
        New changeable system variables
      myisam/mi_check.c:
        Added extra argument to ..._extra()
      myisam/mi_extra.c:
        Added extra argument to ..._extra()
      myisam/mi_open.c:
        Removed not used variable
      myisam/mi_test1.c:
        Changed call to init_key_cache
      myisam/mi_test2.c:
        Added extra argument to ..._extra()
      myisam/mi_test3.c:
        Added extra argument to ..._extra()
      myisam/mi_write.c:
        Add cache size argument to bulk-insert-init
      myisam/myisamchk.c:
        Use new key cache
      myisam/myisamdef.h:
        new mi_init_bulk_insert() arguments
      myisam/myisamlog.c:
        Added extra argument to ..._extra()
      myisam/myisampack.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_extra.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_rrnd.c:
        Added extra argument to ..._extra()
      mysql-test/r/insert_select.result:
        New changeable system variables
      mysql-test/r/key.result:
        Test of bug in auto_increment
      mysql-test/r/query_cache.result:
        New changeable system variables
      mysql-test/r/rpl000001.result:
        New changeable system variables
      mysql-test/r/rpl000016.result:
        New changeable system variables
      mysql-test/r/union.result:
        New changeable system variables
      mysql-test/r/user_var.result:
        New changeable system variables
      mysql-test/r/variables.result:
        New changeable system variables
      mysql-test/t/key.test:
        Test of bug in auto_increment
      mysql-test/t/query_cache.test:
        New changeable system variables
      mysql-test/t/rpl000001.test:
        New changeable system variables
      mysql-test/t/rpl000009.test:
        New changeable system variables
      mysql-test/t/rpl000016.test:
        New changeable system variables
      mysql-test/t/rpl_compat.test:
        New changeable system variables
      mysql-test/t/union.test:
        New changeable system variables
      mysql-test/t/user_var.test:
        New changeable system variables
      mysql-test/t/variables.test:
        New changeable system variables
      mysys/default.c:
        Bigger default memory allocation
      mysys/mf_iocache.c:
        Removed compiler warning
      mysys/mf_keycache.c:
        Made key cache resizable on the fly
        Removed not needed extra argument to init_key_cache()
      mysys/my_getopt.c:
        Made some helper functions global
      sql/Makefile.am:
        Aded set_var.cc
      sql/convert.cc:
        Comment cleanup
      sql/field.cc:
        new changeable system variables
      sql/filesort.cc:
        new changeable system variables
      sql/ha_berkeley.cc:
        AUTO_COMMIT -> AUTOCOMMIT
      sql/ha_innodb.cc:
        new changeable system variables
      sql/ha_myisam.cc:
        Added extra argument to ..._extra()
      sql/ha_myisam.h:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.cc:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.h:
        Added extra argument to ..._extra()
      sql/handler.cc:
        Added extra argument to ..._extra()
        Added resize of key cache
        Change ha_table_typelib for use with new system variables
      sql/handler.h:
        Added extra argument to ..._extra()
      sql/item.cc:
        new changeable system variables
      sql/item.h:
        Added better support of Item_uint
      sql/item_func.cc:
        Added support for SET @@[global | session] system_variable
      sql/item_strfunc.cc:
        new changeable system variables
      sql/key.cc:
        Fixed bug in auto_increment on second part keys
      sql/lex.h:
        Removed not needed keywords
      sql/log.cc:
        new changeable system variables
      sql/log_event.cc:
        new changeable system variables
      sql/log_event.h:
        Removed not needed var reference
      sql/mini_client.cc:
        new changeable system variables
        code cleanup
      sql/mini_client.h:
        Indentation cleanup
      sql/mysql_priv.h:
        Changed order of include files & variables to make file more readable
      sql/mysqld.cc:
        Changed order of variables to make file more readable.
        Support for changeable variables
        Rename of system variables
        Moved init_vars to set_var.cc
        Changed output of --help
      sql/net_pkg.cc:
        Added my_net_local_init() to make it possible to set different defaults for network connection depending if you are a client, embedded library or server.
      sql/net_serv.cc:
        new changeable system variables
        To support this, some global variables had to be move to the NET structure.
      sql/records.cc:
        new changeable system variables
        use extra_opt()
      sql/repl_failsafe.cc:
        new changeable system variables
        minior code cleanups
      sql/repl_failsafe.h:
        removed not needed external var reference
      sql/share/czech/errmsg.txt:
        new changeable system variables
      sql/share/danish/errmsg.txt:
        new changeable system variables
      sql/share/dutch/errmsg.txt:
        new changeable system variables
      sql/share/english/errmsg.txt:
        new changeable system variables
      sql/share/estonian/errmsg.txt:
        new changeable system variables
      sql/share/french/errmsg.txt:
        new changeable system variables
      sql/share/german/errmsg.txt:
        new changeable system variables
      sql/share/greek/errmsg.txt:
        new changeable system variables
      sql/share/hungarian/errmsg.txt:
        new changeable system variables
      sql/share/italian/errmsg.txt:
        new changeable system variables
      sql/share/japanese/errmsg.txt:
        new changeable system variables
      sql/share/korean/errmsg.txt:
        new changeable system variables
      sql/share/norwegian-ny/errmsg.txt:
        new changeable system variables
      sql/share/norwegian/errmsg.txt:
        new changeable system variables
      sql/share/polish/errmsg.txt:
        new changeable system variables
      sql/share/portuguese/errmsg.txt:
        new changeable system variables
      sql/share/romanian/errmsg.txt:
        new changeable system variables
      sql/share/russian/errmsg.txt:
        new changeable system variables
      sql/share/slovak/errmsg.txt:
        new changeable system variables
      sql/share/spanish/errmsg.txt:
        new changeable system variables
      sql/share/swedish/errmsg.txt:
        new changeable system variables
      sql/share/ukrainian/errmsg.txt:
        new changeable system variables
      sql/slave.cc:
        new changeable system variables
        Added some suppression of error messages
        Initialize current_thd for all slave threads.
      sql/sql_acl.cc:
        Added checking of arguments for SET PASSWORD (for new SET defintion)
      sql/sql_acl.h:
        new prototypes
      sql/sql_base.cc:
        new changeable system variables
      sql/sql_cache.cc:
        new changeable system variables
      sql/sql_cache.h:
        Renamed some arguments to make code more readable
      sql/sql_class.cc:
        new changeable system variables
      sql/sql_class.h:
        New changeable system variables
        Code cleanup
      sql/sql_db.cc:
        Fixed bug in DROP DATABASE
      sql/sql_delete.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_insert.cc:
        use extra_opt()
        Code cleanup
      sql/sql_lex.cc:
        Added support for SET @@[global | session] system_variable
      sql/sql_lex.h:
        Added support for SET @@[global | session] system_variable
      sql/sql_load.cc:
        Cleanup for embedded library
        Use extra_opt()
      sql/sql_parse.cc:
        Cleanup for embedded library
        New changeable system variables
      sql/sql_repl.cc:
        new changeable system variables
      sql/sql_repl.h:
        Fixed variable definitions
      sql/sql_select.cc:
        new changeable system variables
      sql/sql_show.cc:
        New changeable system variables
      sql/sql_table.cc:
        Fixed bug in DROP DATABASE
      sql/sql_union.cc:
        New changeable system variables
      sql/sql_update.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_yacc.yy:
        New changeable system variables
      sql/structs.h:
        Added typedef for SHOW_VAR
      sql/table.cc:
        Fixed bug in auto_increment on second part keys
      sql/uniques.cc:
        Comment fix
      sql/unireg.h:
        A
      728cc2e2
  31. 24 Jun, 2002 1 commit
    • unknown's avatar
      mi_check T_xxx options massaged. T_REP_PARALLEL added · 6f2f8a35
      unknown authored
      my_getopt-related style changes in myisamchk.c
      
      
      include/myisam.h:
        mi_check T_xxx options massaged. T_REP_PARALLEL added
      myisam/mi_check.c:
        mi_check T_xxx options massaged
      myisam/myisamchk.c:
        mi_check T_xxx options massaged
        my_long_option structure reformatted
        s/(argument && \*argument=='0')/(argument == disable_my_option)/
      sql/ha_myisam.cc:
        mi_check T_xxx options massaged
      6f2f8a35
  32. 18 Jun, 2002 1 commit
    • unknown's avatar
      Made keyread (key scanning) a key specific attribute. · 0ba080c8
      unknown authored
      This avoids using fulltext keys for table scanning.
      This also reverts Sinisa's original fix for this problem.
      
      
      Docs/manual.texi:
        Update of SQL_JOIN_MAX_SIZE information3602
      client/mysqldump.c:
        comment cleanup
      include/my_aes.h:
        General cleanup for new file
      include/rijndael.h:
        General cleanup for new file
      include/sha1.h:
        General cleanup for new file
      mysys/my_aes.c:
        General cleanup for new file
      mysys/rijndael.c:
        General cleanup for new file
      mysys/sha1.c:
        General cleanup for new file
      sql/ha_berkeley.h:
        Made keyread (key scanning) a key specific attribute.
      sql/ha_innodb.cc:
        Merge with 3.23.x
      sql/ha_innodb.h:
        Made keyread (key scanning) a key specific attribute.
      sql/ha_isam.cc:
        Moved things to table_flags()
      sql/ha_isam.h:
        Made keyread (key scanning) a key specific attribute.
      sql/ha_myisam.cc:
        Made keyread (key scanning) a key specific attribute.
      sql/ha_myisam.h:
        Made keyread (key scanning) a key specific attribute.
      sql/ha_myisam...
      0ba080c8
  33. 11 Jun, 2002 1 commit
    • unknown's avatar
      Big code cleanup/review before 4.0.2 release. · 595f3d5f
      unknown authored
      (All commit emails since 4.0.1 checked)
      This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
      
      
      BUILD/SETUP.sh:
        Added -DPEDANTIC_SAFEMALLOC as standard debug option
      Docs/manual.texi:
        Changes for new version.
      client/mysql.cc:
        Fixed default value for rehash
        cleanup
      client/mysqladmin.c:
        Cleanup
      client/mysqlbinlog.cc:
        cleanup
      client/mysqldump.c:
        Cleanup
      client/mysqlmanager-pwgen.c:
        Cleanup
      client/mysqlmanagerc.c:
        Cleanup
      client/mysqltest.c:
        Cleanup
      dbug/dbug.c:
        Cleanup
      extra/resolve_stack_dump.c:
        Cleanup & Simple optimizations
      include/ft_global.h:
        Cleanup
      include/my_alloc.h:
        Cleanup
      include/my_global.h:
        Cleanup
      include/my_sys.h:
        Cleanup
      include/myisam.h:
        Cleanup
      libmysql/libmysql.c:
        Cleanup
      libmysql/manager.c:
        Cleanup
      myisam/ft_boolean_search.c:
        Cleanup
      myisam/ft_dump.c:
        Change strcpy -> strmov
      myisam/ft_eval.c:
        Cleanup
      myisam/ft_nlq_search.c:
        Cleanup
      myisa...
      595f3d5f
  34. 12 Apr, 2002 1 commit
    • unknown's avatar
      Update for BTREE keys in HEAP tables · 0c2befcf
      unknown authored
      Split handler->option_flag() to handler->table_flags() and handler->index_flags()
      
      
      Docs/manual.texi:
        Updated standard binary options
      include/my_base.h:
        Update for BTREE keys in HEAP tables
      libmysql/net.c:
        merge with net_serv.cc
      mysql-test/r/func_misc.result:
        Update for new behaviour of inet_ntoa
      sql/field.cc:
        Update for BTREE keys in HEAP tables
      sql/field.h:
        Update for BTREE keys in HEAP tables
      sql/filesort.cc:
        Update for BTREE keys in HEAP tables
      sql/ha_berkeley.h:
        Update for BTREE keys in HEAP tables
      sql/ha_heap.h:
        Update for BTREE keys in HEAP tables
      sql/ha_innodb.h:
        Update for BTREE keys in HEAP tables
      sql/ha_isam.cc:
        Update for BTREE keys in HEAP tables
      sql/ha_isam.h:
        Update for BTREE keys in HEAP tables
      sql/ha_isammrg.h:
        Update for BTREE keys in HEAP tables
      sql/ha_myisam.cc:
        Update for BTREE keys in HEAP tables
      sql/ha_myisam.h:
        Update for BTREE keys in HEAP tables
      sql/ha_myisammrg.h:
        Update for BTREE keys in HEAP tables
      sql/handler.cc:
        Update for BTREE keys in HEAP tables
      sql/handler.h:
        Update for BTREE keys in HEAP tables
      sql/log.cc:
        Update for BTREE keys in HEAP tables
      sql/net_serv.cc:
        Update for BTREE keys in HEAP tables
      sql/opt_range.cc:
        Update for BTREE keys in HEAP tables
      sql/opt_sum.cc:
        Update for BTREE keys in HEAP tables
      sql/records.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_class.h:
        Update for BTREE keys in HEAP tables
      sql/sql_handler.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_insert.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_select.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_show.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_table.cc:
        Update for BTREE keys in HEAP tables
      sql/structs.h:
        Update for BTREE keys in HEAP tables
      sql/table.cc:
        Update for BTREE keys in HEAP tables
      sql/unireg.cc:
        Update for BTREE keys in HEAP tables
      0c2befcf
  35. 15 Mar, 2002 1 commit
  36. 13 Mar, 2002 1 commit
    • unknown's avatar
      mi_check flags cleanup · c1025105
      unknown authored
      CHECK/REPAIR syntax cleanup
      REPAIR ... USE_FRM syntax
      
      
      include/myisam.h:
        mi_check flags cleanup
      myisam/mi_check.c:
        mi_check flags cleanup
      myisam/myisamchk.c:
        mi_check flags cleanup
      mysql-test/r/check.result:
        CHECK/REPAIR syntax cleanup
      mysql-test/r/show_check.result:
        CHECK/REPAIR syntax cleanup
      mysql-test/t/check.test:
        CHECK/REPAIR syntax cleanup
      mysql-test/t/show_check.test:
        CHECK/REPAIR syntax cleanup
      sql/ha_myisam.cc:
        mi_check flags cleanup
      sql/handler.h:
        mi_check flags cleanup
      sql/lex.h:
        REPAIR ... USE_FRM syntax
      sql/slave.cc:
        mi_check flags cleanup
      c1025105
  37. 12 Mar, 2002 1 commit
    • unknown's avatar
      Added help for --local-infile · 06e26b19
      unknown authored
      Fix for bug on intel where (int32) 1 << 32 == 1, which gave problems when using 32 keys.
      Allow SET PASSWORD for anonymous user
      
      
      Docs/manual.texi:
        Changelog
      client/mysql.cc:
        Added help for --local-infile
      client/mysqlimport.c:
        Merge with 4.0.
        Patch for LOCAL INFILE handling
      configure.in:
        cleanup
      include/global.h:
        Fix for bug on intel where (int32) 1 << 32 == 1
      mysql-test/r/create.result:
        Test of CREATE TABLE with 32 keys
      mysql-test/t/create.test:
        Test of CREATE TABLE with 32 keys
      scripts/mysqlhotcopy.sh:
        Patch for databasenames with space.
      sql/ha_isam.cc:
        Fix for bug on intel where (int32) 1 << 32 == 1
      sql/ha_myisam.cc:
        Fix for bug on intel where (int32) 1 << 32 == 1
      sql/ha_myisammrg.cc:
        Fix for bug on intel where (int32) 1 << 32 == 1
      sql/mysqld.cc:
        Added help for --local-infile
      sql/sql_acl.cc:
        Allow SET PASSWORD of anonymous user
      sql/table.cc:
        Fix for bug on intel where (int32) 1 << 32 == 1
      06e26b19
  38. 12 Jan, 2002 1 commit
    • unknown's avatar
      Added support of null keys in HEAP tables · 2c2d3185
      unknown authored
      Added ORDER BY optimization
      
      
      Docs/manual.texi:
        Added ORDER BY optimisation section
      heap/_check.c:
        Cleanup
      heap/heapdef.h:
        Added support of null keys in HEAP tables
      heap/hp_hash.c:
        Added support of null keys in HEAP tables
      heap/hp_open.c:
        Added support of null keys in HEAP tables
      heap/hp_test2.c:
        Added support of null keys in HEAP tables
      heap/hp_write.c:
        Added support of null keys in HEAP tables
      include/heap.h:
        Added support of null keys in HEAP tables
      include/my_base.h:
        Support for hash algoritm
      isam/static.c:
        Cleanup
      myisam/mi_static.c:
        Cleanup
      sql/Makefile.am:
        Rename innobase -> innodb
      sql/ha_berkeley.cc:
        Added ORDER BY optimization
      sql/ha_berkeley.h:
        Added ORDER BY optimization
      sql/ha_heap.cc:
        Added support for NULL keys
      sql/ha_heap.h:
        Added support for NULL keys
      sql/ha_isam.cc:
        Added ORDER BY optimization
      sql/ha_isam.h:
        Added ORDER BY optimization
      sql/ha_isammrg.h:
        Added ORDER BY optimization
      sql/ha_myisam.cc:
        Added ORDER BY optimization
      sql/ha_myisam.h:
        Added ORDER BY optimization
      sql/ha_myisammrg.cc:
        Added ORDER BY optimization
      sql/ha_myisammrg.h:
        Added ORDER BY optimization
      sql/handler.cc:
        Rename innobase -> innodb
      sql/handler.h:
        Rename innobase -> innodb
      sql/ha_innodb.cc:
        Rename innobase -> innodb
      sql/ha_innodb.h:
        Rename innobase -> innodb
      sql/mysqld.cc:
        Rename innobase -> innodb
      sql/sql_delete.cc:
        Rename innobase -> innodb
      sql/sql_select.cc:
        Added ORDER BY optimization
      sql/sql_select.h:
        Added ORDER BY optimization
      2c2d3185