]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add releasetest.tcl cases for SQLITE_LIKE_DOESNT_MATCH_BLOB and
authordrh <drh@noemail.net>
Mon, 4 Jan 2016 01:08:50 +0000 (01:08 +0000)
committerdrh <drh@noemail.net>
Mon, 4 Jan 2016 01:08:50 +0000 (01:08 +0000)
for SQLITE_ENABLE_CURSOR_HINTS.

FossilOrigin-Name: f300c35efa5f7383b2a74b1c9466c243c17815e4

manifest
manifest.uuid
test/cursorhint.test
test/releasetest.tcl

index 584914720e16abadbd9d1ea2d54beb5afcddbb3b..00ec784d9b807a5308fb79c0e19ce1823346bcf2 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Bug\sfix:\sthe\sconflict\sresolution\sbehavior\sfor\sthe\simplied\sNOT\sNULL\sconstraint\non\sthe\sPRIMARY\sKEY\sof\sa\sWITHOUT\sROWID\stable\sshould\sbe\sABORT.
-D 2016-01-03T18:07:57.631
+C Add\sreleasetest.tcl\scases\sfor\sSQLITE_LIKE_DOESNT_MATCH_BLOB\sand\nfor\sSQLITE_ENABLE_CURSOR_HINTS.
+D 2016-01-04T01:08:50.342
 F Makefile.in 28bcd6149e050dff35d4dcfd97e890cd387a499d
 F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
 F Makefile.msc 5fff077fcc46de7714ed6eebb6159a4c00eab751
@@ -562,7 +562,7 @@ F test/crashtest1.c 09c1c7d728ccf4feb9e481671e29dda5669bbcc2
 F test/createtab.test b5de160630b209c4b8925bdcbbaf48cc90b67fe8
 F test/cse.test 277350a26264495e86b1785f34d2d0c8600e021c
 F test/ctime.test 7bd009071e242aac4f18521581536b652b789a47
-F test/cursorhint.test 432811b62bd5ffb812729f49bba3b9ad687550bb
+F test/cursorhint.test 7bc346788390475e77a345da2b92270d04d35856
 F test/date.test 984ac1e3e5e031386866f034006148d3972b4a65
 F test/dbstatus.test 8de104bb5606f19537d23cd553b41349b5ab1204
 F test/dbstatus2.test 10418e62b3db5dca070f0c3eef3ea13946f339c2
@@ -947,7 +947,7 @@ F test/rbu.test 168573d353cd0fd10196b87b0caa322c144ef736
 F test/rdonly.test 64e2696c322e3538df0b1ed624e21f9a23ed9ff8
 F test/regexp1.test 497ea812f264d12b6198d6e50a76be4a1973a9d8
 F test/reindex.test 44edd3966b474468b823d481eafef0c305022254
-F test/releasetest.tcl f84ff16fef79ee5d328eee7c48da084a775d101c
+F test/releasetest.tcl 975449bf742b8bb9025208292208af816a1fcb58
 F test/resolver01.test f4022acafda7f4d40eca94dbf16bc5fc4ac30ceb
 F test/rollback.test 458fe73eb3ffdfdf9f6ba3e9b7350a6220414dea
 F test/rollback2.test fc14cf6d1a2b250d2735ef16124b971bce152f14
@@ -1406,7 +1406,7 @@ F tool/vdbe_profile.tcl 246d0da094856d72d2c12efec03250d71639d19f
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh 48bd54594752d5be3337f12c72f28d2080cb630b
 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P 76f5efa68728d899a63a74f2528dfd0c497aa5f0
-R 478df71a9631f4b73fcefbae5de2f355
+P e30062e9f6cae980150dda7df440b36dfdcb7bbe
+R 60c0d617eaaaa3eb60de4d61ace77f3f
 U drh
-Z 2ce3cb02ff6782c368c437352328d0d1
+Z bf759b86247c24cfa4d33f391ba06db6
index c0ad5b411dff12f302b7eb7570fca7d90b0d52c5..6624b9ab92bbb2a93bf2bd02af1e5f973263dfd2 100644 (file)
@@ -1 +1 @@
-e30062e9f6cae980150dda7df440b36dfdcb7bbe
\ No newline at end of file
+f300c35efa5f7383b2a74b1c9466c243c17815e4
\ No newline at end of file
index 69bc248cd787f0659acdc3aa04ade0d5bdfebf98..ae86120fa8912ed18aaac704e709c45d7708ef98 100644 (file)
@@ -46,10 +46,10 @@ proc p4_of_opcode {db opcode sql} {
 # Run EXPLAIN on $sql.  Return a list of P5 values for all $opcode
 # opcodes that contain regexp $comment in their comment
 #
-proc p5_of_opcode {db opcode comment sql} {
+proc p5_of_opcode {db opcode sql} {
   set res {}
   $db eval "EXPLAIN $sql" x {
-    if {$x(opcode)==$opcode && [regexp $comment $x(comment)]} {
+    if {$x(opcode)==$opcode} {
       lappend res $x(p5)
     }
   }
@@ -66,7 +66,7 @@ do_test 1.1 {
   }
 } {{EQ(r[1],c0)}}
 do_test 1.2 {
-  p5_of_opcode db OpenRead {
+  p5_of_opcode db OpenRead {
      SELECT * FROM t1 CROSS JOIN t2 WHERE a=x
   }
 } {00 00}
@@ -79,7 +79,7 @@ do_test 2.1 {
   }
 } {{EQ(c0,r[1])}}
 do_test 2.2 {
-  p5_of_opcode db OpenRead {
+  p5_of_opcode db OpenRead {
      SELECT * FROM t2 CROSS JOIN t1 WHERE a=x
   }
 } {00 00}
@@ -114,7 +114,7 @@ do_test 4.1desc {
   }
 } {GT(c0,11)}
 do_test 4.2 {
-  p5_of_opcode db OpenRead {
+  p5_of_opcode db OpenRead {
     SELECT * FROM t1 WHERE b>11;
   }
 } {02 00}
@@ -129,7 +129,7 @@ do_test 4.3desc {
   }
 } {}
 do_test 4.4 {
-  p5_of_opcode db OpenRead {
+  p5_of_opcode db OpenRead {
     SELECT c FROM t1 WHERE b<11;
   }
 } {00}
index 8cf7a76fb850f5157cdcafb0e01a722da751f9ff..bb902eec3eac98c8b97c6e824af2c65934802136 100644 (file)
@@ -86,6 +86,8 @@ array set ::Configs [strip_comments {
     -DSQLITE_DEFAULT_FILE_FORMAT=4
     -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1
     -DSQLITE_ENABLE_STMT_SCANSTATUS
+    -DSQLITE_LIKE_DOESNT_MATCH_BLOBS
+    -DSQLITE_ENABLE_CURSOR_HINTS
     --enable-json1
   }
   "Check-Symbols" {