summaryrefslogtreecommitdiff
path: root/mysql-test/t/compare.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/compare.test')
-rw-r--r--mysql-test/t/compare.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/compare.test b/mysql-test/t/compare.test
index 450d9c0961c..e5a2e310866 100644
--- a/mysql-test/t/compare.test
+++ b/mysql-test/t/compare.test
@@ -2,7 +2,10 @@
# Bug when using comparions of strings and integers.
#
+--disable_warnings
drop table if exists t1;
+--enable_warnings
+
CREATE TABLE t1 (id CHAR(12) not null, PRIMARY KEY (id));
insert into t1 values ('000000000001'),('000000000002');
explain select * from t1 where id=000000000001;