summaryrefslogtreecommitdiff
path: root/mysql-test/t/insert.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/insert.test')
-rw-r--r--mysql-test/t/insert.test15
1 files changed, 10 insertions, 5 deletions
diff --git a/mysql-test/t/insert.test b/mysql-test/t/insert.test
index 9b06b522028..bfa8aac7a1f 100644
--- a/mysql-test/t/insert.test
+++ b/mysql-test/t/insert.test
@@ -2,7 +2,10 @@
# Test of refering to old values
#
+--disable_warnings
drop table if exists t1;
+--enable_warnings
+
create table t1 (a int not null);
insert into t1 values (1);
insert into t1 values (a+2);
@@ -54,9 +57,11 @@ drop table t1;
# Test of mysqld crash with fully qualified column names
#
-drop database if exists foo;
-create database foo;
-use foo;
+--disable_warnings
+drop database if exists test_$1;
+--enable_warnings
+create database test_$1;
+use test_$1;
create table t1 (c int);
-insert into foo.t1 set foo.t1.c = '1';
-drop database foo;
+insert into test_$1.t1 set test_$1.t1.c = '1';
+drop database test_$1;