Commit 92eb0acd authored by mskold@mysql.com's avatar mskold@mysql.com

Added test for Bug#17888 DD: ADD INDEX causes error 756 'Index on disk column is not supported

parent a34be87f
......@@ -175,7 +175,8 @@ CREATE TABLE t1
(pk1 INT NOT NULL PRIMARY KEY, b INT NOT NULL, c INT NOT NULL)
TABLESPACE ts1 STORAGE DISK
ENGINE NDB;
CREATE INDEX c on t1(b, c);
CREATE INDEX b_i on t1(b);
CREATE INDEX bc_i on t1(b, c);
DROP TABLE t1;
ALTER TABLESPACE ts1
DROP DATAFILE 'datafile2.dat'
......
......@@ -263,7 +263,8 @@ CREATE TABLE t1
TABLESPACE ts1 STORAGE DISK
ENGINE NDB;
CREATE INDEX c on t1(b, c);
CREATE INDEX b_i on t1(b);
CREATE INDEX bc_i on t1(b, c);
DROP TABLE t1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment