diff options
author | unknown <mskold@mysql.com> | 2006-04-26 17:00:59 +0200 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2006-04-26 17:00:59 +0200 |
commit | 2a89d99da4c854618d747d13c1f9581b475077f0 (patch) | |
tree | 98e83f3ccffee39e1abac80cca9f89fd7b973421 /mysql-test/r/ndb_index_unique.result | |
parent | 09999bc21f876242aa6473029198b4a7d5a46557 (diff) | |
download | mariadb-git-2a89d99da4c854618d747d13c1f9581b475077f0.tar.gz |
Added test for violation of uniqueness constraint at create index
Diffstat (limited to 'mysql-test/r/ndb_index_unique.result')
-rw-r--r-- | mysql-test/r/ndb_index_unique.result | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/r/ndb_index_unique.result b/mysql-test/r/ndb_index_unique.result index 229339d603e..497ad973e8b 100644 --- a/mysql-test/r/ndb_index_unique.result +++ b/mysql-test/r/ndb_index_unique.result @@ -45,6 +45,8 @@ a b c 8 2 3 alter table t1 drop index ib; insert into t1 values(1, 2, 3); +create unique index ib on t1(b); +ERROR 23000: Can't write, because of unique constraint, to table 't1' drop table t1; CREATE TABLE t1 ( a int unsigned NOT NULL PRIMARY KEY, |