summaryrefslogtreecommitdiff
path: root/mysql-test/r/alter_table.result
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@mysql.com>2010-05-31 18:33:38 +0500
committerAlexey Botchkov <holyfoot@mysql.com>2010-05-31 18:33:38 +0500
commitec4033b5068bdecb761a7d961ccd82ee0b42b5e8 (patch)
tree988dca38ef7774a80e71700192bdc93cd181d54c /mysql-test/r/alter_table.result
parent9ab22b4e2ba2e3d45403a146558b5546fa9e7cf2 (diff)
downloadmariadb-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.result4
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;