drh
175b8f06f7
Remove support for STAT3. The sqlite_stat3 tables are ignored, if they
...
exist. STAT4 continues to work as it always has, and as it is a superset of
STAT3 is the recommended replacement.
FossilOrigin-Name: 1e17ea2fd1df4ad49138c787c8fe3207dd0c25c93f9001d52a9b69f8c12e841c
2019-08-08 15:24:17 +00:00
drh
bafad06139
Test case modifications to support SEE.
...
FossilOrigin-Name: 02b6f8f2778c371130c512e980c3db07c7e76dcf7dd92a878b86e4b6a47ca307
2018-10-12 15:01:56 +00:00
drh
15ca9e3e8c
Disable one of the test cases from check-in [21ecbce1378f3cc4] when
...
API_ARMOR is not enabled.
FossilOrigin-Name: 8fb23d4281915b4507e4d42a300f4b5f958ad88ad408218659c7459775d7b114
2018-03-14 15:06:42 +00:00
dan
68cf69ed8d
Improve detection of out-of-range parameters in sqlite3_stmt_status() for
...
SQLITE_ENABLE_API_ARMOR builds.
FossilOrigin-Name: 21ecbce1378f3cc4b1051628b8c1580bb807c8745a1f525bc089036af93a54af
2018-03-14 08:27:39 +00:00
drh
017256802b
Changes to test scripts to get them all running on OpenBSD.
...
FossilOrigin-Name: 9e7bedeee444cbf0b1a9165e88928c5d85088de1
2016-07-25 14:20:01 +00:00
drh
2aed979592
Disable the DBSTATUS_CACHE_USED_SHARED tests on mac when memsys3/5 is disabled
...
due to differences in the allocation sizes for the Darwin memory allocator.
FossilOrigin-Name: d6f6c87c9c0acf609a9d5bea818bb7a5437109a1
2016-07-25 12:10:25 +00:00
drh
49dcd79e7d
Fix recently added tests so that they work in all configurations.
...
FossilOrigin-Name: d0bcaf0cd92ae5bbea7ad68537ba89437d5c39e8
2016-07-23 14:50:26 +00:00
drh
e39cd91aea
Add the "#/value-list/" style of results for approximate value matching
...
in the do_test command of the test infrastructure. Use this new result style
to make the SQLITE_DBSTATUS_CACHE_SIZE_SHARED tests cross-platform.
FossilOrigin-Name: c869bf34a8ee42ac6542862e59c7a4b89b042f79
2016-07-09 17:47:01 +00:00
dan
9c10608a26
Change the name of the SQLITE_DBSTATUS_PROPORTIONAL_CACHE_USED to SQLITE_DBSTATUS_CACHE_USED_SHARED.
...
FossilOrigin-Name: d58401ab26c7c5417eb7d540f47d11c4e49edcb2
2016-07-06 18:12:54 +00:00
dan
272989b44d
Add the SQLITE_DBSTATUS_PROPORTIONAL_CACHE_USED sqlite3_db_status() parameter.
...
FossilOrigin-Name: 118321c8b9d88b8f439c952436f42838c3fc80cb
2016-07-06 10:12:02 +00:00
mistachkin
d55bccd7cc
Fix issue with several memory allocation tests due to KeyInfo allocations now being shared.
...
FossilOrigin-Name: 569fedd6bb07bdd3430da8dc65de4a9fdfe204cc
2013-11-11 03:37:04 +00:00
dan
8ad169abb4
If ENABLE_STAT3 is defined but ENABLE_STAT4 is not, have ANALYZE create and populate the sqlite_stat3 table instead of sqlite_stat4.
...
FossilOrigin-Name: cca8bf4372ab7a0258aa5c9397818415c6cf0abf
2013-08-12 20:14:04 +00:00
dan
f52bb8d385
Begin adding experimental sqlite_stat4 table. This commit is buggy.
...
FossilOrigin-Name: 2beea303a1d609cd2ff252412c50b966b9e5e8f1
2013-08-03 20:24:58 +00:00
dan
2f56da3f26
Changes to various test scripts so that veryquick.test runs with OMIT_COMPOUND_SELECT defined.
...
FossilOrigin-Name: 76bb649ee2633226324130f5898622c348f93769
2012-02-13 10:00:35 +00:00
dan
4373bb880c
Change dbstatus.test to account for the fact that the value reported by DBSTATUS_SCHEMA_USED may be slightly lower than the actual memory used on osx
...
FossilOrigin-Name: 6f2010c862105a113b55e90018b86a9ece298d4d
2011-12-30 16:09:50 +00:00
drh
6a8ab6d9cb
For the mem1.c system malloc implementation, use the malloc_usable_size()
...
function if the HAVE_MALLOC_USABLE_SIZE macro is defined. Update autoconf
to look for that function when configuring.
FossilOrigin-Name: 2e8ab3cedfebc33a831837792b523d1aa7cdc6b7
2011-11-09 01:53:25 +00:00
drh
4e50c5ec48
Further testing and bug fixing for sqlite_stat3. Added the Index.avgEq
...
field to index statistics. Fixed several problems in the query planner
associated with stat3.
FossilOrigin-Name: 89b2f70884cad0abdf4c66cb64ecddb2820ded74
2011-08-13 19:35:19 +00:00
mistachkin
fda06befd5
Add retry logic for AV defense to winOpen. Also, refactor test suite to allow the key Tcl file operations (e.g. copy and delete) to be retried.
...
FossilOrigin-Name: 9007586fdabed8dbcc78581ea9821cfd1f9a4c8c
2011-08-02 00:57:34 +00:00
drh
887f8d3946
Make sure memory statistics are enabled for the dbstatus.test script.
...
FossilOrigin-Name: 35b943a0fc153341f5299218f2884245c63071b3
2010-09-09 17:43:06 +00:00
dan
d47f0d78b9
Fixes to tcl test files so that they work in auto-vacuum mode.
...
FossilOrigin-Name: ea9eaf7480f6fbe2a37813508d1b730d45155966
2010-08-11 11:35:50 +00:00
dan
4f7b8d6260
Fix some problems with running test scripts with the inmemory_journal permutation.
...
FossilOrigin-Name: 7bd8ba084e75bcd5c744e1d4a1812df3a4d91887
2010-08-06 14:37:13 +00:00
drh
60a311785f
Fix the dbstatus.test script so that it works correctly on 64-bit machines.
...
FossilOrigin-Name: a3401d9ee540828f3efd26d89f6b771e0ecb2777
2010-07-28 18:51:26 +00:00
dan
111becfbc0
When calculating schema memory, use the actual allocated size of hash elements, not sizeof(HashElem). Also fix a bug in dbstatus.test
...
FossilOrigin-Name: e327ef37faec52ce99591266160be2ce2d577cc3
2010-07-26 15:57:01 +00:00
dan
ccd4ad3e6c
Add virtual table test cases to dbstatus.test.
...
FossilOrigin-Name: 72b84d066a4eac90a77142c3ea66ef3d21a1104e
2010-07-26 14:47:14 +00:00
drh
643f35e4a6
Update comments to better documentation the new memory measurement functions.
...
FossilOrigin-Name: 620bad035755449c4e6a762f01ef2b1d9e521c7c
2010-07-26 11:59:40 +00:00
dan
d46def77db
Experimental code to measure memory consumed by database schemas and prepared statements.
...
FossilOrigin-Name: 9aa30342f4de4eff630520ea8e07ad253d3f0877
2010-07-24 11:28:28 +00:00
drh
63da089314
Add the SQLITE_DBSTATUS_CACHE_SIZE verb for sqlite3_db_status(). The
...
highwater mark does not yet work on this verb.
FossilOrigin-Name: 418c6d8113bc337556b0d47acfd6a7d865d1121f
2010-03-10 21:42:07 +00:00