diff options
author | unknown <pem@mysql.com> | 2003-05-13 19:16:30 +0200 |
---|---|---|
committer | unknown <pem@mysql.com> | 2003-05-13 19:16:30 +0200 |
commit | 563c32ccd1f5a212dfb270097c1dbd1cdc1be907 (patch) | |
tree | 21315a755f5391934d3a15d07985511dd08bc06e /mysql-test/t/key.test | |
parent | 4ccf66df87bfe9290d686e7abd585d3ffe1c1370 (diff) | |
download | mariadb-git-563c32ccd1f5a212dfb270097c1dbd1cdc1be907.tar.gz |
Fix of bug 390: primary key now implies (silently) NOT NULL for key fields.
Diffstat (limited to 'mysql-test/t/key.test')
-rw-r--r-- | mysql-test/t/key.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/key.test b/mysql-test/t/key.test index 1996c793880..4c9b6479ac2 100644 --- a/mysql-test/t/key.test +++ b/mysql-test/t/key.test @@ -54,12 +54,12 @@ INSERT INTO t1 VALUES (900,'Vancouver','Shared/Roomate','Y','Y','Y','Y'); drop table t1; # -# problem med primary key +# No longer a problem with primary key # CREATE TABLE t1 (program enum('signup','unique','sliding') not null, type enum('basic','sliding','signup'), sites set('mt'), PRIMARY KEY (program)); # The following should give an error for wrong primary key -!$1171 ALTER TABLE t1 modify program enum('signup','unique','sliding'); +ALTER TABLE t1 modify program enum('signup','unique','sliding'); drop table t1; # |