summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorunknown <istruewing@chilla.local>2007-03-27 21:19:25 +0200
committerunknown <istruewing@chilla.local>2007-03-27 21:19:25 +0200
commitc4b440aaf0838342b05e2ee16079f10ce11ee5e3 (patch)
tree4cb4357a7e7a91336f31c5d4d2495e13c6f206bd /mysql-test/r
parentcc4a0bc4ea35e152a0c3949b98c6abffd52a6155 (diff)
parentde3c37195691a19ac504dd60daf516219d59c503 (diff)
downloadmariadb-git-c4b440aaf0838342b05e2ee16079f10ce11ee5e3.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-engines
into chilla.local:/home/mydev/mysql-5.0-bug24985 sql/ha_myisam.cc: Auto merged mysql-test/r/heap_btree.result: Bug#24985 - UTF8 ENUM primary key on MEMORY using BTREE causes incorrect duplicate entries Manual merge mysql-test/t/heap_btree.test: Bug#24985 - UTF8 ENUM primary key on MEMORY using BTREE causes incorrect duplicate entries Manual merge
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/heap_btree.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/heap_btree.result b/mysql-test/r/heap_btree.result
index 7a0e46a2a1c..91f51a95936 100644
--- a/mysql-test/r/heap_btree.result
+++ b/mysql-test/r/heap_btree.result
@@ -295,6 +295,18 @@ A 1
B 0
C 0
DROP TABLE t1;
+CREATE TABLE t1 (
+c1 ENUM('1', '2'),
+UNIQUE USING BTREE(c1)
+) ENGINE= MEMORY DEFAULT CHARSET= utf8;
+INSERT INTO t1 VALUES('1'), ('2');
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 SET('1', '2'),
+UNIQUE USING BTREE(c1)
+) ENGINE= MEMORY DEFAULT CHARSET= utf8;
+INSERT INTO t1 VALUES('1'), ('2');
+DROP TABLE t1;
End of 4.1 tests
CREATE TABLE t1(val INT, KEY USING BTREE(val)) ENGINE=memory;
INSERT INTO t1 VALUES(0);