1. 06 Dec, 2007 1 commit
    • unknown's avatar
      Bug#32948: FKs allowed to reference partitioned table · adbe16ad
      unknown authored
      Problem: when alter to partitioned table,
      it does not see it as change of engine.
      
      Solution: If alter includes partitioning, check if it is possible
      to change engines (eg. is the table referenced by a FK)
      
      
      mysql-test/r/partition_innodb.result:
        Bug#32948: FKs allowed to reference partitioned table
        test result
      mysql-test/t/partition_innodb.test:
        Bug#32948: FKs allowed to reference partitioned table
        test case
      sql/sql_table.cc:
        Bug#32948: FKs allowed to reference partitioned table
        
        if alter to partitioning, it is the same as changing engine.
      adbe16ad
  2. 05 Dec, 2007 1 commit
  3. 03 Dec, 2007 1 commit
    • unknown's avatar
      Bug#30480: Falcon: searches fail if LIKE and key partition · 5678f517
      unknown authored
      (also fixes the bugs: Bug#29320, Bug#29493 and Bug#30536)
      
      Problem: Partitioning did not handle unordered scans correctly
      for engines with unordered read order.
      
      Solution: do not stop scanning fi a recored is out of range, since
      there can be more records within the range afterwards.
      
      Note: this is the patch that fixes the bug, but since there are no
      storage engines shipped with mysql 5.1 (falcon comes in 6.0) there
      are no test cases (it is a separate patch that only goes into 6.0)
      
      
      sql/ha_partition.cc:
        Bug#30480: Falcon: searches fail if LIKE and key partition
        
        Problem was that partitioning did not handle unordered scans correctly
        for engines with unordered read order.
        
        Solution: do not stop if a recored is out of range, since it can come
        more records within the range afterwards
      5678f517
  4. 30 Nov, 2007 6 commits
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.1-ateam · a7285195
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-axmrg
      
      a7285195
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.1-ateam · 7974a14d
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-axmrg
      
      7974a14d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines · 760dbff3
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-bug30491
      
      760dbff3
    • unknown's avatar
      Bug#30491 - MERGE doesn't report error when one table is Innodb · 42137788
      unknown authored
      1. A bad error message was given when a MERGE table with an
         InnoDB child table was tried to use.
      
      2. After selecting from a correct MERGE table and then altering
         one of the children to InnoDB, incorrect results were returned.
      
      These bugs have been fixed with the patch for bug 26379 (Combination
      of FLUSH TABLE and REPAIR TABLE corrupts a MERGE table).
      
      For verification, I added the test case from the bug report.
      
      
      mysql-test/r/merge_innodb.result:
        Bug#30491 - MERGE doesn't report error when one table is Innodb
        Added test result.
      mysql-test/t/merge_innodb.test:
        Bug#30491 - MERGE doesn't report error when one table is Innodb
        Added test case.
      42137788
    • unknown's avatar
      BUG#32050 - table logging gone wrong. · 6d1e750d
      unknown authored
      Reverted log tables alteration.
      
      
      scripts/mysql_system_tables_fix.sql:
        Altering log table is wrong, because
        - it is not possible to alter log table when it is in use;
        - log table may use MyISAM engine, which perfectly supports NULLs.
        
        Reverted log tables alteration.
      6d1e750d
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.1-engines · 142537ce
      unknown authored
      into  mysql.com:/home/ram/work/b29258/b29258.5.1
      
      
      mysql-test/r/partition.result:
        Manually merged
      mysql-test/t/partition.test:
        Manually merged
      142537ce
  5. 29 Nov, 2007 12 commits
  6. 28 Nov, 2007 5 commits
    • 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
      Merge mysql.com:/home/ram/work/b32676/b32676.5.0 · 61861c6a
      unknown authored
      into  mysql.com:/home/ram/work/b32676/b32676.5.1
      
      
      sql/sql_insert.cc:
        Auto merged
      mysql-test/r/delayed.result:
        manual merge.
      mysql-test/t/delayed.test:
        manual merge.
      61861c6a
    • unknown's avatar
      Bug#29149 Test "kill" fails on Windows · fb692d05
      unknown authored
      Disabled test case.
      
      fb692d05
    • unknown's avatar
      Fix for bug #32726: crash with cast in order by clause and cp932 charset · 720a4882
      unknown authored
        - fix for #31070 (missed during merging) applied for cp932 charset.
        - tests/results adjusted.
      
      
      mysql-test/include/ctype_common.inc:
        Fix for bug #32726: crash with cast in order by clause and cp932 charset
          - tests/results adjusted.
      mysql-test/r/ctype_big5.result:
        Fix for bug #32726: crash with cast in order by clause and cp932 charset
          - tests/results adjusted.
      mysql-test/r/ctype_cp932.result:
        Fix for bug #32726: crash with cast in order by clause and cp932 charset
          - tests/results adjusted.
      mysql-test/r/ctype_euckr.result:
        Fix for bug #32726: crash with cast in order by clause and cp932 charset
          - tests/results adjusted.
      mysql-test/r/ctype_gb2312.result:
        Fix for bug #32726: crash with cast in order by clause and cp932 charset
          - tests/results adjusted.
      mysql-test/r/ctype_gbk.result:
        Fix for bug #32726: crash with cast in order by clause and cp932 charset
          - tests/results adjusted.
      mysql-test/r/ctype_uca.result:
        Fix for bug #32726: crash with cast in order by clause and cp932 charset
          - tests/results adjusted.
      mysql-test/t/ctype_cp932.test:
        Fix for bug #32726: crash with cast in order by clause and cp932 charset
          - tests/results adjusted.
      strings/ctype-cp932.c:
        Fix for bug #32726: crash with cast in order by clause and cp932 charset
          - fix for #31070 (missed during merging) applied for cp932.
      720a4882
  7. 27 Nov, 2007 14 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 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
      BUG#32050 - table logging gone wrong. · 36c4fc22
      unknown authored
      INSERT/UPDATE against CSV table created by MySQL earlier than 5.1.23
      with NULL-able column results in server crash in debug builds.
      
      Starting with 5.1.23 CSV doesn't permit creation of NULL-able columns,
      but it is still possible to get such table from older MySQL versions.
      
      Fixed by removing excessive DBUG_ASSERT().
      
      
      scripts/mysql_system_tables_fix.sql:
        Starting with 5.1.23 CSV doesn't permit creation of NULL-able columns.
        Alter system CSV tables structure so that all columns are NOT NULL.
      storage/csv/ha_tina.cc:
        Starting with 5.1.23 CSV doesn't permit creation of NULL-able columns,
        but it is still possible to get such table from older MySQL versions.
        
        Removed excessive DBUG_ASSERT().
      36c4fc22
    • 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