summaryrefslogtreecommitdiff
path: root/mysql-test/t/heap_hash.test
diff options
context:
space:
mode:
authorunknown <kaa@polly.local>2007-05-31 16:04:58 +0400
committerunknown <kaa@polly.local>2007-05-31 16:04:58 +0400
commitd51f0e05038e1127bf4e5c9b9e10f0bf04b52bcb (patch)
treee714494db66e351ab8ead57db21f67553ea5cc30 /mysql-test/t/heap_hash.test
parentd92bc733f8554dfe815cc0ceec5bbe1600453507 (diff)
downloadmariadb-git-d51f0e05038e1127bf4e5c9b9e10f0bf04b52bcb.tar.gz
Corrected the error codes and messages for 5.1. This is to fix PB failures introduced by the patch for bug #27643.
mysql-test/r/ctype_ucs2_def.result: Corrected the error messages for 5.1 mysql-test/r/heap_hash.result: Corrected the error messages for 5.1 mysql-test/t/ctype_ucs2_def.test: Corrected the error codes for 5.1. mysql-test/t/heap_hash.test: Corrected the error codes for 5.1.
Diffstat (limited to 'mysql-test/t/heap_hash.test')
-rw-r--r--mysql-test/t/heap_hash.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/heap_hash.test b/mysql-test/t/heap_hash.test
index 005d4d2a527..3b9262e73f1 100644
--- a/mysql-test/t/heap_hash.test
+++ b/mysql-test/t/heap_hash.test
@@ -272,14 +272,14 @@ CREATE TABLE t1(col1 VARCHAR(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
col2 VARCHAR(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
UNIQUE KEY key1 USING HASH (col1, col2)) ENGINE=MEMORY;
INSERT INTO t1 VALUES('A', 'A');
---error ER_DUP_ENTRY
+--error ER_DUP_ENTRY_WITH_KEY_NAME
INSERT INTO t1 VALUES('A ', 'A ');
DROP TABLE t1;
CREATE TABLE t1(col1 VARCHAR(32) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,
col2 VARCHAR(32) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,
UNIQUE KEY key1 USING HASH (col1, col2)) ENGINE=MEMORY;
INSERT INTO t1 VALUES('A', 'A');
---error ER_DUP_ENTRY
+--error ER_DUP_ENTRY_WITH_KEY_NAME
INSERT INTO t1 VALUES('A ', 'A ');
DROP TABLE t1;