From 8fdffd1b75ca50c77790d3d5f198599892558a40 Mon Sep 17 00:00:00 2001 From: "cmiller@zippy.cornsilk.net" <> Date: Wed, 6 Sep 2006 14:23:39 -0400 Subject: [PATCH] Fix merge problems; work around disparate "ls" behaviors. --- mysql-test/r/ctype_recoding.result | 2 +- mysql-test/t/heap_btree.test | 12 ------------ mysql-test/t/partition.test | 16 ++++++++++------ 3 files changed, 11 insertions(+), 19 deletions(-) diff --git a/mysql-test/r/ctype_recoding.result b/mysql-test/r/ctype_recoding.result index acb07d1aa5d..d0087b03c17 100644 --- a/mysql-test/r/ctype_recoding.result +++ b/mysql-test/r/ctype_recoding.result @@ -253,7 +253,7 @@ create table t1(a char character set cp1251 default _koi8r 0xFF); show create table t1; Table Create Table t1 CREATE TABLE `t1` ( - `a` char(1) character set cp1251 default 'ÿ' + `a` char(1) CHARACTER SET cp1251 DEFAULT 'ÿ' ) ENGINE=MyISAM DEFAULT CHARSET=latin1 drop table t1; create table t1(a char character set latin1 default _cp1251 0xFF); diff --git a/mysql-test/t/heap_btree.test b/mysql-test/t/heap_btree.test index 12c911aa9c9..03ba8661a3c 100644 --- a/mysql-test/t/heap_btree.test +++ b/mysql-test/t/heap_btree.test @@ -204,16 +204,4 @@ CREATE TABLE t1 (a INT, UNIQUE USING BTREE(a)) ENGINE=MEMORY; INSERT INTO t1 VALUES(NULL),(NULL); DROP TABLE t1; -select a from t1 where a > 2; -delete from t1 where a < 4; -select a from t1 order by a; -insert into t1 values (2), (2), (2), (1), (1), (3), (3), (3), (3); -select a from t1 where a > 4; -delete from t1 where a > 4; -select a from t1 order by a; -select a from t1 where a > 3; -delete from t1 where a >= 2; -select a from t1 order by a; -drop table t1; - --echo End of 5.0 tests diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test index 532a63b0d24..928d855f9f4 100644 --- a/mysql-test/t/partition.test +++ b/mysql-test/t/partition.test @@ -1340,11 +1340,13 @@ subpartition by hash (a) (SUBPARTITION subpart00, SUBPARTITION subpart01)); --replace_result $MYSQLTEST_VARDIR "hello" ---exec ls $MYSQLTEST_VARDIR/master-data/test/t1* || true +--exec ls $MYSQLTEST_VARDIR/master-data/test/t1.* || true --replace_result $MYSQLTEST_VARDIR "hello" ---exec ls $MYSQLTEST_VARDIR/master-data/tmpdata/t1* || true +--exec ls $MYSQLTEST_VARDIR/master-data/test/t1#* || true --replace_result $MYSQLTEST_VARDIR "hello" ---exec ls $MYSQLTEST_VARDIR/master-data/tmpinx/t1* || true +--exec ls $MYSQLTEST_VARDIR/master-data/tmpdata/t1#* || true +--replace_result $MYSQLTEST_VARDIR "hello" +--exec ls $MYSQLTEST_VARDIR/master-data/tmpinx/t1#* || true --replace_result $MYSQLTEST_VARDIR "hello" eval ALTER TABLE t1 REORGANIZE PARTITION p0 INTO @@ -1354,11 +1356,13 @@ eval ALTER TABLE t1 REORGANIZE PARTITION p0 INTO (SUBPARTITION subpart20, SUBPARTITION subpart21)); --replace_result $MYSQLTEST_VARDIR "hello" ---exec ls $MYSQLTEST_VARDIR/master-data/test/t1* || true +--exec ls $MYSQLTEST_VARDIR/master-data/test/t1.* || true --replace_result $MYSQLTEST_VARDIR "hello" ---exec ls $MYSQLTEST_VARDIR/master-data/tmpdata/t1* || true +--exec ls $MYSQLTEST_VARDIR/master-data/test/t1#* || true --replace_result $MYSQLTEST_VARDIR "hello" ---exec ls $MYSQLTEST_VARDIR/master-data/tmpinx/t1* || true +--exec ls $MYSQLTEST_VARDIR/master-data/tmpdata/t1#* || true +--replace_result $MYSQLTEST_VARDIR "hello" +--exec ls $MYSQLTEST_VARDIR/master-data/tmpinx/t1#* || true drop table t1; --exec rmdir $MYSQLTEST_VARDIR/master-data/tmpdata || true