summaryrefslogtreecommitdiff
path: root/mysql-test/t/select.test
diff options
context:
space:
mode:
authorunknown <gshchepa/uchum@gleb.loc>2007-11-18 16:54:47 +0400
committerunknown <gshchepa/uchum@gleb.loc>2007-11-18 16:54:47 +0400
commite316f813d922f8666c4ad3dec684939f19aeebca (patch)
tree201f7442552a68e656b68ed9bbec8fc3bdc0f54a /mysql-test/t/select.test
parent6bb3c8ee4748bb39ad13a81c71d0a3877a1b4359 (diff)
parent99054db64c8a41acbe570756e286a8d78811197c (diff)
downloadmariadb-git-e316f813d922f8666c4ad3dec684939f19aeebca.tar.gz
Merge gleb.loc:/work/bk/PA/5.0-opt-32335
into gleb.loc:/work/bk/5.1-opt mysql-test/r/select.result: Auto merged mysql-test/t/select.test: Auto merged sql/item_cmpfunc.cc: Merge with 5.0-opt.
Diffstat (limited to 'mysql-test/t/select.test')
-rw-r--r--mysql-test/t/select.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/select.test b/mysql-test/t/select.test
index 65e7f212732..bc0e4ae307f 100644
--- a/mysql-test/t/select.test
+++ b/mysql-test/t/select.test
@@ -3650,6 +3650,17 @@ DROP TABLE t2;
###########################################################################
+#
+# Bug #32335: Error on BIGINT > NULL + 1
+#
+
+CREATE TABLE t1 (c1 BIGINT NOT NULL);
+INSERT INTO t1 (c1) VALUES (1);
+SELECT * FROM t1 WHERE c1 > NULL + 1;
+DROP TABLE t1;
+
+--echo
+
--echo End of 5.0 tests
#