]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Another test case for the intarray($PTR,$N) virtual table.
authordrh <drh@noemail.net>
Wed, 29 Jun 2016 05:08:01 +0000 (05:08 +0000)
committerdrh <drh@noemail.net>
Wed, 29 Jun 2016 05:08:01 +0000 (05:08 +0000)
FossilOrigin-Name: 06e1fab7527c6b4330a58f8d8873afaf2d67ae86

manifest
manifest.uuid
test/tabfunc01.test

index f6356d3145533e70215acada9d4d2804a1df61b3..defdea7bc4109a5e232a521294102f86de0bb378 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Add\sa\sprototype\sintarray($PTR,$N)\stable\svalued\sfunction.
-D 2016-06-29T05:00:30.819
+C Another\stest\scase\sfor\sthe\sintarray($PTR,$N)\svirtual\stable.
+D 2016-06-29T05:08:01.847
 F Makefile.in 541d493154ec3b0b20b2f1d495ec66f55905191e
 F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
 F Makefile.msc 50149765ef72f4e652b9a0f1f6462c4784bb9423
@@ -1115,7 +1115,7 @@ F test/symlink.test c9ebe7330d228249e447038276bfc8a7b22f4849
 F test/sync.test 2f84bdbc2b2df1fcb0220575b4b9f8cea94b7529
 F test/syscall.test f59ba4e25f7ba4a4c031026cc2ef8b6e4b4c639c
 F test/sysfault.test c9f2b0d8d677558f74de750c75e12a5454719d04
-F test/tabfunc01.test a1976cbc37cbcdd4b4bd1e52d19a173dd62ab9e0
+F test/tabfunc01.test bb0ef0fdf5e807c5bc3438c8c4face4c9887971d
 F test/table.test b708f3e5fa2542fa51dfab21fc07b36ea445cb2f
 F test/tableapi.test 2674633fa95d80da917571ebdd759a14d9819126
 F test/tableopts.test dba698ba97251017b7c80d738c198d39ab747930
@@ -1503,10 +1503,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
 F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
-P f81050859170c8708a1b296da8dd3ef0dd314a11
-R 609a6d062299b01b515e433d814c02e8
-T *branch * prototype-int-array
-T *sym-prototype-int-array *
-T -sym-trunk *
+P 233b33382dc70de45f90b6dfdb5785f20b21489e
+R 67bef7ed0b382234904201d45ecddcca
 U drh
-Z 45472ddb0e35914c318f364b2c8020fb
+Z bbb146cf4e7f714032732261f87e16f3
index 2ff393eb5873f07ef2b60d0619d094a0ed38d344..ba2f320cf989f33148d35eb0aad55fc5b895a710 100644 (file)
@@ -1 +1 @@
-233b33382dc70de45f90b6dfdb5785f20b21489e
\ No newline at end of file
+06e1fab7527c6b4330a58f8d8873afaf2d67ae86
\ No newline at end of file
index 473f3f385ce9db9d6f758f960e1e5c058c2816eb..d0de104d81d0b1792ec29711a9719760ce12ffe8 100644 (file)
@@ -155,6 +155,29 @@ do_test tabfunc01-621 {
   sqlite3_column_int $VM 0
 } 22
 sqlite3_finalize $VM
+
+do_test tabfunc01-650 {
+  db eval {
+    DROP TABLE IF EXISTS t6;
+    CREATE TABLE t6(x INTEGER PRIMARY KEY, y BLOB);
+    WITH RECURSIVE c(x) AS (VALUES(1) UNION ALL SELECT x+1 FROM c WHERE x<100)
+      INSERT INTO t6(x,y) SELECT x, randomblob(x) FROM c;
+  }
+  set TAIL {}
+  set VM [sqlite3_prepare db {
+     SELECT length(y) FROM t6 WHERE x IN (SELECT value FROM intarray(?1,3));
+  } -1 TAIL]
+  string trim $TAIL
+} {}
+do_test tabfunc01-660 {
+  sqlite3_bind_intarray $VM 1 11 22 33 44 55
+  sqlite3_step $VM
+} SQLITE_ROW
+do_test tabfunc01-661 {
+  sqlite3_column_int $VM 0
+} 11
+sqlite3_finalize $VM
+
 catch {sqlite3_bind_intarray}
 
 finish_test