/ Check-in [e406d4bb]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Avoid running a couple of test cases that use realloc() extensively if SQLITE_MEMDEBUG is defined.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e406d4bb786a34cdd5dd23ed39f35dfce3e1cabd
User & Date: dan 2014-03-05 19:13:32
Context
2014-03-05
19:36
Always include the ctype.h header in the spellfix.c extension. check-in: bfd75f47 user: drh tags: trunk
19:13
Avoid running a couple of test cases that use realloc() extensively if SQLITE_MEMDEBUG is defined. check-in: e406d4bb user: dan tags: trunk
19:04
Fix a harmless compiler warning on MSVC. check-in: 0723effc user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/join.test.

   658    658   jointest join-12.3 63 {0 1}
   659    659   jointest join-12.4 64 {0 1}
   660    660   jointest join-12.5 65 {1 {at most 64 tables in a join}}
   661    661   jointest join-12.6 66 {1 {at most 64 tables in a join}}
   662    662   jointest join-12.7 127 {1 {at most 64 tables in a join}}
   663    663   jointest join-12.8 128 {1 {at most 64 tables in a join}}
   664    664   jointest join-12.9 1000 {1 {at most 64 tables in a join}}
   665         -jointest join-12.10 65534 {1 {at most 64 tables in a join}}
   666         -jointest join-12.11 65535 {1 {too many references to "t14": max 65535}}
   667         -jointest join-12.12 65536 {1 {too many references to "t14": max 65535}}
   668         -jointest join-12.13 65537 {1 {too many references to "t14": max 65535}}
          665  +
          666  +# If SQLite is built with SQLITE_MEMDEBUG, then the huge number of realloc()
          667  +# calls made by the following test cases are too time consuming to run.
          668  +# Without SQLITE_MEMDEBUG, realloc() is fast enough that these are not
          669  +# a problem.
          670  +ifcapable pragma&&compileoption_diags {
          671  +  if {[lsearch [db eval {PRAGMA compile_options}] MEMDEBUG]<0} {
          672  +    jointest join-12.10 65534 {1 {at most 64 tables in a join}}
          673  +    jointest join-12.11 65535 {1 {too many references to "t14": max 65535}}
          674  +    jointest join-12.12 65536 {1 {too many references to "t14": max 65535}}
          675  +    jointest join-12.13 65537 {1 {too many references to "t14": max 65535}}
          676  +  }
          677  +}
   669    678   
   670    679   finish_test