aboutsummaryrefslogtreecommitdiff
path: root/test/select1.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/select1.test')
-rw-r--r--test/select1.test20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/select1.test b/test/select1.test
index 27191caf6..47dcd0fe4 100644
--- a/test/select1.test
+++ b/test/select1.test
@@ -1165,4 +1165,24 @@ do_execsql_test select1-18.4 {
);
} {1}
+# 2019-12-17 gramfuzz find
+#
+do_execsql_test select-19.10 {
+ DROP TABLE IF EXISTS t1;
+ CREATE TABLE t1(x);
+} {}
+do_catchsql_test select-19.20 {
+ INSERT INTO t1
+ SELECT 1,2,3,4,5,6,7
+ UNION ALL SELECT 1,2,3,4,5,6,7
+ ORDER BY 1;
+} {1 {table t1 has 1 columns but 7 values were supplied}}
+do_catchsql_test select-19.21 {
+ INSERT INTO t1
+ SELECT 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
+ UNION ALL SELECT 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
+ ORDER BY 1;
+} {1 {table t1 has 1 columns but 15 values were supplied}}
+
+
finish_test