diff options
author | Alexey Botchkov <holyfoot@mysql.com> | 2010-05-31 18:33:38 +0500 |
---|---|---|
committer | Alexey Botchkov <holyfoot@mysql.com> | 2010-05-31 18:33:38 +0500 |
commit | ec4033b5068bdecb761a7d961ccd82ee0b42b5e8 (patch) | |
tree | 988dca38ef7774a80e71700192bdc93cd181d54c /mysql-test/r/alter_table.result | |
parent | 9ab22b4e2ba2e3d45403a146558b5546fa9e7cf2 (diff) | |
download | mariadb-git-ec4033b5068bdecb761a7d961ccd82ee0b42b5e8.tar.gz |
test added for the bug #45052
Diffstat (limited to 'mysql-test/r/alter_table.result')
-rw-r--r-- | mysql-test/r/alter_table.result | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/alter_table.result b/mysql-test/r/alter_table.result index 581ce66a3d4..90dde034e10 100644 --- a/mysql-test/r/alter_table.result +++ b/mysql-test/r/alter_table.result @@ -1366,3 +1366,7 @@ ERROR HY000: Incorrect prefix key; the used key part isn't a string, the used le CREATE INDEX i2 ON t1 (a(20)); ERROR HY000: Incorrect prefix key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique prefix keys DROP TABLE t1; +CREATE TABLE t1 (id int); +INSERT INTO t1 VALUES (1), (2); +ALTER TABLE t1 ADD COLUMN (f1 INT), ADD COLUMN (f2 INT), ADD KEY f2k(f2); +DROP TABLE t1; |