diff options
author | unknown <jonas@perch.ndb.mysql.com> | 2006-10-25 08:49:35 +0200 |
---|---|---|
committer | unknown <jonas@perch.ndb.mysql.com> | 2006-10-25 08:49:35 +0200 |
commit | 0ab6fd5f3edfaf75de01a89695f2d1236c23f06b (patch) | |
tree | b44ba564d9a474d46fc84ee6cf1b1410be9a0716 /mysql-test | |
parent | 2318f1bf0301cc5103ca26721449d88e3f50b772 (diff) | |
parent | 12111f9541b29378b3f3aa7002c4c5f388ac5edd (diff) | |
download | mariadb-git-0ab6fd5f3edfaf75de01a89695f2d1236c23f06b.tar.gz |
Merge perch.ndb.mysql.com:/home/jonas/src/51-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/ndb_index_unique.result | 3 | ||||
-rw-r--r-- | mysql-test/t/ndb_index_unique.test | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/r/ndb_index_unique.result b/mysql-test/r/ndb_index_unique.result index bdca141df61..563024a8800 100644 --- a/mysql-test/r/ndb_index_unique.result +++ b/mysql-test/r/ndb_index_unique.result @@ -639,3 +639,6 @@ select a, sha1(b) from t1; a sha1(b) 1 08f5d02c8b8bc244f275bdfc22c42c5cab0d9d7d drop table t1; +create table t1(id int not null) engine = NDB; +alter table t1 add constraint uk_test unique (id) using hash; +drop table t1; diff --git a/mysql-test/t/ndb_index_unique.test b/mysql-test/t/ndb_index_unique.test index a40efc8a40c..94bba98662c 100644 --- a/mysql-test/t/ndb_index_unique.test +++ b/mysql-test/t/ndb_index_unique.test @@ -329,4 +329,12 @@ select a, sha1(b) from t1; drop table t1; +# bug#21873 MySQLD Crash on ALTER...ADD..UNIQUE..USING HASH statement for NDB backed table + +create table t1(id int not null) engine = NDB; + +alter table t1 add constraint uk_test unique (id) using hash; + +drop table t1; + # End of 4.1 tests |