aboutsummaryrefslogtreecommitdiff
path: root/test/json101.test
diff options
context:
space:
mode:
authordrh <>2022-01-30 11:42:56 +0000
committerdrh <>2022-01-30 11:42:56 +0000
commitddd166a350b64fe3c9a91a740c1e42286ef507ec (patch)
treee5c44e81799dfbbf1dfc5545c6a21b4c00b54fe9 /test/json101.test
parent86c756015bc57a729ce2e3e188792d798d8747aa (diff)
downloadsqlite-ddd166a350b64fe3c9a91a740c1e42286ef507ec.tar.gz
sqlite-ddd166a350b64fe3c9a91a740c1e42286ef507ec.zip
Remove a faulty NEVER(). Fix for dbsqlfuzz 4678cf825d27f87c9b8343720121e12cf944b71a
FossilOrigin-Name: d4e402458dd4cadb623a30158eb9ff5f24f011240b3b1bc5b1d6ae3c5b855892
Diffstat (limited to 'test/json101.test')
-rw-r--r--test/json101.test13
1 files changed, 8 insertions, 5 deletions
diff --git a/test/json101.test b/test/json101.test
index 0d59f2e83..184527917 100644
--- a/test/json101.test
+++ b/test/json101.test
@@ -15,11 +15,6 @@
set testdir [file dirname $argv0]
source $testdir/tester.tcl
-ifcapable !json1 {
- finish_test
- return
-}
-
do_execsql_test json101-1.1.00 {
SELECT json_array(1,2.5,null,'hello');
} {[1,2.5,null,"hello"]}
@@ -846,5 +841,13 @@ do_execsql_test json-16.30 {
SELECT unicode(json_extract('"\uD834\uDD1E"','$'));
} {119070}
+# 2022-01-30 dbsqlfuzz 4678cf825d27f87c9b8343720121e12cf944b71a
+do_execsql_test json-17.1 {
+ DROP TABLE IF EXISTS t1;
+ DROP TABLE IF EXISTS t2;
+ CREATE TABLE t1(a,b,c);
+ CREATE TABLE t2(d);
+ SELECT * FROM t1 LEFT JOIN t2 ON (SELECT b FROM json_each ORDER BY 1);
+} {}
finish_test