]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Modify a test in fts3b.test to reflect the fact that the docid field may now be updated.
authordan <dan@noemail.net>
Wed, 2 Dec 2009 16:09:16 +0000 (16:09 +0000)
committerdan <dan@noemail.net>
Wed, 2 Dec 2009 16:09:16 +0000 (16:09 +0000)
FossilOrigin-Name: ef5b7450292e6f89c2b36427a9cd6f8050ad16f4

manifest
manifest.uuid
test/fts3b.test

index ec0ba9001aa50cdf4ea721cfa27192d477249d21..bcc8820df3bd9a26fb8b0d5bddd27b2e981d0e2e 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Clear\sthe\sPager.dbModified\sflag\swhen\sunlocking\sthe\sdatabase.\sAssert\sthat\sit\sis\sclear\swhen\slocking\sthe\sdatabase.
-D 2009-12-02T14:44:33
+C Modify\sa\stest\sin\sfts3b.test\sto\sreflect\sthe\sfact\sthat\sthe\sdocid\sfield\smay\snow\sbe\supdated.
+D 2009-12-02T16:09:17
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in c5827ead754ab32b9585487177c93bb00b9497b3
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -394,7 +394,7 @@ F test/fts3am.test 218aa6ba0dfc50c7c16b2022aac5c6be593d08d8
 F test/fts3an.test 931fa21bd80641ca594bfa32e105250a8a07918b
 F test/fts3ao.test 0aa29dd4fc1c8d46b1f7cfe5926f7ac97551bea9
 F test/fts3atoken.test 25c2070e1e8755d414bf9c8200427b277a9f99fa
-F test/fts3b.test b3a25180a633873d37d86e1ccd00ed690d37237a
+F test/fts3b.test e93bbb653e52afde110ad53bbd793f14fe7a8984
 F test/fts3c.test fc723a9cf10b397fdfc2b32e73c53c8b1ec02958
 F test/fts3d.test 95fb3c862cbc4297c93fceb9a635543744e9ef52
 F test/fts3e.test 1f6c6ac9cc8b772ca256e6b22aaeed50c9350851
@@ -775,7 +775,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P b34365296d65310bb015901d18ed463e73d47cbe
-R 0c016fda7bf18d24bbbb9c7a077b526a
+P d17ec16b7c5051c904c09580a856593b2fb85edc
+R 7a01e5790a2307f692084aa3068931e8
 U dan
-Z 71a26ded21387ef10c25275abcc7461d
+Z 57b07cd39d1b913e2abb6ce5a0b4f134
index 5ec9bdb832b94f9c359a65d2adbf5f753227ef7f..292ffd7d3accae438398225b6ae952345bae00d4 100644 (file)
@@ -1 +1 @@
-d17ec16b7c5051c904c09580a856593b2fb85edc
\ No newline at end of file
+ef5b7450292e6f89c2b36427a9cd6f8050ad16f4
\ No newline at end of file
index 17ee0da85ac46b571ac0d2f0a5d610c3c4b78c9d..9bde3a254c2885f361824b86f28e95f21b8befb0 100644 (file)
@@ -208,11 +208,23 @@ do_test fts3b-4.8 {
   }
 } {1 {SQL logic error or missing database}}
 
-# Don't allow update of docid, to match rowid behaviour.
 do_test fts3b-4.9 {
-  catchsql {
+  execsql { SELECT docid FROM t4 WHERE t4 MATCH 'testing' }
+} {12}
+do_test fts3b-4.10 {
+  execsql { 
     UPDATE t4 SET docid = 14 WHERE docid = 12;
+    SELECT docid FROM t4 WHERE t4 MATCH 'testing';
   }
-} {1 {SQL logic error or missing database}}
+} {14}
+do_test fts3b-4.11 {
+  execsql { SELECT * FROM t4 WHERE rowid = 14; }
+} {{still testing}}
+do_test fts3b-4.12 {
+  execsql { SELECT * FROM t4 WHERE rowid = 12; }
+} {}
+do_test fts3b-4.13 {
+  execsql { SELECT docid FROM t4 WHERE t4 MATCH 'still'; }
+} {14}
 
 finish_test