1. 31 May, 2006 2 commits
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0-bug19604 · 25917d6b
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-bug19604
      
      
      storage/myisam/mi_check.c:
        Auto merged
      storage/myisam/mi_key.c:
        Auto merged
      storage/myisam/mi_update.c:
        Auto merged
      storage/myisam/mi_write.c:
        Auto merged
      storage/myisam/myisamdef.h:
        Auto merged
      25917d6b
    • unknown's avatar
      Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment · 4a1d0763
      unknown authored
      CHECK TABLE did temporarily clear the auto_increment value.
      It runs with a read lock, allowing other readers and
      conurrent INSERTs. The latter could grab the wrong value
      in this moment.
      
      CHECK TABLE does no longer modify the auto_increment value.
      Not even for a short moment.
      
      
      myisam/mi_check.c:
        Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment
        In chk_key() and update_auto_increment_key() in the repair_only
        case, do not touch info->s->state.auto_increment. Especially
        chk_key() can be called from CHECK TABLE with a read lock.
        Concurrent inserts could grab a temporarily changed value.
        Added minor style fixes.
      myisam/mi_key.c:
        Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment
        Changed update_auto_increment() to retrieve_auto_increment()
        to reflect that it does not change the auto_increment by
        itself any more. This must now be done externally if needed.
      myisam/mi_update.c:
        Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment
        Added explicit update of info->s->state.auto_increment
        after the change from update_auto_increment() to
        retrieve_auto_increment().
      myisam/mi_write.c:
        Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment
        Added explicit update of info->s->state.auto_increment
        after the change from update_auto_increment() to
        retrieve_auto_increment().
      myisam/myisamdef.h:
        Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment
        Changed update_auto_increment() to retrieve_auto_increment()
        to reflect that it does not change the auto_increment by
        itself any more. This must now be done externally if needed.
      4a1d0763
  2. 29 May, 2006 2 commits
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0-bug19815 · e6ca5f19
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-bug19815
      
      
      mysql-test/r/lock_multi.result:
        Auto merged
      mysql-test/t/lock_multi.test:
        Auto merged
      sql/sql_db.cc:
        SCCS merged
      e6ca5f19
    • unknown's avatar
      Bug#19815 - CREATE/RENAME/DROP DATABASE can deadlock on a global read lock · 4f8407b6
      unknown authored
      The order of acquiring LOCK_mysql_create_db
      and wait_if_global_read_lock() was wrong. It could happen
      that a thread held LOCK_mysql_create_db while waiting for
      the global read lock to be released. The thread with the
      global read lock could try to administrate a database too.
      It would first try to lock LOCK_mysql_create_db and hang...
      
      The check if the current thread has the global read lock
      is done in wait_if_global_read_lock(), which could not be
      reached because of the hang in LOCK_mysql_create_db.
      
      Now I exchanged the order of acquiring LOCK_mysql_create_db
      and wait_if_global_read_lock(). This makes 
      wait_if_global_read_lock() fail with an error message for
      the thread with the global read lock. No deadlock happens.
      
      
      mysql-test/r/lock_multi.result:
        Bug#19815 - CREATE/RENAME/DROP DATABASE can deadlock on a global read lock
        The test result
      mysql-test/t/lock_multi.test:
        Bug#19815 - CREATE/RENAME/DROP DATABASE can deadlock on a global read lock
        The test case
      sql/sql_db.cc:
        Bug#19815 - CREATE/RENAME/DROP DATABASE can deadlock on a global read lock
        Exchanged the order of acquiring LOCK_mysql_create_db
        and wait_if_global_read_lock().
      4f8407b6
  3. 19 May, 2006 1 commit
    • unknown's avatar
      BUG#19907 - simple_parser plugin cannot be installed · fe7716da
      unknown authored
      The problem was that simple_parser was compiled as static plugin, which
      is intended to be linked into server, but not plugged.
      
      This patch makes simple_parser to be compiled as dynamic plugin by adding
      -DMYSQL_DYNAMIC_PLUGIN into CFLAGS.
      
      
      plugin/fulltext/Makefile.am:
        Compile mypluglib as dynamic mysql plugin.
      fe7716da
  4. 18 May, 2006 2 commits
  5. 12 May, 2006 10 commits
    • unknown's avatar
      fix results after merge · 7937b3e6
      unknown authored
      7937b3e6
    • unknown's avatar
      manual merge bug#10952 · 93c397f9
      unknown authored
      
      mysql-test/r/merge.result:
        Auto merged
      mysql-test/t/merge.test:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      93c397f9
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · a8c13c34
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      sql/sql_acl.cc:
        Auto merged
      a8c13c34
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 74e7b09c
      unknown authored
      into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/FIXES/5.1-bug19728_regex_win
      
      
      74e7b09c
    • unknown's avatar
      Bug#19728: Test mysqldump failure · e005a5b3
      unknown authored
      regex is fixed for windows.
      
      
      mysql-test/t/mysqldump.test:
        Windows' suffix is accounted.
      e005a5b3
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.1-md · e1827da7
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      e1827da7
    • unknown's avatar
      Rename cmakelists.txt -> CMakeLists.txt · e8a5d25b
      unknown authored
      e8a5d25b
    • unknown's avatar
      Fix after merge 5.0->5.1 · 144c7622
      unknown authored
      
      client/mysqlimport.c:
        Variable name changed mysql_connection -> mysql
      include/violite.h:
        Type changed st_VioSSLAcceptorFd-> sl_VioSSLFd
      vio/viosslfactories.c:
        Type changed st_VioSSLAcceptorFd-> sl_VioSSLFd
      144c7622
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/tmp/tmp_merge · 16d46c9c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      BitKeeper/deleted/.del-client-req.pem~efd482e1d290d4d8:
        Auto merged
      BitKeeper/deleted/.del-server-req.pem~16301893cacf1be4:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      client/mysqlimport.c:
        Auto merged
      BitKeeper/deleted/.del-Makefile.am~de166d6fcac3b9b6:
        Auto merged
      BitKeeper/deleted/.del-NOTES~e926d3e6929ac052:
        Auto merged
      client/mysqltest.c:
        Auto merged
      include/mysql.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/std_data/cacert.pem:
        Auto merged
      mysql-test/std_data/client-cert.pem:
        Auto merged
      mysql-test/std_data/client-key.pem:
        Auto merged
      mysql-test/std_data/server-cert.pem:
        Auto merged
      mysql-test/std_data/server-key.pem:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        Auto merged
      vio/vio.c:
        Auto merged
      client/client_priv.h:
        Merge 5.0 -> 5.1
      include/violite.h:
        Merge 5.0 -> 5.1
      mysql-test/Makefile.am:
        Merge 5.0 -> 5.1
      mysql-test/t/disabled.def:
        Merge 5.0 -> 5.1
      sql/mysqld.cc:
        Merge 5.0 -> 5.1
      vio/viossl.c:
        Merge 5.0 -> 5.1
      vio/viosslfactories.c:
        Merge 5.0 -> 5.1
      16d46c9c
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 0e33ad1f
      unknown authored
      into  mysql.com:/home/mysql-5.1-19509.19509
      
      
      0e33ad1f
  6. 11 May, 2006 18 commits
    • unknown's avatar
      removed handlerton-win.cc (again) · 77dedc31
      unknown authored
      
      BitKeeper/deleted/.del-handlerton-win.cc~322a7e59507976df:
        Delete: sql/handlerton-win.cc
      77dedc31
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-new · e7c70398
      unknown authored
      into  mysql.com:/home/mysql-5.1-19509
      
      
      e7c70398
    • unknown's avatar
      Merge linux.site:/home/reggie/work/mysql-5.1 · c58ca1a8
      unknown authored
      into  linux.site:/home/reggie/work/mysql-5.1-test
      
      
      c58ca1a8
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 06045451
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.1-merge6
      
      
      06045451
    • unknown's avatar
      Merge mysql.com:/home/psergey/tmp_merge3 · 9d64fc50
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.1-merge6
      
      
      configure.in:
        Auto merged
      9d64fc50
    • unknown's avatar
      Merge reggie@192.168.1.107:/home/reggie/work/mysql-5.1 · 1b2c75d4
      unknown authored
      into  big_geek.:C:/Work/mysql/mysql-5.1-test
      
      
      1b2c75d4
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/51/a · 816e07e8
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/51/a.bug6061
      
      
      816e07e8
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1-new · f6c4805f
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.1-merge6
      
      
      f6c4805f
    • unknown's avatar
      Merge mysql.com:/home/psergey/tmp_merge2 · c00a5644
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.1-merge6
      
      
      mysql-test/r/rpl_user_variables.result:
        Auto merged
      mysql-test/t/having.test:
        Auto merged
      mysql-test/t/rpl_user_variables.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      c00a5644
    • unknown's avatar
      Bug#19136: Manual 5.0->5.1 merge · 704a69eb
      unknown authored
      
      sql/item_func.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      704a69eb
    • unknown's avatar
      performing a set of bk mv on each CMakeLists.txt file to try and restore the... · 2dce7ff6
      unknown authored
      performing a set of bk mv on each CMakeLists.txt file to try and restore the mixed case filenames since this seems to be required with Cmake 2.4 beta 1.
      This is being pushed to a private tree and tested before being sent to the mainline.
      
      
      client/CMakeLists.txt:
        Rename: client/cmakelists.txt.tmp -> client/CMakeLists.txt
      libmysql/CMakeLists.txt:
        Rename: libmysql/cmakelists.txt.tmp -> libmysql/CMakeLists.txt
      libmysqld/CMakeLists.txt:
        Rename: libmysqld/cmakelists.txt.tmp -> libmysqld/CMakeLists.txt
      sql/CMakeLists.txt:
        Rename: sql/cmakelists.txt.tmp -> sql/CMakeLists.txt
      zlib/CMakeLists.txt:
        Rename: zlib/cmakelists.txt.tmp -> zlib/CMakeLists.txt
      extra/CMakeLists.txt:
        Rename: extra/cmakelists.txt.tmp -> extra/CMakeLists.txt
      tests/CMakeLists.txt:
        Rename: tests/cmakelists.txt.tmp -> tests/CMakeLists.txt
      extra/yassl/CMakeLists.txt:
        Rename: extra/yassl/cmakelists.txt.tmp -> extra/yassl/CMakeLists.txt
      extra/yassl/taocrypt/CMakeLists.txt:
        Rename: extra/yassl/taocrypt/cmakelists.txt.tmp -> extra/yassl/taocrypt/CMakeLists.txt
      storage/heap/CMakeLists.txt:
        Rename: storage/heap/cmakelists.txt.tmp -> storage/heap/CMakeLists.txt
      storage/myisam/CMakeLists.txt:
        Rename: storage/myisam/cmakelists.txt.tmp -> storage/myisam/CMakeLists.txt
      storage/myisammrg/CMakeLists.txt:
        Rename: storage/myisammrg/cmakelists.txt.tmp -> storage/myisammrg/CMakeLists.txt
      storage/csv/CMakeLists.txt:
        Rename: storage/csv/cmakelists.txt.tmp -> storage/csv/CMakeLists.txt
      storage/innobase/CMakeLists.txt:
        Rename: storage/innobase/cmakelists.txt.tmp -> storage/innobase/CMakeLists.txt
      server-tools/instance-manager/CMakeLists.txt:
        Rename: server-tools/instance-manager/cmakelists.txt.tmp -> server-tools/instance-manager/CMakeLists.txt
      libmysqld/examples/CMakeLists.txt:
        Rename: libmysqld/examples/cmakelists.txt.tmp -> libmysqld/examples/CMakeLists.txt
      vio/CMakeLists.txt:
        Rename: vio/cmakelists.txt.tmp -> vio/CMakeLists.txt
      dbug/CMakeLists.txt:
        Rename: dbug/cmakelists.txt.tmp -> dbug/CMakeLists.txt
      strings/CMakeLists.txt:
        Rename: strings/cmakelists.txt.tmp -> strings/CMakeLists.txt
      regex/CMakeLists.txt:
        Rename: regex/cmakelists.txt.tmp -> regex/CMakeLists.txt
      mysys/CMakeLists.txt:
        Rename: mysys/cmakelists.txt.tmp -> mysys/CMakeLists.txt
      storage/archive/CMakeLists.txt:
        Rename: storage/archive/cmakelists.txt.tmp -> storage/archive/CMakeLists.txt
      storage/bdb/CMakeLists.txt:
        Rename: storage/bdb/cmakelists.txt.tmp -> storage/bdb/CMakeLists.txt
      storage/blackhole/CMakeLists.txt:
        Rename: storage/blackhole/cmakelists.txt.tmp -> storage/blackhole/CMakeLists.txt
      storage/example/CMakeLists.txt:
        Rename: storage/example/cmakelists.txt.tmp -> storage/example/CMakeLists.txt
      CMakeLists.txt:
        Rename: cmakelists.txt.tmp -> CMakeLists.txt
      2dce7ff6
    • unknown's avatar
      bringing handlerton-win.cc back after incorrectly deleteing it. It is not... · a04f6024
      unknown authored
      bringing handlerton-win.cc back after incorrectly deleteing it.  It is not needed for 5.1 or later but is used by 5.0 
      
      
      sql/handlerton-win.cc:
        Rename: BitKeeper/deleted/.del-handlerton-win.cc~322a7e59507976df -> sql/handlerton-win.cc
      a04f6024
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1-new · ca42197d
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.1-merge5
      
      
      ca42197d
    • unknown's avatar
      Merge mysql.com:/home/psergey/tmp_merge · 75066a6a
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.1-merge5
      
      
      sql/sql_select.cc:
        Auto merged
      75066a6a
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · a8cabd18
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      
      a8cabd18
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-new · fb063522
      unknown authored
      into  mysql.com:/home/mysql-5.1-19509
      
      
      sql/sql_acl.cc:
        Auto merged
      fb063522
    • unknown's avatar
      Merge mysql.com:/home/tomash/src/mysql_ab/tmp_merge · 4db329fb
      unknown authored
      into  mysql.com:/home/tomash/src/mysql_ab/mysql-5.1-merge
      
      
      BitKeeper/deleted/.del-changelog-4.0.xml~8f56ee8a913e848b:
        Auto merged
      BitKeeper/deleted/.del-changelog-4.1.xml~8aa496ebed09d868:
        Auto merged
      mysql-test/r/func_misc.result:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_acl.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      4db329fb
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/51/a · a2fe772b
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/51/a.bug6061
      
      
      a2fe772b
  7. 10 May, 2006 5 commits
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 7c11c311
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      
      7c11c311
    • unknown's avatar
      rpl_log.test: · f82ae1c5
      unknown authored
        Remove comments not needed
      
      
      mysql-test/extra/rpl_tests/rpl_log.test:
        Remove comments not needed
      f82ae1c5
    • unknown's avatar
      rpl_log.test: · c4c0e1ed
      unknown authored
        Correct fix for test bug #19158
      
      
      mysql-test/extra/rpl_tests/rpl_log.test:
        Correct fix for test bug #19158
      c4c0e1ed
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/tmp/tmp_merge · bd484191
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      bd484191
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/tmp/tmp_merge · ad97a0d0
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      BitKeeper/deleted/.del-changelog-5.0.xml~f4c50926ccdd7434:
        Auto merged
      mysql-test/r/ndb_condition_pushdown.result:
        Auto merged
      mysql-test/t/ndb_condition_pushdown.test:
        Auto merged
      storage/ndb/include/ndbapi/NdbOperation.hpp:
        Auto merged
      storage/ndb/include/util/NdbSqlUtil.hpp:
        Auto merged
      storage/ndb/src/common/util/NdbSqlUtil.cpp:
        Auto merged
      ad97a0d0