summaryrefslogtreecommitdiff
path: root/mysql-test/t/null.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/null.test')
-rw-r--r--mysql-test/t/null.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/mysql-test/t/null.test b/mysql-test/t/null.test
index ad32e0be6ff..087ef81e13e 100644
--- a/mysql-test/t/null.test
+++ b/mysql-test/t/null.test
@@ -1,3 +1,8 @@
+# Initialise
+--disable_warnings
+drop table if exists t1;
+--enable_warnings
+
#
# Testing of NULL in a lot of different places
#
@@ -15,7 +20,6 @@ SELECT (NULL OR NULL) IS NULL;
select NULL AND 0, 0 and NULL;
select inet_ntoa(null),inet_aton(null),inet_aton("122.256"),inet_aton("122.226."),inet_aton("");
-drop table if exists t1;
create table t1 (x int);
insert into t1 values (null);
select * from t1 where x != 0;