1. 07 Mar, 2005 1 commit
  2. 04 Mar, 2005 1 commit
  3. 14 Oct, 2004 1 commit
    • unknown's avatar
      true,false -> TRUE, FALSE · b76f5cd2
      unknown authored
      Simple fixes/optimization of things discovered during review of new pushed code
      
      
      include/my_sys.h:
        Ensure that clear_alloc_root() interacts correctly with alloc_root_inited()
      mysys/hash.c:
        More comments
        Simple optimization (merge identical code)
      mysys/my_bitmap.c:
        Change inline -> static inline
      sql/examples/ha_archive.cc:
        Fixed compiler warning
      sql/ha_ndbcluster.cc:
        true,false -> TRUE, FALSE
        Change if (false) -> #ifdef NOT_USED
      sql/ha_ndbcluster.h:
        true,false -> TRUE, FALSE
      sql/handler.cc:
        More comments
        Remove not needed initializations.
        #ifdef not used code
      sql/item_cmpfunc.h:
        true,false -> TRUE, FALSE
      sql/item_strfunc.cc:
        Move local variables to function beginning
        Remove wrong comments
      sql/log_event.h:
        true,false -> TRUE, FALSE
      sql/sql_base.cc:
        true,false -> TRUE, FALSE
        More comments
      sql/sql_help.cc:
        true,false -> TRUE, FALSE
      sql/sql_lex.cc:
        Simple optimization of new code
      sql/sql_parse.cc:
        true,false -> TRUE, FALSE
      sql/sql_prepare.cc:
        true,false -> TRUE, FALSE
      sql/sql_table.cc:
        true,false -> TRUE, FALSE
      sql/sql_yacc.yy:
        true,false -> TRUE, FALSE
      b76f5cd2
  4. 10 Jun, 2004 1 commit
    • unknown's avatar
      assert.h needed for my_dbug.h now is included in my_dbug.h, where it for · 22bc1bb8
      unknown authored
      some reason wasn't included before.
      A lot of files cleaned up from #include <assert.h>
      
      
      client/mysqlbinlog.cc:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      client/mysqldump.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      heap/hp_hash.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      include/m_string.h:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      include/my_dbug.h:
        include assert.h needed for DBUG_ASSERT
      libmysql/libmysql.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      myisam/ftdefs.h:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      myisam/mi_delete.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      myisam/mi_dynrec.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      myisam/mi_key.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      myisam/mi_open.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      myisam/mi_search.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      myisam/mi_write.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      mysys/mf_iocache.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      mysys/mf_iocache2.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      mysys/mf_keycache.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      mysys/my_bitmap.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      mysys/my_gethostbyname.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      mysys/my_getopt.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      mysys/my_pthread.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      mysys/my_seek.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      mysys/rijndael.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      mysys/thr_alarm.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      sql-common/client.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      sql/mysql_priv.h:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      sql/sql_string.cc:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      strings/ctype-simple.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      strings/ctype-ucs2.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      strings/my_vsnprintf.c:
        assert.h needed for my_dbug.h now is included in
        my_dbug.h, where it for some reason wasn't included before.
      22bc1bb8
  5. 16 May, 2004 1 commit
    • unknown's avatar
      key_cmp -> key_cmp_if_same · 79ad5506
      unknown authored
      New records_in_range() interface (similar to read_range())
      Macros for faster bitmap handling
      Simplify read_range() code (#WL1786)
      New general key_cmp() function to compare keys
      
      
      
      
      heap/hp_hash.c:
        New records_in_range() interface
      include/heap.h:
        New records_in_range() interface
      include/my_base.h:
        Moved 'key_range' here so that all table handlers can use it
      include/my_bitmap.h:
        Make some bitmap functions inline for faster usage in one thread
      include/myisam.h:
        New records_in_range() interface
      include/myisammrg.h:
        New records_in_range() interface
      myisam/mi_range.c:
        New records_in_range() interface
      myisam/mi_test2.c:
        New records_in_range() interface
      myisam/rt_test.c:
        New records_in_range() interface
        Indentation fixes
      myisam/sp_test.c:
        New records_in_range() interface
        Indentation fixes
      myisammrg/myrg_range.c:
        New records_in_range() interface
      mysys/my_bitmap.c:
        Make some bitmap functions inline for faster usage in one thread
      sql/examples/ha_example.cc:
        New...
      79ad5506
  6. 18 Nov, 2003 1 commit
    • unknown's avatar
      CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS · 1b739e39
      unknown authored
      New multi-key-cache handling. This was needed becasue the old one didn't work reliable with MERGE tables.
      ALTER TABLE table_name ... CHARACTER SET  ... now changes all char/varchar/text columns to the given character set
      (One must use ALTER TABLE ... DEFAULT CHARACTER SET ... to change the default character set)
      Fixed that have_compress is detected properly (fixes problems with func_compress.test on platforms without zlib)
      New syntax for CACHE INDEX ('keys' is optional if no index name is given and one mentions the key cache name only ones)
      Removed compiler warnings
      Added mysql_set_server_option() to allow clients like PHP to easaily set/reset the multi-statement flag.
      
      
      BUILD/compile-pentium-valgrind-max:
        Add test of isam
      client/mysql.cc:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
      include/my_base.h:
        Remove HA_EXTRA_SET_KEY_CACHE
      include/my_no_pthread.h:
        Add defines to ignore rw-locks when running without threads
      include/my_sys.h:
        Added functio...
      1b739e39
  7. 03 Nov, 2003 1 commit
  8. 30 Oct, 2003 2 commits
  9. 24 Oct, 2003 1 commit
  10. 11 Oct, 2003 1 commit
    • unknown's avatar
      key_map with more that 64 bits width · 373f3516
      unknown authored
      sql/field.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/ha_berkeley.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/ha_berkeley.h:
        typedef Bitmap<64> key_map
        all tests pass
      sql/item.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/item_func.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/opt_sum.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/sql_delete.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/sql_show.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/sql_test.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/sql_update.cc:
        typedef Bitmap<64> key_map
        all tests pass
      include/my_bitmap.h:
        more bitmap methods
      mysys/my_bitmap.c:
        more bitmap methods
      sql/field.h:
        init bitmaps
      sql/ha_innodb.h:
        optimization
      sql/ha_isam.cc:
        optimization
      sql/ha_myisam.cc:
        optimization
      sql/ha_myisammrg.cc:
        optimization
      sql/handler.h:
        optimization
      sql/mysqld.cc:
        bitmap_init() interface changed
      sql/opt_range.cc:
        optimization
      sql/opt_range.h:
        optimization
      sql/slave.cc:
        bitmap_init() interface changed
      sql/sql_base.cc:
        optimization
      sql/sql_select.cc:
        init bitmaps
        using const for bitmaps whenever possible
      sql/sql_select.h:
        cleanup
      sql/table.cc:
        always init bitmaps
      BitKeeper/etc/ignore:
        Added sql/udf_example.so to the ignore list
      sql/mysql_priv.h:
        use Bitmap over ulonglong by default
      373f3516
  11. 30 Dec, 2001 1 commit
  12. 21 Dec, 2001 1 commit
    • unknown's avatar
      Cleanup of alarm macros. · 74ed670c
      unknown authored
      Fixed data corruption bug in query cache.
      Made queries be dependent of the database in use.
      
      
      Docs/manual.texi:
        Update binary log reference
      client/mysql.cc:
        Removed warning
      include/thr_alarm.h:
        Cleanup of alarm macros.
      libmysql/libmysql.c:
        Portabiliy fix
      libmysql/net.c:
        Cleanup of alarm macros.
      mysql-test/t/rpl_get_lock.test:
        Fixed results after merge.
      mysys/my_bitmap.c:
        Removed warning.
      sql/log_event.cc:
        Use thd->db_length
      sql/mini_client.cc:
        Cleanup of alarm macros.
      sql/net_serv.cc:
        Cleanup of alarm macros.
      sql/sql_acl.cc:
        Use thd->db_length
      sql/sql_cache.cc:
        Store used database together with the query.
      sql/sql_class.cc:
        Use thd->db_length
      sql/sql_class.h:
        Use thd->db_length
      sql/sql_db.cc:
        Use thd->db_length
      sql/sql_parse.cc:
        Use thd->db_length
      sql/sql_udf.cc:
        Use thd->db_length
      74ed670c
  13. 14 Dec, 2001 1 commit
    • unknown's avatar
      misc cleanup · a6090e3c
      unknown authored
      Docs/manual.texi:
        fixed bad merge
      include/my_bitmap.h:
        fixed comment format
      mysql-test/r/rpl_get_lock.result:
        make the test results predicable
      mysql-test/t/rpl_get_lock.test:
        predicatable test results
      mysys/my_bitmap.c:
        do not init/destroy mutex if bitmap is not declared thread safe
      sql/slave.cc:
        clean-up suggested by Monty to make init_slave_skip_errors() more compact
      a6090e3c
  14. 13 Dec, 2001 1 commit
    • unknown's avatar
      slave-skip-errors · 9cbc19c8
      unknown authored
      added extra/mysql_install.c - will work on it in 4.0, but it does not hurt
      to have it sit in 3.23 tree for now since it will eventually be backported 
      to 3.23 anyway 
      
      
      Docs/manual.texi:
        documented slave-skip-errors
        updated change history
      extra/resolve_stack_dump.c:
        fixed wrong help message
      include/my_bitmap.h:
        bitmap code updates
      mysql-test/r/rpl_get_lock.result:
        test for a possible bug in release_lock() replication
      mysql-test/t/rpl_get_lock.test:
        test for possible bug in release_lock replication
      mysys/my_bitmap.c:
        bitmap code updates/clean-up
      sql/mysqld.cc:
        slave-skip-errors
      sql/slave.cc:
        slave-skip-errors
      sql/slave.h:
        slave skip errors
      9cbc19c8
  15. 06 Dec, 2001 1 commit
    • unknown's avatar
      Update copyright · 2306379e
      unknown authored
      Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
      
      
      client/client_priv.h:
        Update copyright
      client/completion_hash.cc:
        Update copyright
      client/completion_hash.h:
        Update copyright
      client/connect_test.c:
        Update copyright
      client/errmsg.c:
        Update copyright
      client/get_password.c:
        Update copyright
      client/insert_test.c:
        Update copyright
      client/list_test.c:
        Update copyright
      client/my_readline.h:
        Update copyright
      client/mysql.cc:
        Update copyright
      client/mysqladmin.c:
        Update copyright
      client/mysqlbinlog.cc:
        Update copyright
      client/mysqlcheck.c:
        Update copyright
      client/mysqldump.c:
        Update copyright
      client/mysqlimport.c:
        Update copyright
      client/mysqlmanager-pwgen.c:
        Update copyright
      client/mysqlmanagerc.c:
        Update copyright
      client/mysqlshow.c:
        Update copyright
      client/mysqltest.c:
        Update copyright
      client/password.c:
        Update copyright
      client/readline.cc:
        Update copyright
      client/select_test.c:
        Update copyright
      client/showdb_test.c:
        Update cop...
      2306379e
  16. 28 Nov, 2001 1 commit
    • unknown's avatar
      New improved IO_CACHE · 2dd0cda7
      unknown authored
      include/my_global.h:
        Remove dbug_assert()  (One should use DBUG_ASSERT() instead)
      mysql-test/mysql-test-run.sh:
        Fixed that xterm works on Solaris 2.8.
        Fixed printing of errors
      mysql-test/r/isam.result:
        Removed MyISAM test from ISAM test
      mysql-test/t/isam.test:
        Removed MyISAM test from ISAM test
      mysys/my_alloc.c:
        Removed warnings
      mysys/my_bitmap.c:
        Use DBUG_ASSERT
      mysys/my_pthread.c:
        Use DBUG_ASSERT
      mysys/my_seek.c:
        More DBUG
      sql/ha_berkeley.cc:
        Use DBUG_ASSERT
      sql/ha_innobase.cc:
        Use DBUG_ASSERT
      sql/log.cc:
        Use DBUG_ASSERT
      sql/opt_range.cc:
        Use DBUG_ASSERT
      sql/sql_base.cc:
        Use DBUG_ASSERT
      sql/sql_handler.cc:
        Use DBUG_ASSERT
      sql/sql_load.cc:
        Cleanup
      sql/sql_parse.cc:
        Use DBUG_ASSERT
      sql/sql_repl.cc:
        Cleanup
      sql/sql_select.cc:
        Use DBUG_ASSERT
      tools/mysqlmanager.c:
        Cleanup
      2dd0cda7
  17. 24 Mar, 2001 1 commit
    • unknown's avatar
      Added defines for fast mutex in glibc 2.2 (should be safe) · 06828d17
      unknown authored
      Fixed crash in SELECT DISTINCT SUM(...)
      Fix return value of mysortncmp() for innobase
      Fix join_crash bug
      
      
      Docs/manual.texi:
        Changelog
      include/my_pthread.h:
        Added defines for fast mutex in glibc 2.2
      mysql-test/t/join_crash.test:
        Changed table names to t1,t2...
      mysys/my_bitmap.c:
        Use fast mutex
      mysys/my_open.c:
        Use fast mutex
      mysys/my_pthread.c:
        Use fast mutex
      mysys/my_thr_init.c:
        Use fast mutex
      mysys/my_winthread.c:
        Use fast mutex
      mysys/thr_mutex.c:
        Use new mutexattr with error checking
      sql/ha_innobase.cc:
        Fix return value of mysortncmp() for innobase
      sql/sql_select.cc:
        Fix join_crash bug
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      06828d17
  18. 09 Feb, 2001 1 commit
  19. 07 Feb, 2001 2 commits
    • unknown's avatar
      Force sockets to be blocking on HPUX 11.0 · b6285083
      unknown authored
      Changed BITMAP to MY_BITMAP to avoid type conflict on windows
      
      
      configure.in:
        Force sockets to be blocking on HPUX 11.0
      include/my_bitmap.h:
        Changed BITMAP to MY_BITMAP to avoid type conflict on windows
      mysys/my_bitmap.c:
        Changed BITMAP to MY_BITMAP to avoid type conflict on windows
      mysys/my_init.c:
        Removed LOCK_bitmap
      sql/mysql_priv.h:
        Changed BITMAP to MY_BITMAP to avoid type conflict on windows
      sql/mysqld.cc:
        Changed BITMAP to MY_BITMAP to avoid type conflict on windows
      sql/violite.c:
        Force sockets to be blocking on HPUX 11.0
      b6285083
    • unknown's avatar
      Use new bitmap interface · a4b4d1e6
      unknown authored
      Patches for Armstrong
      Removed warnings when using REPAIR TABLE .. EXTENDED
      
      
      Docs/manual.texi:
        Changelog
      configure.in:
        Added missing -lsocket library on SCO
      include/global.h:
        Patch for Armstrong
      include/my_bitmap.h:
        Changed bitmap interface to avoid problem with missing LOCK_bitmap symbol
      include/myisampack.h:
        Portability fix for Armstrong
      mysql-test/t/select.test:
        Changed to work with 'mysql test < select.tst'
      mysys/my_bitmap.c:
        Changed bitmap interface to avoid problem with missing LOCK_bitmap symbol
      mysys/my_init.c:
        Removed LOCK_bitmap
      sql/field.cc:
        Patch for Armstrong
      sql/filesort.cc:
        Patch for Armstrong
      sql/ha_myisam.cc:
        Removed warnings when using REPAIR TABLE .. EXTENDED
      sql/mysql_priv.h:
        Use new bitmap interface
      sql/mysqld.cc:
        Use new bitmap interface
      sql/sql_select.cc:
        Use new bitmap interface
      a4b4d1e6
  20. 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
  21. 27 Jan, 2001 1 commit
    • unknown's avatar
      Added --temp-pool option to mysqld. This will cause temporary files · 6f154546
      unknown authored
      created to use a small set of filenames, to try and avoid problems
      in the Linux kernel.
      
      
      mysys/Makefile.am:
        Added my_bitmap.c
      mysys/my_init.c:
        my_bitmap code added
      mysys/mysys_priv.h:
        my_bitmap
      sql/mysql_priv.h:
        temp pool stuff.
      sql/mysqld.cc:
        --temp-pool option added
      sql/sql_select.cc:
        temp pool stuff
      sql/table.h:
        temp pool
      6f154546