]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Enhancements to the change counter tests. Ticket #3013. (CVS 4986)
authordrh <drh@noemail.net>
Thu, 10 Apr 2008 18:44:36 +0000 (18:44 +0000)
committerdrh <drh@noemail.net>
Thu, 10 Apr 2008 18:44:36 +0000 (18:44 +0000)
FossilOrigin-Name: 1aaed6a4694f60ebcec5dee98f09fe756c81dfa4

manifest
manifest.uuid
test/update.test

index 600600fb3efcbe5e289864c3ed7cb3dfa3770d15..631fe914afdf33acf5c5a56758ba99d69663ee91 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Correctly\shandle\svirtual\stables\sthat\sare\screated\sand\sdropped\sall\swithin\na\ssingle\stransaction.\s\sTicket\s#2994.\s(CVS\s4985)
-D 2008-04-10T18:35:22
+C Enhancements\sto\sthe\schange\scounter\stests.\s\sTicket\s#3013.\s(CVS\s4986)
+D 2008-04-10T18:44:36
 F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
 F Makefile.in b861627d91df5ee422c54237aa38296954dc0151
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -516,7 +516,7 @@ F test/types.test 98e7a631bddf0806204358b452b02d0e319318a6
 F test/types2.test 3555aacf8ed8dc883356e59efc314707e6247a84
 F test/types3.test b730a7db03ef69f0fdb85b2addc20d1a0a04039b
 F test/unique.test 0253c4227a5dc533e312202ce21ecfad18058d18
-F test/update.test 24c1dcc025f7ef352759afe3f4a20e6fdfd43a97
+F test/update.test 8bc86fd7ef1a00014f76dc6a6a7c974df4aef172
 F test/utf16.test 20e2d9ba0d57e952a18b1ac8deab9ad49e082893
 F test/utf16align.test 7360e84472095518c56746f76b1f9d4dce99fb4d
 F test/vacuum.test f67853a15caa120af591f819670f01a11fcc2bfc
@@ -627,7 +627,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P e1322415d0ca2d6b45f35ef9257b37161ec043e2
-R 960260f49432fa437b9ba29c71e0b40e
+P 0acb1b428d1181f597a2a665cae3eef5775f15f1
+R 0ab9090b08e44f6ff726ed5900963849
 U drh
-Z a3b69fd90c8092644f44487d1febdaf0
+Z 918a38b11853e443c6c24f50c9aec99c
index d8f456e9f8b429d73037fb747f45c8bf633e090e..5ac2862e902e7d082e0af87b594466f2142e7646 100644 (file)
@@ -1 +1 @@
-0acb1b428d1181f597a2a665cae3eef5775f15f1
\ No newline at end of file
+1aaed6a4694f60ebcec5dee98f09fe756c81dfa4
\ No newline at end of file
index 89ebab4f2df8ccd93c8882c93cf2e61334e4a2da..a6fef7d9affce51293f6c70c505fc4e412d6ae28 100644 (file)
@@ -11,7 +11,7 @@
 # This file implements regression tests for SQLite library.  The
 # focus of this file is testing the UPDATE statement.
 #
-# $Id: update.test,v 1.18 2008/01/16 18:20:42 danielk1977 Exp $
+# $Id: update.test,v 1.19 2008/04/10 18:44:36 drh Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
@@ -62,6 +62,18 @@ do_test update-3.4 {
 do_test update-3.5 {
   execsql {UPDATE test1 SET f2=f2*3}
 } {}
+do_test update-3.5.1 {
+  db changes
+} {10}
+
+# verify that SELECT does not reset the change counter
+do_test update-3.5.2 {
+  db eval {SELECT count(*) FROM test1}
+} {10}
+do_test update-3.5.3 {
+  db changes
+} {10}
+
 do_test update-3.6 {
   execsql {SELECT * FROM test1 ORDER BY f1}
 } {1 6 2 12 3 24 4 48 5 96 6 192 7 384 8 768 9 1536 10 3072}