summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/s3/select.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/s3/select.test')
-rw-r--r--mysql-test/suite/s3/select.test17
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/suite/s3/select.test b/mysql-test/suite/s3/select.test
new file mode 100644
index 00000000..223311cb
--- /dev/null
+++ b/mysql-test/suite/s3/select.test
@@ -0,0 +1,17 @@
+--source include/have_s3.inc
+--source create_database.inc
+
+#
+# MDEV-19465 Server crashes in s3_block_read upon IN quer
+#
+
+create table t1 (pk int primary key, a int);
+insert into t1 values (1,1),(2,2),(3,3),(4,4);
+alter table t1 engine=S3;
+select a from t1 where pk in (2, 3);
+drop table t1;
+
+#
+# clean up
+#
+--source drop_database.inc