1. 11 Jun, 2007 2 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
  2. 08 Jun, 2007 11 commits
  3. 07 Jun, 2007 27 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
    • unknown's avatar
      reverting this file to Unix line ending so it will work on Windows · f78d5ab6
      unknown authored
      
      BitKeeper/triggers/pre-commit:
        Turn off EOLN_NATIVE flag
      f78d5ab6
    • unknown's avatar
      Merge xp.:C:/work/mysql-5.1-new-maint/..\mysql-5.0-maint · 9660eb90
      unknown authored
      into  xp.:C:/work/mysql-5.1-new-maint
      
      
      sql-common/client.c:
        Auto merged
      9660eb90
    • unknown's avatar
      setting pre-commit to be Unix only line endings so it will work on Windows · ffeda16e
      unknown authored
      
      BitKeeper/triggers/pre-commit:
        Turn off EOLN_NATIVE flag
      ffeda16e
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · dc266616
      unknown authored
      into  xp.:C:/work/mysql-5.0-maint
      
      
      dc266616
    • unknown's avatar
      Bug #24731 Shared memory connections do not work with MySql ran as service on Vista · 33525fd3
      unknown authored
      The events were not being opened in the global namespace.
      
      
      sql-common/client.c:
        Add Global\\ to the event names so they are opened in the global namespace
      33525fd3
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-maint · 21e69bc0
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      21e69bc0
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 3d19e596
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/t/backup.test:
        Auto merged
      mysql-test/extra/binlog_tests/blackhole.test:
        Auto merged
      3d19e596
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28718/my50-bug28718 · 84bc4988
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      84bc4988
    • unknown's avatar
      Bug#28718 Running backup testcase fails in mysql testsuite · 47559994
      unknown authored
       - Skip test if the mysqld to test is not started from MYSQLTEST_VARDIR
      
      
      mysql-test/t/backup.test:
        Skip test if the mysqld to test is not started from MYSQLTEST_VARDIR
      mysql-test/t/blackhole.test:
        Skip test if the mysqld to test is not started from MYSQLTEST_VARDIR
      mysql-test/include/uses_vardir.inc:
        New BitKeeper file ``mysql-test/include/uses_vardir.inc''
      47559994
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · a2881469
      unknown authored
      into  mysql.com:/home/ram/work/b28806/b28806.5.1
      
      
      a2881469
    • unknown's avatar
      Fix for bug #28806: Running SHOW TABLE STATUS during high INSERT load crashes server · 675d0941
      unknown authored
      Problem: getting an autoincrement value for a partition table in the ::info() method we call
      the get_auto_increment() for all partitions. That may cause a problem for at least MyISAM
      tables that rely on some table state (in this particular case table->naxt_nuber_field is 
      set to 0 in the mysql_insert() and we get a crash). 
      Moreover, calling get_auto_increment() is superfluous there.
      
      Fix: use ::info(HA_STATUS_AUTO) calls to get autoincrement values for partitions instead of
      get_auto_increment() ones in the ha_partition::info().
      
      
      mysql-test/r/partition.result:
        Fix for bug #28806: Running SHOW TABLE STATUS during high INSERT load crashes server
          - test result.
      mysql-test/t/partition.test:
        Fix for bug #28806: Running SHOW TABLE STATUS during high INSERT load crashes server
          - test case.
      sql/ha_partition.cc:
        Fix for bug #28806: Running SHOW TABLE STATUS during high INSERT load crashes server
          - use info(HA_STATUS_AUTO) calls to get autoincrement values for partitions,
            set the auto_increment_value as the biggest one.
      675d0941
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new-maint · cfb5fc7e
      unknown authored
      into  polly.local:/home/kaa/src/maint/mysql-5.1-maint
      
      
      cfb5fc7e