1. 06 Aug, 2007 3 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint · a97875e5
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
      
      
      a97875e5
    • unknown's avatar
      Bug #29804 UDF parameters don't contain correct string length · ccb32a59
      unknown authored
      Previously, UDF *_init functions were passed constant strings with erroneous lengths.
      The length came from the containing variable's size, not the length of the value itself.
      
      Now the *_init functions get the constant as a null terminated string with the correct
      length supplied.
      
      
      mysql-test/r/udf.result:
        Test case to check constants passed UDFs.
      mysql-test/t/udf.test:
        Test case to check constants passed UDFs.
      sql/item_func.cc:
        UDF _init functions are now passed the length of the constants, rather than the max
        length of the var containing the constant.
      sql/udf_example.c:
        Added check_const_len functions. The check_const_len_init functions checks that the
        lengths of constants are correctly passed.
      ccb32a59
    • unknown's avatar
      Merge dkatz@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 8ab9412a
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/mysql51
      
      
      BitKeeper/deleted/.del-.del-README.txt:
        Delete: BitKeeper/deleted/.del-README.txt
      8ab9412a
  2. 04 Aug, 2007 1 commit
  3. 03 Aug, 2007 2 commits
    • unknown's avatar
      Bug#29903 The CMake build method does not produce the embedded library. · 21792097
      unknown authored
      - Additional changes to correct link failure in Do-linkall script.
      
      
      libmysqld/libmysqld.def:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Missing exports.
      21792097
    • unknown's avatar
      Bug#29903 The CMake build method does not produce the embedded library. · c6c57ed7
      unknown authored
      - Changes to correct and test Windows embedded build.
      
      
      BitKeeper/etc/ignore:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Ignore auto-generated Windows embedded resources.
      CMakeLists.txt:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Hardcode CSV for all configurations.
        - Add client directory for gen_lex_hash dependency.
      client/CMakeLists.txt:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Build the mysqlclient library and echo for the embedded solution.
      client/client_priv.h:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Defined new option.
      client/mysql.cc:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Add server-arg command line parameter
      libmysqld/CMakeLists.txt:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Added auto generated resources; sql_yacc.cc, sql_yacc.h, message.rc
        message.h and lex_hash.h.
        - Link csv library to libmsyqld.
      libmysqld/Makefile.am:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Include CMakeLists.txt in dist.
      libmysqld/examples/CMakeLists.txt:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Follow existing naming convention.
      libmysqld/examples/Makefile.am:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Include CMakeLists.txt in dist.
      mysql-test/mysql-test-run.pl:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Move embedded option block earlier in the script.
        - Added the path to the libmysqld.dll to Windows path.
      win/README:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Add instructions for building/testing the embedded library.
      c6c57ed7
  4. 02 Aug, 2007 21 commits
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/.deleted/mysql-5.1-new-maint--bug27894 · 39bbd983
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
      
      
      mysql-test/t/mysqlbinlog2.test:
        Auto merged
      mysys/mf_iocache2.c:
        manual merge
      39bbd983
    • unknown's avatar
      After-merge fix: result adjusted. · 6f88aa45
      unknown authored
      6f88aa45
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b30088/b30088.5.0 · 2a20aa7f
      unknown authored
      into  mysql.com:/home/ram/work/b30088/b30088.5.1
      
      
      sql/mysqld.cc:
        Auto merged
      mysql-test/t/show_check.test:
        SCCS merged
      2a20aa7f
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b30200/b30200.5.0 · 8b9e7c14
      unknown authored
      into  mysql.com:/home/ram/work/b30200/b30200.5.1
      
      
      sql/item_func.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/item_create.cc:
        manual merge.
      8b9e7c14
    • unknown's avatar
      Fix for bug #30200: mysqlbinlog.test: connection_id() not restored under ps-protocol · 898333f8
      unknown authored
      Problem: thd->thread_specific_used flag is not set executing a statement
      containig connection_id() function using PS protocol, that leads to 
      improper binlog event creation.
      
      Fix: set the flag in the Item_func_connection_id::fix_fields().
      
      
      sql/item_create.cc:
        Fix for bug #30200: mysqlbinlog.test: connection_id() not restored under ps-protocol
          - set the thd->thread_specific_used flag in the Item_func_connection_id::fix_fields()
            to have it properly set using PS protocol as well.
      sql/item_func.cc:
        Fix for bug #30200: mysqlbinlog.test: connection_id() not restored under ps-protocol
          - set the thd->thread_specific_used flag in the Item_func_connection_id::fix_fields()
            to have it properly set using PS protocol as well.
      sql/sql_parse.cc:
        Fix for bug #30200: mysqlbinlog.test: connection_id() not restored under ps-protocol
          - reset the thd->thread_specific_used flag in the mysql_reset_thd_for_next_command().
      898333f8
    • unknown's avatar
      Post-merge fix. Update some test results, and add an InnoDB-only · c7419deb
      unknown authored
      compatibility hook, thd_mark_transaction_to_rollback().
      
      
      mysql-test/r/ps.result:
        Post-merge fix.   Changes for WL 3984 (Revise locking
        of mysql.general_log and mysql.slow_log) cause some test
        result differences.
      mysql-test/r/show_check.result:
        Post-merge fix.   Changes for WL 3984 (Revise locking
        of mysql.general_log and mysql.slow_log) cause some test
        result differences.
      sql/sql_class.cc:
        Post-merge fix, add InnoDB compatibility hook (defined for
        InnoDB only), thd_mark_transaction_to_rollback().
      storage/innobase/handler/ha_innodb.cc:
        Post-merge fix, add InnoDB compatibility hook (defined for
        InnoDB only), thd_mark_transaction_to_rollback().
      storage/innobase/handler/ha_innodb.h:
        Post-merge fix, add InnoDB compatibility hook (defined for
        InnoDB only), thd_mark_transaction_to_rollback().
      c7419deb
    • unknown's avatar
      Merge 50 -> 51 (-opt changesets) · 48eb7f8c
      unknown authored
      
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_rcontext.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/include/read_many_rows.inc:
        Manual merge
      mysql-test/r/read_many_rows_innodb.result:
        Manual merge
      sql/sql_class.cc:
        Manual merge
      sql/sql_class.h:
        Manual merge
      storage/innobase/handler/ha_innodb.cc:
        Manual merge
      48eb7f8c
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/41 · d0738596
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      d0738596
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 15835a56
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      mysql-test/r/show_check.result:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      15835a56
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 90d62296
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      sql/handler.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      90d62296
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-4.1-opt · cbbc8bb3
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/41
      
      
      cbbc8bb3
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · 7756406f
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      configure.in:
        Auto merged
      7756406f
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/41 · 7b1f5425
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      7b1f5425
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-build · c2fa38b9
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~1:
        Auto merged
      CMakeLists.txt:
        Auto merged
      configure.in:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      c2fa38b9
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-build · 159da8b8
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      configure.in:
        Auto merged
      159da8b8
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-4.1-build · e399ae5a
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/41
      
      
      e399ae5a
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · 5161bc9e
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      mysql-test/r/federated.result:
        Auto merged
      mysql-test/t/federated.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      storage/federated/ha_federated.h:
        Auto merged
      mysql-test/include/mix1.inc:
        SCCS merged
      mysql-test/r/innodb_mysql.result:
        use local
      5161bc9e
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/41 · 9436e186
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      9436e186
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/51 · 4ea92b81
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      mysql-test/include/mix1.inc:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      4ea92b81
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/50 · 41ac5d83
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      mysql-test/r/federated.result:
        Auto merged
      mysql-test/t/federated.test:
        Auto merged
      sql/ha_federated.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Manual merge
      mysql-test/t/innodb_mysql.test:
        Manual merge
      41ac5d83
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/41 · e65f8f84
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/41
      
      
      e65f8f84
  5. 01 Aug, 2007 13 commits
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/51 · 2098f43a
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/jul31/51
      
      
      2098f43a
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · 6622bcdb
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      configure.in:
        Auto merged
      6622bcdb
    • unknown's avatar
      Remove some redundant or unused code from InnoDB (feedback from · 971050de
      unknown authored
      Marko after applying latest snapshot).
      
      
      storage/innobase/handler/ha_innodb.cc:
        Remove redundant assignment to thd_to_trx(thd); trx is
        declared as a reference to thd_to_trx(thd) at the top
        of the function, so this assignment isn't useful.
      storage/innobase/include/trx0trx.h:
        Remove two unused members from struct trx_struct.  allow_duplicates
        and replace_duplicates are not used; a single duplicates member is
        used instead to represent both flags.
      971050de
    • unknown's avatar
      Fix a valgrind warning. For some reason it never popped up before. · ccada6ff
      unknown authored
      
      sql/sql_class.cc:
        Fix a valgrind warning (row_count_func is used before it was initialized
        in SQLCOM_CALL)
      ccada6ff
    • unknown's avatar
      Merge trift2.:/MySQL/M51/funcs2-5.1 · a328234f
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      a328234f
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 1b04b4b1
      unknown authored
      into  mysql.com:/home/ram/work/b29928.new/b29928.new.5.0
      
      
      1b04b4b1
    • unknown's avatar
      After-merge fixup. · be4cfe50
      unknown authored
        - THD::tmp_table_used removed, THD::thread_specific_used used instead.
      
      
      be4cfe50
    • unknown's avatar
      Fix a bad BitKeeper dependency structure for the "funcs_2" suite: · fce3a8a3
      unknown authored
      The files below "mysql-test/suite/funcs_2" in version 5.1
      did not depend on the equivalent ones in 5.0,
      probably because they had been checked in independent of each other
      in both versions.
      
      Foreach file F in the suite that has a "deleted" counterpart D, use
          bk rm $F
          bk mv $D $F
          bk edit $F
      to get those files into the 5.1 suite that (for BK) depend on 5.0.
      
      There is only one file whose contents differs between 5.0 and 5.1,
      restore its current 5.1 contents:
         mysql-test/suite/funcs_2/r/ndb_charset.result
      
      
      BitKeeper/deleted/.del-charset_master.test~3ac6827798431a7:
        Delete: mysql-test/suite/funcs_2/charset/charset_master.test
      mysql-test/suite/funcs_2/charset/charset_master.test:
        Rename: BitKeeper/deleted/.del-charset_master.test -> mysql-test/suite/funcs_2/charset/charset_master.test
      BitKeeper/deleted/.del-charset_utf8.txt~c8409ddc3d216d4:
        Delete: mysql-test/suite/funcs_2/data/charset_utf8.txt
      BitKeeper/deleted/.del-check_charset.inc~1328722ebe51ab2b:
        Delete: mysql-test/suite/funcs_2/include/check_charset.inc
      mysql-test/suite/funcs_2/data/charset_utf8.txt:
        Rename: BitKeeper/deleted/.del-charset_utf8.txt -> mysql-test/suite/funcs_2/data/charset_utf8.txt
      mysql-test/suite/funcs_2/include/check_charset.inc:
        Rename: BitKeeper/deleted/.del-check_charset.inc -> mysql-test/suite/funcs_2/include/check_charset.inc
      BitKeeper/deleted/.del-check_charset_ucs2.inc~fbcdbb34f38ce9f1:
        Delete: mysql-test/suite/funcs_2/include/check_charset_ucs2.inc
      BitKeeper/deleted/.del-check_charset_utf8.inc~703a0b77d86f514e:
        Delete: mysql-test/suite/funcs_2/include/check_charset_utf8.inc
      BitKeeper/deleted/.del-gen_charset_utf8.pl~ff00332572f0f0b6:
        Delete: mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl
      mysql-test/suite/funcs_2/include/check_charset_ucs2.inc:
        Rename: BitKeeper/deleted/.del-check_charset_ucs2.inc -> mysql-test/suite/funcs_2/include/check_charset_ucs2.inc
      mysql-test/suite/funcs_2/include/check_charset_utf8.inc:
        Rename: BitKeeper/deleted/.del-check_charset_utf8.inc -> mysql-test/suite/funcs_2/include/check_charset_utf8.inc
      BitKeeper/deleted/.del-innodb_charset.result~5a9b45c455263e16:
        Delete: mysql-test/suite/funcs_2/r/innodb_charset.result
      BitKeeper/deleted/.del-memory_charset.result~3e27ebf0471b3472:
        Delete: mysql-test/suite/funcs_2/r/memory_charset.result
      mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl:
        Rename: BitKeeper/deleted/.del-gen_charset_utf8.pl -> mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl
      mysql-test/suite/funcs_2/r/innodb_charset.result:
        Rename: BitKeeper/deleted/.del-innodb_charset.result -> mysql-test/suite/funcs_2/r/innodb_charset.result
      BitKeeper/deleted/.del-myisam_charset.result~e86d46123a579771:
        Delete: mysql-test/suite/funcs_2/r/myisam_charset.result
      BitKeeper/deleted/.del-ndb_charset.result~37be292ee7801689:
        Delete: mysql-test/suite/funcs_2/r/ndb_charset.result
      mysql-test/suite/funcs_2/r/memory_charset.result:
        Rename: BitKeeper/deleted/.del-memory_charset.result -> mysql-test/suite/funcs_2/r/memory_charset.result
      mysql-test/suite/funcs_2/r/myisam_charset.result:
        Rename: BitKeeper/deleted/.del-myisam_charset.result -> mysql-test/suite/funcs_2/r/myisam_charset.result
      BitKeeper/deleted/.del-innodb_charset.test~4555b7e4a5caa39:
        Delete: mysql-test/suite/funcs_2/t/innodb_charset.test
      BitKeeper/deleted/.del-memory_charset.test~4f055ebb453f58fd:
        Delete: mysql-test/suite/funcs_2/t/memory_charset.test
      BitKeeper/deleted/.del-myisam_charset.test~f859c5b56700de58:
        Delete: mysql-test/suite/funcs_2/t/myisam_charset.test
      mysql-test/suite/funcs_2/t/innodb_charset.test:
        Rename: BitKeeper/deleted/.del-innodb_charset.test -> mysql-test/suite/funcs_2/t/innodb_charset.test
      mysql-test/suite/funcs_2/t/memory_charset.test:
        Rename: BitKeeper/deleted/.del-memory_charset.test -> mysql-test/suite/funcs_2/t/memory_charset.test
      mysql-test/suite/funcs_2/t/myisam_charset.test:
        Rename: BitKeeper/deleted/.del-myisam_charset.test -> mysql-test/suite/funcs_2/t/myisam_charset.test
      BitKeeper/deleted/.del-ndb_charset.test~354cbaeb1bc2f75d:
        Delete: mysql-test/suite/funcs_2/t/ndb_charset.test
      BitKeeper/deleted/.del-readme.txt~e8399f1a3f34d433:
        Delete: mysql-test/suite/funcs_2/readme.txt
      mysql-test/suite/funcs_2/readme.txt:
        Rename: BitKeeper/deleted/.del-readme.txt~2 -> mysql-test/suite/funcs_2/readme.txt
      mysql-test/suite/funcs_2/t/ndb_charset.test:
        Rename: BitKeeper/deleted/.del-ndb_charset.test -> mysql-test/suite/funcs_2/t/ndb_charset.test
      mysql-test/suite/funcs_2/r/ndb_charset.result:
        Fix a bad BitKeeper dependency structure for the "funcs_2" suite:
        
        Restore the 5.1 contents into the 5.0-dependent file.
      fce3a8a3
    • unknown's avatar
      Fix an unstable test. · d2b9c8c2
      unknown authored
      
      mysql-test/r/log_tables.result:
        Update results.
      mysql-test/t/log_tables.test:
        Silence a race condition: TRUNCATE code issues mysql_frm_type without
        a metadata lock, and finds no table if hits the moment when
        ALTER is swapping two tables.
      d2b9c8c2
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b29928.new/b29928.new.5.0 · d4ba395a
      unknown authored
      into  mysql.com:/home/ram/work/b29928.new/b29928.new.5.1
      
      
      mysql-test/r/mysqlbinlog.result:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      mysql-test/t/mysqlbinlog.test:
        manual merge
      d4ba395a
    • unknown's avatar
      Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect · f87acb59
      unknown authored
      restores from mysqlbinlog out
      
      Problem: using "mysqlbinlog | mysql" for recoveries the connection_id() 
      result may differ from what was used when issuing the statement.
      
      Fix: if there is a connection_id() in a statement, write to binlog
      SET pseudo_thread_id= XXX; before it and use the value later on.
      
      
      mysql-test/r/mysqlbinlog.result:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - test result.
      mysql-test/t/mysqlbinlog.test:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - test case.
      sql/item_create.cc:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - set thread_specific_used flag for the connection_id() function.
      sql/item_func.cc:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - always return thd->variables.pseudo_thread_id as a connection_id() 
        result, as it contains a proper value for both master and slave.
      sql/log_event.cc:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - set LOG_EVENT_THREAD_SPECIFIC_F event flag if thread_specific_used
        is set.
      sql/sql_class.cc:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - thd->thread_specific_used introduced, which is set if thread specific 
        value(s) used in a statement.
      sql/sql_class.h:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - thd->thread_specific_used introduced, which is set if thread specific 
        value(s) used in a statement.
      f87acb59
    • unknown's avatar
      Merge jperkin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · ce045a82
      unknown authored
      into  production.mysql.com:/usersnfs/jperkin/bk/mysql-5.0-maint
      
      
      ce045a82
    • unknown's avatar
      Merge production.mysql.com:/usersnfs/jperkin/bk/mysql-5.0-maint · 06cffaab
      unknown authored
      into  production.mysql.com:/usersnfs/jperkin/bk/mysql-5.1-maint
      
      
      06cffaab