1. 13 Jun, 2007 2 commits
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · fc0a7415
      unknown authored
      into  mysql.com:/data2/mysql-5.1-maint
      
      fc0a7415
    • unknown's avatar
      Updated patch for Bug#28497 based off of Magnus's review · 77d0582e
      unknown authored
      
      mysql-test/include/wait_for_slave_io_to_stop.inc:
        Updated previous commit to include Magnus's change request from review. In addition, I moved it from the mysql-5.1 to mysql-5.1-maint clone. We now have 3 new replications tools and one tool that has been refactored. 1) include/wait_for_slave_to_stop.inc replaces the old mysqltest.c wait_for_slave_to_stop. NEW: 2) include/wait_for_slave_sql_to_stop.inc is for when you are expecting the slave to get an SQL error and waiting for the SQL Thread to stop. 3) include/wait_for_slave_io_to_stop.inc is used for test that you expect sometype of IO error and the IO Thread to stop. 4) include/wait_for_slave_to_start.inc for waiting for the slave to completely start before moving forward in the test. All 4 tests have a built in loop that will stop the test if any of the tools take too long.
      mysql-test/include/wait_for_slave_sql_to_stop.inc:
        Updated previous commit to include Magnus's change request from review. In addition, I moved it from the mysql-5.1 to mysql-5.1-maint clone. We now have 3 new replications tools and one tool that has been refactored. 1) include/wait_for_slave_to_stop.inc replaces the old mysqltest.c wait_for_slave_to_stop. NEW: 2) include/wait_for_slave_sql_to_stop.inc is for when you are expecting the slave to get an SQL error and waiting for the SQL Thread to stop. 3) include/wait_for_slave_io_to_stop.inc is used for test that you expect sometype of IO error and the IO Thread to stop. 4) include/wait_for_slave_to_start.inc for waiting for the slave to completely start before moving forward in the test. All 4 tests have a built in loop that will stop the test if any of the tools take too long.
      mysql-test/include/wait_for_slave_to_start.inc:
        Updated previous commit to include Magnus's change request from review. In addition, I moved it from the mysql-5.1 to mysql-5.1-maint clone. We now have 3 new replications tools and one tool that has been refactored. 1) include/wait_for_slave_to_stop.inc replaces the old mysqltest.c wait_for_slave_to_stop. NEW: 2) include/wait_for_slave_sql_to_stop.inc is for when you are expecting the slave to get an SQL error and waiting for the SQL Thread to stop. 3) include/wait_for_slave_io_to_stop.inc is used for test that you expect sometype of IO error and the IO Thread to stop. 4) include/wait_for_slave_to_start.inc for waiting for the slave to completely start before moving forward in the test. All 4 tests have a built in loop that will stop the test if any of the tools take too long.
      mysql-test/include/wait_for_slave_to_stop.inc:
        Updated previous commit to include Magnus's change request from review. In addition, I moved it from the mysql-5.1 to mysql-5.1-maint clone. We now have 3 new replications tools and one tool that has been refactored. 1) include/wait_for_slave_to_stop.inc replaces the old mysqltest.c wait_for_slave_to_stop. NEW: 2) include/wait_for_slave_sql_to_stop.inc is for when you are expecting the slave to get an SQL error and waiting for the SQL Thread to stop. 3) include/wait_for_slave_io_to_stop.inc is used for test that you expect sometype of IO error and the IO Thread to stop. 4) include/wait_for_slave_to_start.inc for waiting for the slave to completely start before moving forward in the test. All 4 tests have a built in loop that will stop the test if any of the tools take too long.
      mysql-test/t/rpl_critical_errors.test:
        Updated to use new tool(s)
      mysql-test/t/rpl_dual_pos_advance.test:
        Updated to use new tool(s)
      mysql-test/t/rpl_known_bugs_detection.test:
        Updated to use new tool(s)
      mysql-test/t/rpl_rotate_logs.test:
        Updated to use new tool(s)
      mysql-test/t/rpl_row_inexist_tbl.test:
        Updated to use new tool(s)
      mysql-test/extra/rpl_tests/rpl_extraSlave_Col.test:
        Updated to use new tool(s)
      mysql-test/extra/rpl_tests/rpl_loaddata.test:
        Updated to use new tool(s)
      mysql-test/extra/rpl_tests/rpl_row_tabledefs.test:
        Updated to use new tool(s)
      mysql-test/extra/rpl_tests/rpl_stm_000001.test:
        Updated to use new tool(s)
      mysql-test/extra/rpl_tests/rpl_stm_EE_err2.test:
        Updated to use new tool(s)
      77d0582e
  2. 12 Jun, 2007 6 commits
  3. 11 Jun, 2007 3 commits
    • unknown's avatar
      Bug#28984: crasher on connect with out of range password length in \ · ace396e7
      unknown authored
      	protocol
      
      Update for function moved to new file in 5.1.
      
      One could send a malformed packet that caused the server to SEGV.  In 
      recent versions of the password protocol, the client tells the server 
      what length the ciphertext is (almost always 20).  If that length was
      large enough to overflow a signed char, then the number would jump to 
      very large after being casted to unsigned int.
        
      Instead, cast the *passwd char to uchar.
      
      
      sql/sql_connect.cc:
        Update for function moved to new file in 5.1.
      ace396e7
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint-2 · d441a3ca
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
      
      
      sql/sql_parse.cc:
        Functions are moved to a new file in 5.1.
      d441a3ca
    • unknown's avatar
      Fix for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long" · bf352ec2
      unknown authored
      In create_tmp_table() don't set full table path as a table name. Other code assumes table names to not exceed NAME_LEN bytes.
      
      
      sql/sql_select.cc:
        In create_tmp_table() don't set full table path as a table name. Other code assumes table names to not exceed NAME_LEN bytes.
      mysql-test/r/long_tmpdir.result:
        Added testcase for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long"
      mysql-test/t/long_tmpdir-master.opt:
        Added testcase for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long"
      mysql-test/t/long_tmpdir-master.sh:
        Added testcase for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long"
      mysql-test/t/long_tmpdir.test:
        Added testcase for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long"
      bf352ec2
  4. 08 Jun, 2007 12 commits
  5. 07 Jun, 2007 17 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · 69fd44e4
      unknown authored
      into  rama.(none):/home/jimw/my/mysql-5.1-clean
      
      
      mysql-test/extra/binlog_tests/insert_select-binlog.test:
        Auto merged
      mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      mysql-test/t/sp_trans.test:
        Auto merged
      69fd44e4
    • unknown's avatar
      Bug#28718 Running backup testcase fails in mysql testsuite of MySQL-enterprise-5.0.40 · 40beff92
      unknown authored
       - Fix test to work on OS where backslashes are forward
      
      
      mysql-test/include/uses_vardir.inc:
        Make the test work on windows too
      40beff92
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · bbce5820
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/t/sp-code.test:
        Auto merged
      bbce5820
    • unknown's avatar
      Remove "is_debug_build.inc" and use already existing "have-debug.inc" · 417720bb
      unknown authored
      
      BitKeeper/deleted/.del-is_debug_build.inc:
        Rename: mysql-test/include/is_debug_build.inc -> BitKeeper/deleted/.del-is_debug_build.inc
      417720bb
    • unknown's avatar
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 8d133726
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/include/master-slave.inc:
        Auto merged
      mysql-test/lib/mtr_cases.pl:
        Merge 5.0->5.1
      mysql-test/t/binlog_killed.test:
        Merge 5.0->5.1
      8d133726
    • unknown's avatar
      Fix typo · 120f1775
      unknown authored
      Mark one more test as needing binlog
      
      
      mysql-test/include/master-slave.inc:
        Fix typo
      mysql-test/lib/mtr_cases.pl:
        Fix typo
      mysql-test/r/have_log_bin.require:
        Fix typo
      mysql-test/t/binlog_killed.test:
        Need binlog
      120f1775
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 193d9298
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      BitKeeper/triggers/pre-commit:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      mysql-test/extra/binlog_tests/blackhole.test:
        Auto merged
      193d9298
    • unknown's avatar
      Remove last line, making it possible to merge · 309b6aae
      unknown authored
      309b6aae
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28369/my51-bug28369 · de731b0d
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/extra/binlog_tests/blackhole.test:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      mysql-test/t/ndb_binlog_basic2.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      de731b0d
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · f8e46d79
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      f8e46d79
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28369/my50-bug28369 · 1a5b932e
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/t/blackhole.test:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      1a5b932e
    • unknown's avatar
      Bug#28369 rpl test cases fail with binlog disabled · ff0f6305
      unknown authored
       - Additional tests in 5.1 that need binlog
       - Mark more test to need binlog
      
      
      mysql-test/include/have_binlog_format_mixed.inc:
        Need binlog
      mysql-test/include/have_binlog_format_mixed_or_row.inc:
        Need binlog
      mysql-test/include/have_binlog_format_row.inc:
        Need binlog
      mysql-test/include/have_binlog_format_statement.inc:
        Need binlog
      mysql-test/r/date_formats.result:
        Show only the variables affected by the testcase to avoid it fails
        when running without binlog
      mysql-test/t/date_formats.test:
        Show only the variables affected by the testcase to avoid it fails
        when running without binlog
      mysql-test/t/ndb_binlog_basic2.test:
        Need binlog
      mysql-test/t/ps.test:
        Need binlog
      mysql-test/t/rpl_sf.test:
        Nedd binlog
      ff0f6305
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28369/my50-bug28369 · c7258587
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/bug28369/my51-bug28369
      
      
      mysql-test/include/master-slave.inc:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      mysql-test/t/mysqlbinlog-cp932.test:
        Auto merged
      mysql-test/t/mysqlbinlog.test:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      mysql-test/t/rpl_rotate_logs.test:
        Auto merged
      mysql-test/t/sp_trans.test:
        Auto merged
      mysql-test/extra/binlog_tests/blackhole.test:
        Auto merged
      mysql-test/extra/binlog_tests/ctype_cp932_binlog.test:
        Auto merged
      mysql-test/extra/binlog_tests/ctype_ucs_binlog.test:
        Auto merged
      mysql-test/extra/binlog_tests/drop_temp_table.test:
        Auto merged
      mysql-test/extra/binlog_tests/insert_select-binlog.test:
        Auto merged
      mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test:
        Auto merged
      BitKeeper/deleted/.del-sp_trans_log.test:
        Delete: mysql-test/t/sp_trans_log.test
      BitKeeper/deleted/.del-sp_trans_log.result:
        Delete: mysql-test/r/sp_trans_log.result
      BitKeeper/deleted/.del-ctype_cp932_notembedded.result~f8bc6ad0446e82e3:
        SCCS merged
      BitKeeper/deleted/.del-ctype_cp932_notembedded.test~3047e508460cef42:
        SCCS merged
      mysql-test/extra/binlog_tests/binlog.test:
        Merge 5.0->5.1
      mysql-test/lib/mtr_cases.pl:
        Merge 5.0->5.1
      mysql-test/r/sp_trans.result:
        Merge 5.0->5.1
      mysql-test/t/mysqlbinlog2.test:
        Merge 5.0->5.1
      mysql-test/t/rpl000017.test:
        Merge 5.0->5.1
      mysql-test/t/rpl_000015.test:
        Merge 5.0->5.1
      mysql-test/t/user_var-binlog.test:
        Merge 5.0->5.1
      c7258587
    • unknown's avatar
      Bug#28369 rpl test cases fail with binlog disabled · a3d3e25c
      unknown authored
       - Turn on binlog only for tests that need it
       - Skip those tests if --skip-binlog is used
      
      
      BitKeeper/deleted/.del-ctype_cp932_notembedded.result:
        Rename: mysql-test/r/ctype_cp932_notembedded.result -> BitKeeper/deleted/.del-ctype_cp932_notembedded.result
      BitKeeper/deleted/.del-ctype_cp932_notembedded.test:
        Rename: mysql-test/t/ctype_cp932_notembedded.test -> BitKeeper/deleted/.del-ctype_cp932_notembedded.test
      mysql-test/include/master-slave.inc:
        Need binlog
      mysql-test/lib/mtr_cases.pl:
        Turn on binlog only for tests that need it
        Skip those tests if --skip-binlog is used
      mysql-test/r/sp_trans.result:
        Moved to "sp_binlog"
      mysql-test/t/binlog.test:
        Need binlog
      mysql-test/t/blackhole.test:
        Need binlog
      mysql-test/t/ctype_cp932_binlog.test:
        Need binlog
      mysql-test/t/ctype_ucs_binlog.test:
        Need binlog
      mysql-test/t/drop_temp_table.test:
        Need binlog
      mysql-test/t/flush_block_commit_notembedded.test:
        Need binlog
      mysql-test/t/innodb.test:
        Need binlog
      mysql-test/t/insert_select-binlog.test:
        Need binlog
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Need binlog
      mysql-test/t/mysqlbinlog-cp932.test:
        Need binlog
      mysql-test/t/mysqlbinlog.test:
        Need binlog
      mysql-test/t/mysqlbinlog2.test:
        Need binlog
      mysql-test/t/mysqldump.test:
        Need binlog
      mysql-test/t/rpl000015.test:
        Need binlog
      mysql-test/t/rpl000017.test:
        Need binlog
      mysql-test/t/rpl_rotate_logs.test:
        Need binlog
      mysql-test/t/sp_trans.test:
        Moved to "sp_binlog"
      mysql-test/t/user_var-binlog.test:
        Need binlog
      mysql-test/r/sp_trans_log.result:
        New BitKeeper file ``mysql-test/r/sp_trans_log.result''
      mysql-test/t/sp_trans_log.test:
        New BitKeeper file ``mysql-test/t/sp_trans_log.test''
      a3d3e25c
    • unknown's avatar
      reverting this file to Unix line ending so it will work on Windows · 830391e6
      unknown authored
      
      BitKeeper/triggers/pre-commit:
        Turn off EOLN_NATIVE flag
      830391e6
    • unknown's avatar
      Merge xp.:C:/work/mysql-5.1-new-maint/..\mysql-5.0-maint · adf87575
      unknown authored
      into  xp.:C:/work/mysql-5.1-new-maint
      
      
      sql-common/client.c:
        Auto merged
      adf87575