summaryrefslogtreecommitdiff
path: root/mysql-test/t/innodb_handler.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/innodb_handler.test')
-rw-r--r--mysql-test/t/innodb_handler.test12
1 files changed, 5 insertions, 7 deletions
diff --git a/mysql-test/t/innodb_handler.test b/mysql-test/t/innodb_handler.test
index 6b85be9c7ab..0af822334fa 100644
--- a/mysql-test/t/innodb_handler.test
+++ b/mysql-test/t/innodb_handler.test
@@ -62,15 +62,13 @@ handler t2 read a=(19) where b="yyy";
handler t2 read first;
handler t2 read next;
-#
-# We alter the table even if it's still in use by to test the Innodb
-# delayed-drop code. This will generate a warning in the master.err log.
-#
+handler t2 close;
+
+handler t1 open as t2;
+handler t2 read first;
alter table t1 type=innodb;
-handler t2 read next;
---error 1064
+--error 1109
handler t2 read last;
-handler t2 close;
drop table if exists t1;