]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Disable two PRAGMA cache_spill tests when MEMORY_MANAGEMENT is enabled.
authordrh <drh@noemail.net>
Fri, 13 Nov 2015 12:32:01 +0000 (12:32 +0000)
committerdrh <drh@noemail.net>
Fri, 13 Nov 2015 12:32:01 +0000 (12:32 +0000)
FossilOrigin-Name: ebda77aad4d964593606ded2fdb19259ef9ebb8e

manifest
manifest.uuid
test/pragma2.test

index 58eb701cc2a6f3673c638af4e0ed8fb81279b373..85e6bda4c29fdb455a37329d92ab874c3cc80853 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Change\sthe\serror\smessages\sso\sthat\sthey\sbegin\scan\sbe\sgrepped\susing\s'^!'\sinstead\nof\s'^\s'.\s\sThere\sare\sfar\stoo\smany\sextraneous\soutputs\sthat\sbeing\swith\sa\sspace.
-D 2015-11-13T00:03:14.576
+C Disable\stwo\sPRAGMA\scache_spill\stests\swhen\sMEMORY_MANAGEMENT\sis\senabled.
+D 2015-11-13T12:32:01.756
 F Makefile.in d828db6afa6c1fa060d01e33e4674408df1942a1
 F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
 F Makefile.msc e928e68168df69b353300ac87c10105206653a03
@@ -931,7 +931,7 @@ F test/pcache2.test af7f3deb1a819f77a6d0d81534e97d1cf62cd442
 F test/percentile.test 4243af26b8f3f4555abe166f723715a1f74c77ff
 F test/permutations.test 4ea119731c62d2f7d0aa86dd5b184cbb61ca411b
 F test/pragma.test a44253f911e7d50127d4a08f927f47c861a4c772
-F test/pragma2.test 1a4cc20b0cd8fc6411bd2f828cdc3ea1bdd570b9
+F test/pragma2.test 00065068eeab2d15ea55465ec0f1e0a70e2c369e
 F test/pragma3.test 6f849ccffeee7e496d2f2b5e74152306c0b8757c
 F test/printf.test b3ff34e73d59124140eaf89f7672e21bc2ca5fcc
 F test/printf2.test 0b61566dd1c0f0b802f59dffa228c5dc5aa6b054
@@ -1403,7 +1403,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 ee6f2feec7d777a969ddba6dc00fb571d64e57f8
-R 408d324b4f8f857ba19128e8367a34ed
+P 367ec0db49607559960d58891771113c205fd951
+R 9ab8fd3363ba53b73551ba52840dbe48
 U drh
-Z 9a6642a6fe3dd67383802a321d24cffd
+Z d2f99c38ca17fe2dc0162f34e1b5cb9f
index ca4e35f2cfdc3da0740de1a0430e32e74c1dd911..934b26d4d5c78761bf69062e393d0f33153f2576 100644 (file)
@@ -1 +1 @@
-367ec0db49607559960d58891771113c205fd951
\ No newline at end of file
+ebda77aad4d964593606ded2fdb19259ef9ebb8e
\ No newline at end of file
index c8d87663c18528f5ae3446829067c34212424488..64b396bd1fa26f47abea4f24cdbed547088f2459 100644 (file)
@@ -200,26 +200,28 @@ do_test pragma2-4.5.2 {
     PRAGMA lock_status;
   }
 } {100000 main reserved temp unknown}   ;# Big spill threshold -> no excl lock
-do_test pragma2-4.5.3 {
-  db eval {
-    ROLLBACK;
-    PRAGMA cache_spill=25;
-    PRAGMA main.cache_spill;
-    BEGIN;
-    UPDATE t1 SET c=c+1;
-    PRAGMA lock_status;
-  }
-} {50 main exclusive temp unknown}   ;# Small cache spill -> exclusive lock
-do_test pragma2-4.5.4 {
-  db eval {
-    ROLLBACK;
-    PRAGMA cache_spill(-25);
-    PRAGMA main.cache_spill;
-    BEGIN;
-    UPDATE t1 SET c=c+1;
-    PRAGMA lock_status;
-  }
-} {50 main exclusive temp unknown}   ;# Small cache spill -> exclusive lock
+ifcapable !memorymanage {
+  do_test pragma2-4.5.3 {
+    db eval {
+      ROLLBACK;
+      PRAGMA cache_spill=25;
+      PRAGMA main.cache_spill;
+      BEGIN;
+      UPDATE t1 SET c=c+1;
+      PRAGMA lock_status;
+    }
+  } {50 main exclusive temp unknown}   ;# Small cache spill -> exclusive lock
+  do_test pragma2-4.5.4 {
+    db eval {
+      ROLLBACK;
+      PRAGMA cache_spill(-25);
+      PRAGMA main.cache_spill;
+      BEGIN;
+      UPDATE t1 SET c=c+1;
+      PRAGMA lock_status;
+    }
+  } {50 main exclusive temp unknown}   ;# Small cache spill -> exclusive lock
+}
 
 
 # Verify that newly attached databases inherit the cache_spill=OFF