summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mysql.com>2009-12-24 21:18:53 +0100
committerSergei Golubchik <serg@mysql.com>2009-12-24 21:18:53 +0100
commit56deea0dd73621031055fc3477bdd2219e09cb84 (patch)
tree913201b52288ce791f2ef984fc9e15dbeccc52c6 /mysql-test/t
parent025d86a60a9c797b689b3d3a2b1c626bd3d7f5f3 (diff)
parent10eab6ccb0210f238e6a21a0f25899c804717653 (diff)
downloadmariadb-git-56deea0dd73621031055fc3477bdd2219e09cb84.tar.gz
merged
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/disabled.def1
-rw-r--r--mysql-test/t/partition_column.test17
2 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/t/disabled.def b/mysql-test/t/disabled.def
index 3d9dc72ee45..97237d5da73 100644
--- a/mysql-test/t/disabled.def
+++ b/mysql-test/t/disabled.def
@@ -13,3 +13,4 @@ kill : Bug#37780 2008-12-03 HHunger need some changes to be
query_cache_28249 : Bug#43861 2009-03-25 main.query_cache_28249 fails sporadicallyr
innodb-autoinc : Bug#49267 2009-12-02 test fails on windows because of different case mode
innodb : Bug#49396 2009-12-03 test fails in embedded mode
+plugin_load : Bug#42144 2009-12-21 alik plugin_load fails
diff --git a/mysql-test/t/partition_column.test b/mysql-test/t/partition_column.test
index 9e47b94b036..a0e944ceb09 100644
--- a/mysql-test/t/partition_column.test
+++ b/mysql-test/t/partition_column.test
@@ -24,6 +24,23 @@ partition by range columns (a,b,c)
partition p1 values less than (1, maxvalue, maxvalue));
#
+# BUG#48737, Search fails with ucs2
+#
+create table t1 (a varchar(5) character set ucs2 collate ucs2_bin)
+partition by range columns (a)
+(partition p0 values less than (0x0041));
+insert into t1 values (0x00410000);
+select hex(a) from t1 where a like 'A_';
+explain partitions select hex(a) from t1 where a like 'A_';
+alter table t1 remove partitioning;
+select hex(a) from t1 where a like 'A_';
+create index a on t1 (a);
+select hex(a) from t1 where a like 'A_';
+insert into t1 values ('A_');
+select hex(a) from t1;
+drop table t1;
+
+#
# BUG#48161, Delivering too few records using collate syntax with partitions
#
# Test case from BUG#48447 with some extension