1. 14 Feb, 2008 2 commits
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG33946/mysql-5.0-engines · 8ecceaf2
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG33946/mysql-5.1-engines
      
      
      mysql-test/r/federated.result:
        Manual merge.
      mysql-test/t/federated.test:
        Manual merge.
      storage/federated/ha_federated.cc:
        Manual merge.
      8ecceaf2
    • unknown's avatar
      BUG#33946 - Join on Federated tables with Unique index gives error 1430 · 55f6727b
      unknown authored
                  from storage engine
      
      Federated may crash a server, return wrong result set, return
      "ERROR 1030 (HY000): Got error 1430 from storage engine" message
      when local (engine=federated) table has a key against nullable
      column.
      
      The problem was wrong implementation of function that creates
      WHERE clause for remote query from key.
      
      
      mysql-test/r/federated.result:
        A test case for BUG#33946.
      mysql-test/t/federated.test:
        A test case for BUG#33946.
      sql/ha_federated.cc:
        Fixed that federated adds " IS NULL " condition to a remote query,
        whereas "IS NOT NULL" requested by original query.
        
        Fixed that federated didn't check for end of key buffer, didn't
        setup key buffer pointer and remaining lenght of key buffer,
        didn't add " AND " between conditions in case original query
        has IS [NOT] NULL condition against nullable column.
        
        Fixed that federated wrongly shifts key buffer pointer by extra
        one byte when key part may be null (was: store_length + 1,
        now: store_length).
      55f6727b
  2. 13 Feb, 2008 3 commits
  3. 12 Feb, 2008 3 commits
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.1-engines · e2279a96
      unknown authored
      into  mysql.com:/home/ram/work/b33758/b33758.5.1
      
      
      e2279a96
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b33758/b33758.5.0 · ef017705
      unknown authored
      into  mysql.com:/home/ram/work/b33758/b33758.5.1
      
      
      storage/myisam/mi_open.c:
        Auto merged
      ef017705
    • unknown's avatar
      Fix for bug #33758: Got query result when using ORDER BY ASC, but · 863b86db
      unknown authored
      empty result when using DESC
      
      Problem: fetching MyISAM keys we copy a key block pointer to the end of the key buffer.
      However, we don't take into account the pointer length calculatig the buffer size,
      that may leads to memory overwriting and in turn to unpredictable results.
      
      Fix: increase key buffer size by length of the key block pointer.
      
      Note: no simple test case.
      
      
      myisam/mi_open.c:
        Fix for bug #33758: Got query result when using ORDER BY ASC, but 
        empty result when using DESC
          - increase possible maximum key length by size of the key block pointer,
            as it's copied into the key buffer in the get_key() MyISAM functions.
      863b86db
  4. 07 Feb, 2008 10 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
  5. 06 Feb, 2008 1 commit
    • 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
  6. 31 Jan, 2008 3 commits
  7. 30 Jan, 2008 1 commit
  8. 29 Jan, 2008 4 commits
  9. 28 Jan, 2008 3 commits
    • unknown's avatar
      BUG#33182: Disallow division due to div_precision_increment problems · bb091abb
      unknown authored
      
      mysql-test/r/partition.result:
        New test case to validate that '/' is no longer allowed,
        only integer division is allowed
      mysql-test/t/partition.test:
        New test case to validate that '/' is no longer allowed,
        only integer division is allowed
      sql/item_func.h:
        +,-,*, mod is allowed
        / is disallowed
      bb091abb
    • unknown's avatar
      BUG#33429: No check for maxvalue before adding partition · 21e654a8
      unknown authored
      
      mysql-test/r/partition_range.result:
        Added new test cases
      mysql-test/t/partition_range.test:
        Added new test cases
      sql/sql_partition.cc:
        Added check that last partition hasn't got maxvalue defined when
        executing ADD PARTITION
      21e654a8
    • unknown's avatar
      BUG#32943: Fixed buggy lock handling of ALTER TABLE for partitioning · 516f95ac
      unknown authored
      
      mysql-test/r/partition_range.result:
        Added new test cases for lock tables and ALTER TABLE for
        partitions, also added a test case with a trigger.
      mysql-test/t/partition_range.test:
        Added new test cases for lock tables and ALTER TABLE for
        partitions, also added a test case with a trigger.
      sql/mysql_priv.h:
        Added WFRM_KEEP_SHARE for use of code not to be used otherwise
      sql/sql_partition.cc:
        Removed get_name_lock and release_name_lock, use
        close_data_files_and_morph_locks which leaves an
        exclusive name lock after completing.
        Reopen table after completing if under lock tables
        Updated comments
      sql/sql_table.cc:
        Ensure that code to set partition syntax isn't used other than
        when specifically asked to do it.
      516f95ac
  10. 27 Jan, 2008 2 commits
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · 4bacd537
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      mysql-test/r/mysqlcheck.result:
        Use local (manual merge)
      mysql-test/t/mysqlcheck.test:
        Use local (manual merge)
      4bacd537
    • unknown's avatar
      Fix test case for Bug #25347 so that it actually tests the code fix, · 32f59206
      unknown authored
      and so that it works correctly on Windows.
      
      
      mysql-test/r/mysqlcheck.result:
        Flush tables before monkeying around with underlying MyISAM data files
      mysql-test/t/mysqlcheck.test:
        Fix the test case for bug #25347 so that it actually does test the behavior.
        Also, this makes it work on Windows by ensuring that mysqld doesn't hold the
        underlying MyISAM files open while we try to corrupt them on disk.
        
        Flush tables before monkeying around with underlying MyISAM data files;
        --use-frm, so that mysqlcheck will succeed.
      32f59206
  11. 26 Jan, 2008 4 commits
    • unknown's avatar
      Merge xiphis.org:/anubis/antony/work/bug33358.2 · b2d65369
      unknown authored
      into  xiphis.org:/anubis/antony/work/bug33358.2-merge-5.1
      
      
      b2d65369
    • unknown's avatar
      fixes to make pushbuild tests green · 70884e09
      unknown authored
      
      mysql-test/t/plugin_load-master.opt:
        add '--loose' modifier to allow test to be skipped if plugin is not available.
      sql/sql_plugin.cc:
        Failure to load a plugin from command line option made non-fatal as plugin
        load failures from plugin table is already non-fatal.
      70884e09
    • unknown's avatar
      Merge xiphis.org:/anubis/antony/work/bug33358.2 · f9064eb0
      unknown authored
      into  xiphis.org:/anubis/antony/work/bug33358.2-merge-5.1
      
      
      f9064eb0
    • unknown's avatar
      Bug#33358 · f1042103
      unknown authored
        "Plugin enum variables can't be set from command line"
        fix crash of LOCK_plugins mutex when loading plug-ins from command line.
        fix off-by-one bug when loading multiple plug-ins from the command line.
        initialize command line handling for ENUM and SET plugin variable types.
      
      
      sql/sql_plugin.cc:
        Bug33358
          fix crash of LOCK_plugins mutex when loading plug-ins from command line.
          fix off-by-one bug when loading multiple plug-ins from the command line.
          initialize command line handling for ENUM and SET plugin variable types.
      mysql-test/r/plugin_load.result:
        New BitKeeper file ``mysql-test/r/plugin_load.result''
      mysql-test/t/plugin_load-master.opt:
        New BitKeeper file ``mysql-test/t/plugin_load-master.opt''
      mysql-test/t/plugin_load.test:
        New BitKeeper file ``mysql-test/t/plugin_load.test''
      f1042103
  12. 25 Jan, 2008 4 commits
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · 8b314591
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      mysql-test/t/mysqlcheck.test:
        Manual merge
      8b314591
    • unknown's avatar
      Un-break test case on Windows, for bug #25347 · 9dbd3877
      unknown authored
      
      mysql-test/t/mysqlcheck.test:
        Use --remove_file and --write_file instead of --exec rm and --exec touch.
      9dbd3877
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · aa4f8572
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      sql/sql_select.cc:
        Auto merged
      aa4f8572
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/51 · bf541d14
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      client/mysqldump.c:
        Auto merged
      configure.in:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_head.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/handler.cc:
        Manual merge
      sql/item.cc:
        Manual merge
      bf541d14