1. 28 Nov, 2007 10 commits
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · a2205de8
      unknown authored
      into  lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.1-rt-merge
      
      
      sql/sql_table.cc:
        Auto merged
      a2205de8
    • unknown's avatar
      Manual merge · ea3c7d5c
      unknown authored
      ea3c7d5c
    • unknown's avatar
      Merge lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.1-base · 6feb1cf5
      unknown authored
      into  lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.1-rt-merge
      
      
      sql/events.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/sql_table.cc:
        manual merge
      6feb1cf5
    • unknown's avatar
      Merge mysql.com:/Users/davi/mysql/bugs/31479-5.0 · cb9e2b8f
      unknown authored
      into  mysql.com:/Users/davi/mysql/mysql-5.1-runtime
      
      
      mysql-test/r/lock_multi.result:
        Null merge.
      mysql-test/t/lock_multi.test:
        Null merge.
      sql/sql_table.cc:
        Null merge.
      cb9e2b8f
    • unknown's avatar
      Bug#31479 Bad lock interaction if CREATE TABLE LIKE is killed · 6a6d4b07
      unknown authored
      Kill of a CREATE TABLE source_table LIKE statement waiting for a
      name-lock on the source table causes a bad lock interaction.
      
      The mysql_create_like_table() has a bug that if the connection is
      killed while waiting for the name-lock on the source table, it will
      jump to the wrong error path and try to unlock the source table and
      LOCK_open, but both weren't locked.
      
      The solution is to simple return when the name lock request is killed,
      it's safe to do so because no lock was acquired and no cleanup is needed.
      
      Original bug report also contains description of other problems
      related to this scenario but they either already fixed in 5.1 or
      will be addressed separately (see bug report for details).
      
      
      mysql-test/r/lock_multi.result:
        Add test case result for Bug#31479
      mysql-test/t/lock_multi.test:
        Add test case for Bug#31479
      sql/sql_table.cc:
        Rerturn TRUE when the lock gets killed.
      6a6d4b07
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-axmrg · 723f48f9
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-axmrg
      
      
      mysql-test/t/disabled.def:
        Manual merge from 5.0.
      723f48f9
    • unknown's avatar
      Bug#8693 Test 'rpl_log_pos' fails sometimes · de405936
      unknown authored
      Moved disabling to rpl suite.
      Bug#32801 wait_timeout.test fails randomly
      Disabled test case.
      
      
      mysql-test/suite/rpl/t/disabled.def:
        Bug#8693 Test 'rpl_log_pos' fails sometimes
        Moved disabling to rpl suite.
      de405936
    • unknown's avatar
      Bug#29149 Test "kill" fails on Windows · fb692d05
      unknown authored
      Disabled test case.
      
      fb692d05
    • unknown's avatar
      Merge kpettersson@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 91e001fe
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
      
      91e001fe
    • unknown's avatar
      Error number increased; fixing broken number. · 910f0238
      unknown authored
      910f0238
  2. 27 Nov, 2007 15 commits
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-axmrg · 5fb406fb
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-axmrg
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/archive.result:
        Auto merged
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/t/archive.test:
        Auto merged
      mysql-test/t/ctype_uca.test:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      mysql-test/t/disabled.def:
        Manual merge from 5.0
      mysql-test/t/subselect.test:
        Manual merge from 5.0
      5fb406fb
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.1-amain · b44f0623
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-axmrg
      
      
      include/my_base.h:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/suite/ndb/t/disabled.def:
        Auto merged
      mysql-test/t/partition.test:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      client/mysql.cc:
        Manual merge
      mysql-test/suite/rpl/t/disabled.def:
        Manual merge
      b44f0623
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-ateam · c5499ef8
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.0-axmrg
      
      c5499ef8
    • unknown's avatar
      after-merge fixup: archive test/result adjusted. · 35599f74
      unknown authored
      35599f74
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-ateam · c1e7d906
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.0-axmrg
      
      c1e7d906
    • unknown's avatar
      Bug#8693 Test 'rpl_log_pos' fails sometimes · a8f8ca42
      unknown authored
      Disabled the test case.
      
      a8f8ca42
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-engines · 96cb42f6
      unknown authored
      into  mysql.com:/home/ram/work/b30495/b30495.5.0
      
      96cb42f6
    • unknown's avatar
      Merge lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.1-base · dc315c9c
      unknown authored
      into  lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.1-rt-merge
      
      
      sql/mysqld.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      dc315c9c
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.1-engines · 551aaa9c
      unknown authored
      into  mysql.com:/home/ram/work/b30495/b30495.5.1
      
      551aaa9c
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-amain · 7e6cd08f
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.0-axmrg
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      7e6cd08f
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-engines · 4a115f68
      unknown authored
      into  mysql.com:/home/ram/work/b30495/b30495.5.0
      
      4a115f68
    • unknown's avatar
      Disabling several tests that fail and reported as errors. · 7441a800
      unknown authored
      
      mysql-test/suite/ndb/t/disabled.def:
        Disabling failing tests.
      mysql-test/suite/rpl/t/disabled.def:
        Disabling failing tests.
      mysql-test/suite/rpl/t/rpl_ssl.test:
        Disabling part of test that fails.
      7441a800
    • unknown's avatar
      after-merge fix: · bcb5593d
      unknown authored
        - archive test/result adjusted.
        - OPTIMIZE/ANALYZE PARTITION EXTENDED test case added.
      
      
      mysql-test/r/archive.result:
        after-merge fix:
          - archive test/result adjusted.
      mysql-test/r/partition.result:
        after-merge fix:
          - test case added.
      mysql-test/t/archive.test:
        after-merge fix:
          - archive test/result adjusted.
      mysql-test/t/partition.test:
        after-merge fix:
          - test case added.
      bcb5593d
    • unknown's avatar
      Bug#32754 - InnoDB tests do not prepare or clean up correctly · 4182a3b1
      unknown authored
      Some test cases were missing preparation to deal with failed
      predecessor test cases.
      
      Added preparation (drop table if exists) to some test cases.
      
      
      mysql-test/include/innodb_rollback_on_timeout.inc:
        Bug#32754 - InnoDB tests do not prepare or clean up correctly
        Added preparation (drop table if exists).
      mysql-test/r/innodb-semi-consistent.result:
        Bug#32754 - InnoDB tests do not prepare or clean up correctly
        Fixed test result.
      mysql-test/r/innodb-ucs2.result:
        Bug#32754 - InnoDB tests do not prepare or clean up correctly
        Fixed test result.
      mysql-test/r/innodb_mysql.result:
        Bug#32754 - InnoDB tests do not prepare or clean up correctly
        Fixed test result.
      mysql-test/r/innodb_timeout_rollback.result:
        Bug#32754 - InnoDB tests do not prepare or clean up correctly
        Fixed test result.
      mysql-test/t/innodb-semi-consistent.test:
        Bug#32754 - InnoDB tests do not prepare or clean up correctly
        Added preparation (drop table if exists).
      mysql-test/t/innodb-ucs2.test:
        Bug#32754 - InnoDB tests do not prepare or clean up correctly
        Added preparation (drop table if exists).
      4182a3b1
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b30495/b30495.5.0 · df1e9ab0
      unknown authored
      into  mysql.com:/home/ram/work/b30495/b30495.5.1
      
      
      mysql-test/r/analyze.result:
        Auto merged
      mysql-test/t/analyze.test:
        Auto merged
      sql/sql_yacc.yy:
        5.0 -> 5.1 manual merging (see bug #30495: optimize table t1,t2,t3 extended errors):
        CHECK options disabled for ANALYZE/OPTIMIZE PARTITION.
      df1e9ab0
  3. 26 Nov, 2007 15 commits
    • unknown's avatar
      Remove disabling of testcases · 3817f07c
      unknown authored
      3817f07c
    • unknown's avatar
      Bug#25146 Some warnings/errors not shown when using --show-warnings · 204fe148
      unknown authored
       - Additional patch to fix compiler warnings
      
      
      client/mysql.cc:
        Initialize warnings to 0 to avid compiler warning
        Call 'print_warnings' also when error occured
      mysql-test/r/mysql.result:
        Change test to make is possible to see that second set of warnings
        are from second invocation of mysql
      mysql-test/t/mysql.test:
        Change test to make is possible to see that second set of warnings
        are from second invocation of mysql
      204fe148
    • unknown's avatar
      Revert · 379e98ac
      unknown authored
      379e98ac
    • unknown's avatar
      Merge kpettersson@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · e4d373f2
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
      
      e4d373f2
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug16470/my51-bug16470 · 63b292da
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
      
      
      mysql-test/r/grant.result:
        Auto merged
      mysql-test/t/grant.test:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_parse.cc:
        manual merge
      63b292da
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-axmrg · 6c77bae3
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-axmrg
      
      
      mysql-test/r/delayed.result:
        Auto merged
      mysql-test/t/delayed.test:
        Auto merged
      6c77bae3
    • unknown's avatar
      Bug#20830 - INSERT DELAYED does not honour SET INSERT_ID · 31e591fa
      unknown authored
      Bug#20627 - INSERT DELAYED does not honour auto_increment_* variables
      Fixed wrong variable assignment.
      
      31e591fa
    • unknown's avatar
      Merge mysql.com:/Users/davi/mysql/bugs/29592-5.0 · 44a1eada
      unknown authored
      into  mysql.com:/Users/davi/mysql/bugs/29592-5.1
      
      
      include/mysql.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      libmysql/libmysql.def:
        Auto merged
      libmysqld/libmysqld.def:
        Auto merged
      include/mysql_h.ic:
        Update ABI check file.
      44a1eada
    • unknown's avatar
      Bug#16470 crash on grant if old grant tables · 5fad7671
      unknown authored
      Loading 4.1 into 5.0 or 5.1 failed silently because procs_priv table missing.
      This caused the server to crash on any attempt to store new grants because
      of uninitialized structures.
      
      This patch breaks up the grant loading function into two phases to allow
      for procs_priv table to fail with an warning instead of crashing the server.
      
      
      mysql-test/r/grant.result:
        Test case
      mysql-test/t/grant.test:
        Test case making sure that FLUSH PRIVILEGES doesn't crash the server if
        procs_priv is removed.
      sql/sql_acl.cc:
        - Refactored grant_reload into two phases: 1. open and lock tables_priv and 
          columns_priv tables, read the data, close tables. 2. open and lock
          procs_priv, read data, close table. Since the tables are independant of
          each other there will be no race conditions and it will be possible to
          handle situations where the procs_priv table isn't present.
        - Refactored the helper function grant_load into new grant_load (without
          procs_priv table) and grant_load_procs_priv.
      sql/sql_parse.cc:
        - Changed comment style to doxygen style.
      5fad7671
    • unknown's avatar
      10d05efe
    • unknown's avatar
      Bug#29592 SQL Injection issue · 6e512d61
      unknown authored
      Remove the mysql_odbc_escape_string() function. The function
      has multi-byte character escaping issues, doesn't honor the
      NO_BACKSLASH_ESCAPES mode and is not used anymore by the
      Connector/ODBC as of 3.51.17.
      
      
      include/mysql.h:
        Remove mysql_odbc_escape_string() prototype.
      include/mysql_h.ic:
        Update abi check file, mostly line changes and mysql_odbc_escape_string
        removal.
      libmysql/libmysql.c:
        Remove mysql_odbc_escape_string() body.
      libmysql/libmysql.def:
        Remove mysql_odbc_escape_string()
      libmysqld/libmysqld.def:
        Remove mysql_odbc_escape_string()
      6e512d61
    • unknown's avatar
      dc2a65c8
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-rpl-merge · 27069f1b
      unknown authored
      into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl-merge
      
      27069f1b
    • unknown's avatar
      Add suppressions for expected warning messages that appears in · 76541720
      unknown authored
      slave's error log when running rpl_extraColmaster_*.test 
      
      76541720
    • unknown's avatar
      7183643c