From aef3ead4bc725323a0e5fd8229684401ca2d2419 Mon Sep 17 00:00:00 2001 From: "marty@linux.site" <> Date: Tue, 31 Jan 2006 20:11:43 +0100 Subject: [PATCH] Added test case for creating index on disk stored table --- mysql-test/r/ndb_dd_ddl.result | 1 + mysql-test/t/ndb_dd_ddl.test | 2 ++ 2 files changed, 3 insertions(+) diff --git a/mysql-test/r/ndb_dd_ddl.result b/mysql-test/r/ndb_dd_ddl.result index 9b994b8517d..cdead642134 100644 --- a/mysql-test/r/ndb_dd_ddl.result +++ b/mysql-test/r/ndb_dd_ddl.result @@ -175,6 +175,7 @@ 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(c); DROP TABLE t1; ALTER TABLESPACE ts1 DROP DATAFILE 'datafile2.dat' diff --git a/mysql-test/t/ndb_dd_ddl.test b/mysql-test/t/ndb_dd_ddl.test index 4e64ee048f7..c5161bfb328 100644 --- a/mysql-test/t/ndb_dd_ddl.test +++ b/mysql-test/t/ndb_dd_ddl.test @@ -263,6 +263,8 @@ CREATE TABLE t1 TABLESPACE ts1 STORAGE DISK ENGINE NDB; +CREATE INDEX c on t1(c); + DROP TABLE t1; ALTER TABLESPACE ts1