diff options
author | unknown <pekka@mysql.com> | 2006-02-07 19:57:31 +0100 |
---|---|---|
committer | unknown <pekka@mysql.com> | 2006-02-07 19:57:31 +0100 |
commit | 245948654d4b44c3428ef47a8c228808a49a40f8 (patch) | |
tree | 8db25cb7ed0774e8cdd8c82a32df65855275d4b3 /mysql-test/r/ndb_index_unique.result | |
parent | 895d09469aefdbd8f98737db2a43b1029ba206f1 (diff) | |
download | mariadb-git-245948654d4b44c3428ef47a8c228808a49a40f8.tar.gz |
ndb - bug#15918 fix
mysql-test/r/ndb_index_unique.result:
bug#15918 fix
mysql-test/t/ndb_index_unique.test:
bug#15918 fix
ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
bug#15918 fix
sql/ha_ndbcluster.cc:
bug#15918 fix
sql/ha_ndbcluster.h:
bug#15918 fix
Diffstat (limited to 'mysql-test/r/ndb_index_unique.result')
-rw-r--r-- | mysql-test/r/ndb_index_unique.result | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/ndb_index_unique.result b/mysql-test/r/ndb_index_unique.result index 1401ae26ddb..7864a5d1354 100644 --- a/mysql-test/r/ndb_index_unique.result +++ b/mysql-test/r/ndb_index_unique.result @@ -626,3 +626,12 @@ select * from t1 where code = '12' and month = 4 and year = 2004 ; id month year code 1 4 2004 12 drop table t1; +create table t1 (a int primary key, b varchar(1000) not null, unique key (b)) +engine=ndb charset=utf8; +insert into t1 values (1, repeat(_utf8 0xe288ab6474, 200)); +insert into t1 values (2, repeat(_utf8 0xe288ab6474, 200)); +ERROR 23000: Duplicate entry '2' for key 1 +select a, sha1(b) from t1; +a sha1(b) +1 08f5d02c8b8bc244f275bdfc22c42c5cab0d9d7d +drop table t1; |