From 1b47e3dabddd64f56b804721a37bd5defc94d23f Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 6 Aug 2007 20:17:38 +0200 Subject: [PATCH] Make test does not fail if run with --mysqld=--default-storage-engine=X where X does not support INSERT DELAYED (like Maria) mysql-test/r/alter_table.result: result update mysql-test/t/alter_table.test: so that test does not fail if run with --mysqld=--default-storage-engine=X where X does not support INSERT DELAYED (like Maria) --- mysql-test/r/alter_table.result | 2 +- mysql-test/t/alter_table.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql-test/r/alter_table.result b/mysql-test/r/alter_table.result index cc93eab0cd5..e6c99cf0cf3 100644 --- a/mysql-test/r/alter_table.result +++ b/mysql-test/r/alter_table.result @@ -298,7 +298,7 @@ t1 0 a 1 a A 3 NULL NULL YES BTREE t1 0 a 2 b A 300 NULL NULL YES BTREE t1 1 b 1 b A 100 NULL NULL YES BTREE drop table t1; -CREATE TABLE t1 (i int(10), index(i) ); +CREATE TABLE t1 (i int(10), index(i) ) ENGINE=MyISAM; ALTER TABLE t1 DISABLE KEYS; INSERT DELAYED INTO t1 VALUES(1),(2),(3); ALTER TABLE t1 ENABLE KEYS; diff --git a/mysql-test/t/alter_table.test b/mysql-test/t/alter_table.test index fa50d75b8d2..bfec0d08679 100644 --- a/mysql-test/t/alter_table.test +++ b/mysql-test/t/alter_table.test @@ -159,7 +159,7 @@ drop table t1; # Test of ALTER TABLE DELAYED # -CREATE TABLE t1 (i int(10), index(i) ); +CREATE TABLE t1 (i int(10), index(i) ) ENGINE=MyISAM; ALTER TABLE t1 DISABLE KEYS; INSERT DELAYED INTO t1 VALUES(1),(2),(3); ALTER TABLE t1 ENABLE KEYS;