mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Avoid running a couple of test cases that use realloc() extensively if SQLITE_MEMDEBUG is defined.
FossilOrigin-Name: e406d4bb786a34cdd5dd23ed39f35dfce3e1cabd
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user