summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_in.test
diff options
context:
space:
mode:
authorunknown <kaa@polly.local>2006-12-08 16:02:42 +0300
committerunknown <kaa@polly.local>2006-12-08 16:02:42 +0300
commit7c82a904f387a5dceaadf7e77b6986f631476cea (patch)
tree4d37843c703102969401e1b157dfdd2865971756 /mysql-test/t/func_in.test
parent266bf3390c80e72fecdcec3712dfad18c4bf6b5b (diff)
parent2e758a7c23fda7fada49d0cca547680cf26cafad (diff)
downloadmariadb-git-7c82a904f387a5dceaadf7e77b6986f631476cea.tar.gz
Merge polly.local:/tmp/maint/bug24261/my50-bug24261
into polly.local:/tmp/maint/bug24261/my51-bug24261 mysql-test/r/func_in.result: Auto merged mysql-test/t/func_in.test: Auto merged sql/opt_range.cc: Auto merged
Diffstat (limited to 'mysql-test/t/func_in.test')
-rw-r--r--mysql-test/t/func_in.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/func_in.test b/mysql-test/t/func_in.test
index 906747c2f78..9c924a930f3 100644
--- a/mysql-test/t/func_in.test
+++ b/mysql-test/t/func_in.test
@@ -231,6 +231,13 @@ insert into t1 values (1),(2);
select some_id from t1 where some_id not in(2,-1);
select some_id from t1 where some_id not in(-4,-1,-4);
select some_id from t1 where some_id not in(-4,-1,3423534,2342342);
+
+#
+# BUG#24261: crash when WHERE contains NOT IN ('<negative value>') for unsigned column type
+#
+
+select some_id from t1 where some_id not in('-1', '0');
+
drop table t1;
#