summaryrefslogtreecommitdiff
path: root/mysql-test/t/group_by.test
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-09-09 09:44:58 +0200
committerunknown <serg@serg.mylan>2005-09-09 09:44:58 +0200
commit5facb8982782d841e6ae6826fea93344fe83527c (patch)
tree78ead8a051f9d958e63948ef36143247fd1a2065 /mysql-test/t/group_by.test
parentee7f419264da10143de516b467ce3753f70d557b (diff)
parent213fa9cbc234c1a10e50f2bf53b2e1f520284034 (diff)
downloadmariadb-git-5facb8982782d841e6ae6826fea93344fe83527c.tar.gz
merged
sql/item_cmpfunc.h: Auto merged
Diffstat (limited to 'mysql-test/t/group_by.test')
-rw-r--r--mysql-test/t/group_by.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/group_by.test b/mysql-test/t/group_by.test
index 8300b502518..60b6ced9d6a 100644
--- a/mysql-test/t/group_by.test
+++ b/mysql-test/t/group_by.test
@@ -602,6 +602,16 @@ SELECT n+1 AS n FROM t1 GROUP BY n;
--enable_ps_protocol
DROP TABLE t1;
+#
+# BUG#12695: Item_func_isnull::update_used_tables
+# did not update const_item_cache
+#
+create table t1(f1 varchar(5) key);
+insert into t1 values (1),(2);
+select sql_buffer_result max(f1) is null from t1;
+select sql_buffer_result max(f1)+1 from t1;
+drop table t1;
+
# End of 4.1 tests
#