1. 25 Mar, 2001 3 commits
    • unknown's avatar
      Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro · 7f25c8c0
      unknown authored
      (For glibc 2.2)
      
      
      client/thread_test.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      dbug/dbug.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      heap/hp_open.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      isam/open.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      myisam/mi_open.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      mysys/thr_alarm.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      mysys/thr_lock.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      mysys/thr_rwlock.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/ha_berkeley.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/ha_innobase.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/hash_filo.h:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/hostname.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/item_func.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/log.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/mysqld.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/slave.h:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/sql_class.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/sql_class.h:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/sql_insert.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/sql_udf.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      7f25c8c0
    • unknown's avatar
      Updating changelog · bc068632
      unknown authored
      
      Docs/manual.texi:
        Changelog
      sql/gen_lex_hash.cc:
        Better hash values
      bc068632
    • unknown's avatar
      sql/mysqld.cc · 3288ca7e
      unknown authored
          fixed concurrency bug with a very quickly disconnecting client -
          the client could disconnect and delete thd before pthread_create 
          could write to &thd->real_id 
      sql/sql_list.h
          while tracking down the bug, made new/delete go through my_malloc/my_free
          for ilink - did not help, but this is better anyway - cleaner exit with a message in
          out of memory codition at least.
      
      
      sql/mysqld.cc:
        fixed concurrency bug with a very quickly disconnecting client -
        the client could disconnect and delete thd before pthread_create 
        could write to &thd->real_id
      sql/sql_list.h:
        while tracking down the bug, made new/delete go through my_malloc/my_free
        for ilink - did not help, but this is better anyway - cleaner exit with a message in
        out of memory codition at least.
      3288ca7e
  2. 24 Mar, 2001 7 commits
    • unknown's avatar
      Fixed bug in send in mysqltest · aa20d16f
      unknown authored
      Removed usage of @r/result as this made life hard when testing different
      table handlers.
      Allow concurrent inserts if no update/binary log.
      Don't remove key_cache at flush tables.
      Fixed bug in SELECT DISTINCT SUM()...
      
      
      BitKeeper/deleted/.del-rpl000012.status.result~bbbd650b5beea32f:
        Delete: mysql-test/r/rpl000012.status.result
      BitKeeper/deleted/.del-rpl000013.status.result~6bee190c298cc9fd:
        Delete: mysql-test/r/rpl000013.status.result
      Docs/manual.texi:
        Changelog
      client/mysqltest.c:
        Fixed bug in 'send' that Sasha had introduced.
        Make database, port and socket optional parameters to connect()
      mysql-test/r/rpl000005.result:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/r/rpl000006.result:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/r/rpl000012.result:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/r/rpl000013.result:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/r/sel000033.result:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/backup.test:
        Use default port and socket.
      mysql-test/t/dirty-close.test:
        Use default port and socket.
      mysql-test/t/flush.test:
        Use default port and socket.
      mysql-test/t/kill.test:
        Use default port and socket.
      mysql-test/t/overflow.test:
        Use default port and socket.
      mysql-test/t/rpl000003.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/rpl000005.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/rpl000006.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/rpl000007.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/rpl000008.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/rpl000009.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/rpl000010.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/rpl000011.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/rpl000012.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/rpl000013.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/sel000001.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/sel000002.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/sel000003.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/sel000031.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/sel000032.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/sel000033.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/sel000100.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/shw000001.test:
        Removed usage of @r/result as this made life hard when doing
        test for multiple table handlers.
      mysql-test/t/status.test:
        Use default port and socket.
      sql/gen_lex_hash.cc:
        Smaller hash table
      sql/mysql_priv.h:
        Allow concurrent inserts if no update/binary log
      sql/mysqld.cc:
        Allow concurrent inserts if no update/binary log
        Don't remove key_cache at flush tables
      sql/sql_base.cc:
        Don't remove key_cache at flush tables
      sql/sql_select.cc:
        Fix bug in SELECT DISTINCT SUM().
      sql/sql_yacc.yy:
        Allow concurrent inserts if no update/binary log
      tests/export.pl:
        C
      aa20d16f
    • unknown's avatar
      Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql · 4c55cb28
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Docs/manual.texi:
        Auto merged
      4c55cb28
    • 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
    • unknown's avatar
      Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql · 87d7b539
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Docs/manual.texi:
        Auto merged
      87d7b539
    • unknown's avatar
      added test case for the nasty join query crash · ba7b0717
      unknown authored
      
      sql/sql_table.cc:
        fixed typo in comment
      ba7b0717
    • unknown's avatar
      Merge work:/home/bk/mysql · fd16450d
      unknown authored
      into mysql.sashanet.com:/home/sasha/src/bk/mysql
      
      fd16450d
    • unknown's avatar
      fixes to get flush test to work only to discover another bug in flush · 1f9c012e
      unknown authored
      tables - read comments below
      
      
      client/mysqltest.c:
        fixed bug in send/reap 
        added comments explaining how things work 
        to remove from Monty the temptation to "clean up" my code
        use a separate pointer for the test line buffer from the query itself - in the
        case of send they are not the same
        added memory clean-up for register variables
      mysql-test/mysql-test-run.sh:
        added --skip-* option - you can now skip anything you want, good thing
        to skip is bdb and innobase if you are running only one test to speed
        up server startup
      mysql-test/t/flush.test:
        fixed up flush test after fixing send/reap bug - now found a new bug
        with flush - I get 1034 incorrect key file error on this - will 
        investigate why, but thought I'd commit the test case first
        
        Another case to support Sinisa's assertion that FLUSH TABLES is dangerous
        and should be avoided :-)
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      1f9c012e
  3. 23 Mar, 2001 7 commits
    • unknown's avatar
      manual.texi Fix up. · 3ec80b5e
      unknown authored
      
      Docs/manual.texi:
        Fix up.
      3ec80b5e
    • unknown's avatar
      manual.texi One more mirror. · feb0174b
      unknown authored
      
      Docs/manual.texi:
        One more mirror.
      feb0174b
    • unknown's avatar
      manual.texi Mirror listing maintenance. · 07c962b3
      unknown authored
      
      Docs/manual.texi:
        Mirror listing maintenance.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      07c962b3
    • unknown's avatar
      Fixed bug with FLUSH TABLES when using temporary tables · b9b96ebd
      unknown authored
      
      Docs/manual.texi:
        Fixed typos
      b9b96ebd
    • unknown's avatar
      Merge work:/my/mysql into tik.mysql.fi:/home/my/mysql · beb04833
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      beb04833
    • 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
    • unknown's avatar
      fixed bug on re-open of temp tables after FLUSH in the middle of open · 210c51fc
      unknown authored
      added flush test case, but had to comment the fun part out because it
      does not work for some reason - will investigate why. 
      
      
      sql/sql_base.cc:
        fixed bugs on re-open of temp tables after FLUSH in the middle of open
      210c51fc
  4. 22 Mar, 2001 2 commits
    • unknown's avatar
      Changes to make it compile again · 390520c1
      unknown authored
      
      acinclude.m4:
        do not build Gemini by default
      configure.in:
        do MYSQL_CHECK_GEMINI - otherwise it does not compile
      BitKeeper/etc/ignore:
        Added BitKeeper/etc/level to the ignore list
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      390520c1
    • unknown's avatar
      acinclude.m4 Removed redundant Gemini check section · df257837
      unknown authored
      
      acinclude.m4:
        Removed redundant Gemini check section
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      df257837
  5. 21 Mar, 2001 3 commits
    • unknown's avatar
      Add support for Gemini table handler, Monty has checked and approved · d9fa73e2
      unknown authored
      Fix bug when read return error
      
      
      acconfig.h:
        Add Gemini to configure
      acinclude.m4:
        Add Gemini to configure
      include/my_base.h:
        Add error codes for tables handlers
      mysql-test/t/select.test:
        Force temporary tables to MyISAM
      sql-bench/server-cfg.sh:
        Allow Gemini to run sql-bench
      sql/Makefile.am:
        Add Gemini to configure
      sql/handler.cc:
        Add support for Gemini table handler
      sql/handler.h:
        Add support for Gemini table handler
      sql/lex.h:
        Add support for Gemini table handler
      sql/mysqld.cc:
        Add support for Gemini table handler
      sql/opt_range.cc:
        Fix bug when read return error
      sql/records.cc:
        Fix bug when read return error
      sql/sql_class.cc:
        Add support for Gemini table handler
      sql/sql_class.h:
        Add support for Gemini table handler
      sql/sql_lex.h:
        Add support for Gemini table handler
      sql/sql_rename.cc:
        Add commit for table rename
      sql/sql_table.cc:
        Add commit for table rename
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      d9fa73e2
    • 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
    • unknown's avatar
      bug with mysql_change_db() fixed · 24424453
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      24424453
  6. 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
  7. 16 Mar, 2001 5 commits
  8. 15 Mar, 2001 10 commits
  9. 14 Mar, 2001 2 commits