1. 13 Jun, 2007 3 commits
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b28748/b28748.5.0 · 44d25ca2
      unknown authored
      into  mysql.com:/home/ram/work/b28748/b28748.5.1
      
      
      mysql-test/r/func_in.result:
        Auto merged
      mysql-test/t/func_in.test:
        Auto merged
      44d25ca2
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · c148eb94
      unknown authored
      into  mysql.com:/data2/mysql-5.1-maint
      
      
      c148eb94
    • unknown's avatar
      Updated patch for Bug#28497 based off of Magnus's review · b55468d7
      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)
      b55468d7
  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 \ · 46085513
      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.
      46085513
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint-2 · 67b33c81
      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.
      67b33c81
    • unknown's avatar
      Fix for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long" · 1c4ab310
      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"
      1c4ab310
  4. 09 Jun, 2007 1 commit
    • unknown's avatar
      Fix for bug #28748: "Select" returning one value too few · 7a865683
      unknown authored
      Problem: we may get unexpected results comparing [u]longlong values as doubles.
      Fix: adjust the test to use integer comparators.
      Note: it's not a real fix, we have to implement some new comparators 
      to completely solve the original problem (see my comment in the bug report).
      
      
      mysql-test/r/func_in.result:
        Fix for bug #28748: "Select" returning one value too few
          - result adjusted.
      mysql-test/t/func_in.test:
        Fix for bug #28748: "Select" returning one value too few
          - test adjusted to use integer comparisons.
      7a865683
  5. 08 Jun, 2007 12 commits
  6. 07 Jun, 2007 15 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · d7579018
      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
      d7579018
    • unknown's avatar
      Bug#28718 Running backup testcase fails in mysql testsuite of MySQL-enterprise-5.0.40 · 20a6f546
      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
      20a6f546
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 46cd7395
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/t/sp-code.test:
        Auto merged
      46cd7395
    • unknown's avatar
      Remove "is_debug_build.inc" and use already existing "have-debug.inc" · 14b95f51
      unknown authored
      
      BitKeeper/deleted/.del-is_debug_build.inc:
        Rename: mysql-test/include/is_debug_build.inc -> BitKeeper/deleted/.del-is_debug_build.inc
      14b95f51
    • unknown's avatar
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · a76788e3
      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
      a76788e3
    • unknown's avatar
      Fix typo · 4935813c
      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
      4935813c
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 53c94b71
      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
      53c94b71
    • unknown's avatar
      Remove last line, making it possible to merge · 27c2a89d
      unknown authored
      27c2a89d
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28369/my51-bug28369 · bc35e6a7
      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
      bc35e6a7
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 25ef4968
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      25ef4968
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28369/my50-bug28369 · bddba332
      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
      bddba332
    • unknown's avatar
      Bug#28369 rpl test cases fail with binlog disabled · c01c9047
      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
      c01c9047
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28369/my50-bug28369 · e8116aeb
      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
      e8116aeb
    • unknown's avatar
      Bug#28369 rpl test cases fail with binlog disabled · 33df97df
      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''
      33df97df