summaryrefslogtreecommitdiff
path: root/mysql-test/t/sp.test
diff options
context:
space:
mode:
authorunknown <df@pippilotta.erinye.com>2007-04-25 20:23:19 +0200
committerunknown <df@pippilotta.erinye.com>2007-04-25 20:23:19 +0200
commit246232268c598e68a376d634a79ed4eb5cb040e4 (patch)
tree1f19a590de2a3b7c42061f7ed4c02def4d2c37a0 /mysql-test/t/sp.test
parent9e509675842c465c2876f190f8c3e8fa46747d4f (diff)
downloadmariadb-git-246232268c598e68a376d634a79ed4eb5cb040e4.tar.gz
Fix test case that was broken for builds without InnoDB.
mysql-test/t/sp.test: Disable warnings during table creation in one place where engine=innodb is used, in order to make this test case work with a mysqld that was compiled without InnoDB.
Diffstat (limited to 'mysql-test/t/sp.test')
-rw-r--r--mysql-test/t/sp.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/sp.test b/mysql-test/t/sp.test
index 64876ae0584..c94a526e10c 100644
--- a/mysql-test/t/sp.test
+++ b/mysql-test/t/sp.test
@@ -7075,8 +7075,11 @@ DROP FUNCTION bug5274_f2|
delimiter ;|
drop table t1,t2;
+# Disable warnings to allow test run without InnoDB
+--disable_warnings
CREATE TABLE t1 (a int auto_increment primary key) engine=MyISAM;
CREATE TABLE t2 (a int auto_increment primary key, b int) engine=innodb;
+--enable_warnings
set @a=0;
delimiter |;