diff --git a/mysql-test/r/ndb_dd_ddl.result b/mysql-test/r/ndb_dd_ddl.result
index 9b994b8517d48bc86664a65dfb41d7fe32a30de6..cdead6421345264ef6b7e00ab2a1a3aa969c86c6 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 4e64ee048f78b6118b0dfd5a13e1b7d2c9b0b00e..c5161bfb328839ce25b5ec5539b3522c46f2fd83 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