1. 11 Feb, 2008 3 commits
  2. 07 Feb, 2008 11 commits
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-engines · 85f028c6
      unknown authored
      into  dator6.(none):/home/mikael/mysql_clones/mysql-5.1-engines
      
      85f028c6
    • unknown's avatar
      WL#3834: New build script for system admins and developers · 0f2486e4
      unknown authored
      especially for MySQL Cluster Carrier Grade Edition
      
      
      BUILD/build_mccge.sh:
        BitKeeper file /home/mikael/mysql_clones/mysql-5.1-engines/BUILD/build_mccge.sh
      BUILD/check-cpu:
        Added comments
        Added support for Core 2 cpu's
        Fixed some bad styles for scripts
        Fixed some copy-paste bug
        Added support for i386 from Mac OS X
        Added support for Itanium
        Added support for Sparc
        Added support for GCC 4.2+
        Fixed some issues with later change of cpu_arg
        Removed some broken, unnecessarily complex parts
        to find native compiler flags
      0f2486e4
    • unknown's avatar
      Bug#34225: suite/parts test failure · 666acb94
      unknown authored
      Pre push fix:
      added --sorted_result for consistent results
      
      
      mysql-test/suite/parts/inc/partition_bit.inc:
        Bug#34225: suite/parts test failure
        
        added --sorted_result for consistent results
      mysql-test/suite/parts/r/partition_bit_innodb.result:
        Bug#34225: suite/parts test failure
        
        added --sorted_result for consistent results
      mysql-test/suite/parts/r/partition_bit_myisam.result:
        Bug#34225: suite/parts test failure
        
        added --sorted_result for consistent results
      666acb94
    • unknown's avatar
      Merge dator6.(none):/home/mikael/mysql_clones/bug33429 · 85869879
      unknown authored
      into  dator6.(none):/home/mikael/mysql_clones/mysql-5.1-engines
      
      85869879
    • unknown's avatar
      Merge dator6.(none):/home/mikael/mysql_clones/bug33182 · 3c52a205
      unknown authored
      into  dator6.(none):/home/mikael/mysql_clones/mysql-5.1-engines
      
      
      mysql-test/r/partition.result:
        Auto merged
      mysql-test/t/partition.test:
        Auto merged
      3c52a205
    • unknown's avatar
      Merge witty.ndb.mysql.com:/Users/mattiasj/clones/mysql-5.1-bug33379 · 0eaf5750
      unknown authored
      into  witty.ndb.mysql.com:/Users/mattiasj/clones/51-topush
      
      
      mysql-test/r/partition_datatype.result:
        Auto merged
      mysql-test/t/partition_datatype.test:
        Auto merged
      0eaf5750
    • unknown's avatar
      Merge witty.ndb.mysql.com:/Users/mattiasj/clones/mysql-5.1-bug34225 · e1bb82bb
      unknown authored
      into  witty.ndb.mysql.com:/Users/mattiasj/clones/51-topush
      
      e1bb82bb
    • unknown's avatar
      Merge witty.ndb.mysql.com:/Users/mattiasj/Public/shared-vms/mysql-5.1-bug33379 · f51659f6
      unknown authored
      into  witty.ndb.mysql.com:/Users/mattiasj/clones/51-topush
      
      f51659f6
    • unknown's avatar
      Bug#34358: Cannot find specified bit row in partitioned table · 5a4274a7
      unknown authored
      Problem was incorrect data length in the key_restore function
      resulting in overwriting the search key.
      
      Solution, remove one byte in length if uneven bits are used.
      
      
      mysql-test/r/partition_datatype.result:
        Bug#34358: Cannot find specified bit row
        
        Updated result file
      mysql-test/t/partition_datatype.test:
        Bug#34358: Cannot find specified bit row
        
        Updated test file
        (corrected a few errors and added a test case for the bug)
      sql/key.cc:
        Bug34358: error in key_restore for bit fields with uneven bits
        
        When uneven bits exist, it has special treatment for the uneven bits
        but does use the same byte again when copying the rest of
        the key_part.
      5a4274a7
    • unknown's avatar
      Bug#33379: valgrind error in parts/partition_bit_myisam · 95470b7e
      unknown authored
      Problem was that Field_bit used Field::hash() function that did not
      know about using null-byte for storing bits.
      Resulting in wrong length, which was caught by valgrind.
      
      Solution: created a Field_bit::hash() that uses Field_bit::val_int()
      and my_charset_bin-collation function hash_sort.
      Also use the store function for platform independs
      
      
      mysql-test/r/partition_datatype.result:
        Bug#33379: valgrind error in parts/partition_bit_myisam
        
        result file
        
        enabled bit datatype test
      mysql-test/t/partition_datatype.test:
        Bug#33379: valgrind error in parts/partition_bit_myisam
        
        test file
        
        enabled bit datatype test
      sql/field.cc:
        Bug#33379: valgrind error in parts/partition_bit_myisam
        
        Problem was that Field_bit used Field::hash() function that did not
        know about using null-byte for storing bits.
        Resulting in wrong length.
        
        Solution: created a Field_bit::hash() that uses Field_bit::val_int()
        and my_charset_bin-collation function hash_sort.
        Also use the store function for platform independens.
      sql/field.h:
        Bug#33379: valgrind error in parts/partition_bit_myisam
        
        Problem was that Field_bit used Field::hash() function that did not
        know about using null-byte for storing bits.
        Resulting in wrong length.
        
        Solution: created a Field_bit::hash().
      95470b7e
    • unknown's avatar
      Bug#34376 - merge-big test fails · 8d95748e
      unknown authored
      After changes to the bug fix for bug 26379 (Combination of FLUSH
      TABLE and REPAIR TABLE corrupts a MERGE table) the test case
      merge-big failed.
      Repaired the test case.
      Removed tests for INSERT ... SELECT, which is disabled for MERGE.
      Test case change only.
      
      
      mysql-test/r/merge-big.result:
        Bug#34376 - merge-big test fails
        Removed result for removed tests.
      mysql-test/t/merge-big.test:
        Bug#34376 - merge-big test fails
        Repaired the test case.
        Removed tests for INSERT ... SELECT, which is disabled for MERGE.
      8d95748e
  3. 06 Feb, 2008 2 commits
    • unknown's avatar
      Bug#31331 - MyISAM or Merge Table upgrade incompatibility with 5.1 · e1d6b4e9
      unknown authored
      A table with BLOB/TEXT prefix key part, created with version 4.1,
      could not be opened by a 5.1 server.
      
      The routine check at table open, if the frm file matches the MyISAM
      table, was too picky regarding old and new implementation of such
      keys.
      
      Added relaxed check for blob prefix key part.
      
      No test case. It requires to create a table in 4.1 and open it in
      5.1.
      
      
      storage/myisam/ha_myisam.cc:
        Bug#31331 - MyISAM or Merge Table upgrade incompatibility with 5.1
        Added relaxed check for blob prefix key part.
      e1d6b4e9
    • unknown's avatar
      Bug#34225: test suit parts uses /tmp-dir · 2dac9f68
      unknown authored
      Since it used /tmp-dir, it continues to fail on the same server
      until the /tmp-dir is cleaned. (Another problem was that it
      uses DATA/INDEX DIR without checking for symlink, which is needed)
      
      
      Solution:
      Moved all DATA/INDEX DIR test to a new partition_basic_symlink.inc file
      and use this for myisam and innodb, also requiring symlinks and
      not_windows.
      (i.e. removed DATA/INDEX DIR use from several tests)
      
      
      mysql-test/suite/parts/inc/partition_basic.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_bigint.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_binary.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_bit.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_blob.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_char.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_date.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_datetime.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_decimal.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_double.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_enum.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_float.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_int.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_key_16col.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_key_32col.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_key_4col.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_key_8col.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_mediumint.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_set.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_smallint.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_text.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_time.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_timestamp.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_tinyint.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_varbinary.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_varchar.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_year.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_basic_innodb.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_basic_myisam.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_bit_innodb.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_bit_myisam.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_char_innodb.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_char_myisam.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_datetime_innodb.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_datetime_myisam.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_decimal_innodb.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_decimal_myisam.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_float_innodb.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_float_myisam.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_int_innodb.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_int_myisam.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_special_innodb.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/r/partition_special_myisam.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/t/partition_sessions.test:
        Bug#34225: test suit parts uses /tmp-dir
        
        Removed the DATA/INDEX DIR, since the test is not dependent of it
        (adding "--source include/have_symlink.inc" would have disabled it
        on some platforms/configurations)
      mysql-test/suite/parts/inc/partition_basic_symlink.inc:
        Bug#34225: test suit parts uses /tmp-dir
        
        Added this test case for testing some DATA/INDEX DIRECTORY cases
        since I removed so much of it from all other tests.
      mysql-test/suite/parts/r/partition_basic_symlink_innodb.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Added this test case for testing some DATA/INDEX DIRECTORY cases
        since I removed so much of it from all other tests.
      mysql-test/suite/parts/r/partition_basic_symlink_myisam.result:
        Bug#34225: test suit parts uses /tmp-dir
        
        Added this test case for testing some DATA/INDEX DIRECTORY cases
        since I removed so much of it from all other tests.
      mysql-test/suite/parts/t/partition_basic_symlink_innodb.test:
        Bug#34225: test suit parts uses /tmp-dir
        
        Added this test case for testing some DATA/INDEX DIRECTORY cases
        since I removed so much of it from all other tests.
      mysql-test/suite/parts/t/partition_basic_symlink_myisam.test:
        Bug#34225: test suit parts uses /tmp-dir
        
        Added this test case for testing some DATA/INDEX DIRECTORY cases
        since I removed so much of it from all other tests.
      2dac9f68
  4. 05 Feb, 2008 2 commits
  5. 04 Feb, 2008 9 commits
  6. 03 Feb, 2008 2 commits
    • unknown's avatar
      Removing expected errors from slave from the warnings file. · 58b27e72
      unknown authored
      
      mysql-test/lib/mtr_report.pl:
        Removing some expected warnings and errors from the slave for
        tests rpl_idempotency and rpl_skip_error.
      58b27e72
    • unknown's avatar
      Bug #34244 Test ndb_binlog_log_bin fails for 'drop table if · 66b33600
      unknown authored
                 exists t1,t2,t3'
      Bug #34245 Test ndb_binlog_multi fails for 'CREATE TABLE'
      Bug #34246 Test rpl_ndb_transaction fails with 'Failed to create
                 'mysql/ndb_apply_status'
      
      Tests cases didn't wait for cluster to come up due to a typo
      in have_multi_ndb.inc.
      
      
      mysql-test/include/have_multi_ndb.inc:
        SHOW TABLES is case-sensitive in the pattern to LIKE.
      mysql-test/suite/ndb/t/disabled.def:
        Enabling tests.
      mysql-test/suite/rpl_ndb/t/rpl_ndb_transaction.test:
        Adding include of have_debug since test requires that.
      sql/sql_repl.cc:
        Replacing 'return' with 'DBUG_RETURN' in debug-traced function.
      66b33600
  7. 02 Feb, 2008 1 commit
    • unknown's avatar
      Disabling various tests and reporting bugs for them. · fc40f346
      unknown authored
      
      mysql-test/suite/ndb/t/disabled.def:
        Disabling tests ndb_binlog_lob_bin, ndb_binlog_multi,
        and rpl_ndb_transaction.
      mysql-test/suite/parts/t/disabled.def:
        Disabling various partition tests.
      fc40f346
  8. 01 Feb, 2008 10 commits