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 · 3fce8cf1
      unknown authored
      into  dator6.(none):/home/mikael/mysql_clones/mysql-5.1-engines
      
      
      3fce8cf1
    • unknown's avatar
      WL#3834: New build script for system admins and developers · f1dd83ea
      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
      f1dd83ea
    • unknown's avatar
      Bug#34225: suite/parts test failure · 11b8c529
      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
      11b8c529
    • unknown's avatar
      Merge dator6.(none):/home/mikael/mysql_clones/bug33429 · d272d18d
      unknown authored
      into  dator6.(none):/home/mikael/mysql_clones/mysql-5.1-engines
      
      
      d272d18d
    • unknown's avatar
      Merge dator6.(none):/home/mikael/mysql_clones/bug33182 · 53a8941b
      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
      53a8941b
    • unknown's avatar
      Merge witty.ndb.mysql.com:/Users/mattiasj/clones/mysql-5.1-bug33379 · 1a6789fd
      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
      1a6789fd
    • unknown's avatar
      Merge witty.ndb.mysql.com:/Users/mattiasj/clones/mysql-5.1-bug34225 · cc9e2ad2
      unknown authored
      into  witty.ndb.mysql.com:/Users/mattiasj/clones/51-topush
      
      
      cc9e2ad2
    • unknown's avatar
      Merge witty.ndb.mysql.com:/Users/mattiasj/Public/shared-vms/mysql-5.1-bug33379 · 58a25342
      unknown authored
      into  witty.ndb.mysql.com:/Users/mattiasj/clones/51-topush
      
      
      58a25342
    • unknown's avatar
      Bug#34358: Cannot find specified bit row in partitioned table · 1c0bd60d
      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.
      1c0bd60d
    • unknown's avatar
      Bug#33379: valgrind error in parts/partition_bit_myisam · b2f0ed63
      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().
      b2f0ed63
    • unknown's avatar
      Bug#34376 - merge-big test fails · 64d17dd1
      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.
      64d17dd1
  3. 06 Feb, 2008 2 commits
    • unknown's avatar
      Bug#31331 - MyISAM or Merge Table upgrade incompatibility with 5.1 · f134b62c
      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.
      f134b62c
    • unknown's avatar
      Bug#34225: test suit parts uses /tmp-dir · 2bac240c
      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.
      2bac240c
  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. · eca69689
      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.
      eca69689
    • unknown's avatar
      Bug #34244 Test ndb_binlog_log_bin fails for 'drop table if · 5d66c356
      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.
      5d66c356
  7. 02 Feb, 2008 1 commit
    • unknown's avatar
      Disabling various tests and reporting bugs for them. · 29245b93
      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.
      29245b93
  8. 01 Feb, 2008 10 commits