]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Avoid running a couple of test cases that use realloc() extensively if SQLITE_MEMDEBU...
authordan <dan@noemail.net>
Wed, 5 Mar 2014 19:13:32 +0000 (19:13 +0000)
committerdan <dan@noemail.net>
Wed, 5 Mar 2014 19:13:32 +0000 (19:13 +0000)
FossilOrigin-Name: e406d4bb786a34cdd5dd23ed39f35dfce3e1cabd

manifest
manifest.uuid
test/join.test

index ab256e6e6d34c63a4f40e3d3985e307d6f73e46a..9c71992df040fa86c23f72372b8f1ce924fd3c73 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\sa\sharmless\scompiler\swarning\son\sMSVC.
-D 2014-03-05T19:04:46.223
+C Avoid\srunning\sa\scouple\sof\stest\scases\sthat\suse\srealloc()\sextensively\sif\sSQLITE_MEMDEBUG\sis\sdefined.
+D 2014-03-05T19:13:32.745
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 2ef13430cd359f7b361bb863504e227b25cc7f81
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -630,7 +630,7 @@ F test/ioerr3.test d3cec5e1a11ad6d27527d0d38573fbff14c71bdd
 F test/ioerr4.test f130fe9e71008577b342b8874d52984bd04ede2c
 F test/ioerr5.test 2edfa4fb0f896f733071303b42224df8bedd9da4
 F test/ioerr6.test a395a6ab144b26a9e3e21059a1ab6a7149cca65b
-F test/join.test 533dc4c1ca70d1c876a58df058307ab9c6931a05
+F test/join.test 559b81eb56ae350246f9c25986aa52c81c725c7e
 F test/join2.test f2171c265e57ee298a27e57e7051d22962f9f324
 F test/join3.test 6f0c774ff1ba0489e6c88a3e77b9d3528fb4fda0
 F test/join4.test 1a352e4e267114444c29266ce79e941af5885916
@@ -1155,7 +1155,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh d1a6de74685f360ab718efda6265994b99bbea01
 F tool/win/sqlite.vsix 030f3eeaf2cb811a3692ab9c14d021a75ce41fff
-P f33f2b3f924347e3da26741d153749330cb645ec
-R bec805b30a62102ab84493bc76693952
-U drh
-Z 267f872091e9a8fb36e5f21325487fbe
+P 0723effc9ccae7c660fb847b36ce9324e0cb5042
+R fd55c551a93656dfa35ae57a4e3f4bce
+U dan
+Z 8fe6d9b1a050fe779092fc8bd960685b
index 8aca077064a3ce483b887f3a11abcc019ddff5c4..94a1773c6eeaab67e97a9bbb2c84dc9b0dba7d7a 100644 (file)
@@ -1 +1 @@
-0723effc9ccae7c660fb847b36ce9324e0cb5042
\ No newline at end of file
+e406d4bb786a34cdd5dd23ed39f35dfce3e1cabd
\ No newline at end of file
index d25fa351154a90007cd420f6e5cb54a5cbc021e1..28d9ddf8b2945f6cb9ec2e3e70c62f4ce8fbb4e3 100644 (file)
@@ -662,9 +662,18 @@ jointest join-12.6 66 {1 {at most 64 tables in a join}}
 jointest join-12.7 127 {1 {at most 64 tables in a join}}
 jointest join-12.8 128 {1 {at most 64 tables in a join}}
 jointest join-12.9 1000 {1 {at most 64 tables in a join}}
-jointest join-12.10 65534 {1 {at most 64 tables in a join}}
-jointest join-12.11 65535 {1 {too many references to "t14": max 65535}}
-jointest join-12.12 65536 {1 {too many references to "t14": max 65535}}
-jointest join-12.13 65537 {1 {too many references to "t14": max 65535}}
+
+# If SQLite is built with SQLITE_MEMDEBUG, then the huge number of realloc()
+# calls made by the following test cases are too time consuming to run.
+# Without SQLITE_MEMDEBUG, realloc() is fast enough that these are not
+# a problem.
+ifcapable pragma&&compileoption_diags {
+  if {[lsearch [db eval {PRAGMA compile_options}] MEMDEBUG]<0} {
+    jointest join-12.10 65534 {1 {at most 64 tables in a join}}
+    jointest join-12.11 65535 {1 {too many references to "t14": max 65535}}
+    jointest join-12.12 65536 {1 {too many references to "t14": max 65535}}
+    jointest join-12.13 65537 {1 {too many references to "t14": max 65535}}
+  }
+}
 
 finish_test