drh
9b8d02727a
Fix typos in comments. No functional changes to the code.
...
FossilOrigin-Name: 9cebaf2dca6dc35e489537fe7c55474e1029a98e
2010-08-09 15:44:21 +00:00
drh
f053d5b6c7
Fix two comment typos that were reported on the mailing list.
...
FossilOrigin-Name: 88bf9016277c133dfbf4f4b2be0c35c9fe9fabd6
2010-08-09 14:26:32 +00:00
drh
c78db070a3
Remove all vestiges of ctype.h from FTS3.
...
FossilOrigin-Name: b8b465ed2c56b23b50334680a2a940885b1ac530
2010-08-06 19:00:12 +00:00
dan
cb79e5137c
Do not run some tests in notify3.test with the inmemory_journal permutation. They do not pass as the tests assume that the database schema is not loaded until the first invocation of [db eval]. This is not true with the inmemory_journal permutation.
...
FossilOrigin-Name: 698fba826e40ce6414cf6c261441d68b174c1637
2010-08-06 13:50:07 +00:00
drh
3bb9b93f1f
Change two automatic array variables into static constant arrays.
...
Update and reformat some comments for cleaner presentation.
FossilOrigin-Name: a7a15547cccb4aeb719aba19641f31390c316d8c
2010-08-06 02:10:00 +00:00
drh
f6171e9bae
Make the size of a Bitvec object 512 bytes on all platforms, instead of
...
having the size depend on the size of a pointer. This makes testing easier.
FossilOrigin-Name: ca479f3de2927ccc05dc76d10e40c00b8e0c88d1
2010-08-05 11:56:01 +00:00
drh
b9b49bf36b
Do not read the database file size on a SAVEPOINT rollback any more since
...
after checkin [65b8636ac6e5] the in-header-size field is always valid.
FossilOrigin-Name: fbe70e1106bcc5086ceb9d8f39cc39baf3643092
2010-08-05 03:21:39 +00:00
drh
aa0ba4345d
Fix the query planner so that when it has a choice of full-scan tables to
...
move to the outer loop, it chooses the one that is likely to give the fewest
output rows.
FossilOrigin-Name: 309bbedf9648c750d7b8aedbc15d4fd68f846824
2010-08-05 02:52:32 +00:00
drh
5e377d90ed
If the outer loop of a join must be a full table scan, make sure that an
...
incomplete ANALYZE does not trick the planner into use a table that might
be indexable in an inner loop. Ticket [13f033c865f878]
FossilOrigin-Name: e7a714b52c45af096af74049826d32c647abfe3f
2010-08-04 21:17:16 +00:00
dan
59257dc615
When opening a write-transaction on a database file that has been appended to or truncated by a pre-3.7.0 client, update the database-size field in the database header. Fix for [51ae9cad31].
...
FossilOrigin-Name: 65b8636ac6e5d3e4502d4f576ddf9350d5df3022
2010-08-04 11:34:31 +00:00
drh
a3e414cd48
Fix disabled implementation-mark comments in func.c.
...
FossilOrigin-Name: 57c0960038b8ce97f9d6665f15e7f6ec310c681f
2010-08-03 18:06:25 +00:00
drh
6dc8490232
Fix the REPLACE conflict resolution so that it falls back to ABORT when
...
a CHECK constraint fails. Ticket [c38baa3d969eab794].
FossilOrigin-Name: 4e157b774764b8bafc9fabb88decf54f178b5ff5
2010-08-03 13:08:54 +00:00
drh
9e5f10743d
Modify wal2.test to disable tests requiring TCL 8.5 if the test harness is
...
compiled using TCL 8.4.
FossilOrigin-Name: 016486c7d544dcf9b7422cb0fb9804aa1c418f68
2010-08-02 10:59:13 +00:00
dan
a550f2decd
In shared-cache mode, do not allow one connection to checkpoint a database while a second connection is reading or writing the same shared-cache.
...
FossilOrigin-Name: e75b52d156905ce16bedb94f65c01a4640bdfa75
2010-08-02 10:47:05 +00:00
drh
1c320a4366
Fix a typo in an error message of the TCL interface.
...
FossilOrigin-Name: 8eadd7b87bfe8786e0352ca14b29d1451998c02c
2010-08-01 22:41:32 +00:00
drh
be0b237e6a
If a database becomes corrupted such that an index is out of sync with its
...
table, make sure the corruption is detected and reported back. Do not assume
that indices always contain rowids for valid table rows.
FossilOrigin-Name: 83395a3d24f18170fc068d9e644291678694c3f0
2010-07-30 18:40:55 +00:00
drh
a3388cc5b0
Fix typos in comments. No code or logic changes.
...
FossilOrigin-Name: 15c294ca051ed8b5078e7ac9a969b0f9358d9184
2010-07-30 16:54:25 +00:00
drh
1e8ed64ed0
Remove a test from sqlite3PagerCommitPhaseOne which is now always true
...
after the multi-file transaction fix.
FossilOrigin-Name: 6758f6a8ec97941e09847b309812b3194eb57f19
2010-07-30 16:44:29 +00:00
dan
1e01cf1b84
Changes to the comments describing the Pager.setMaster variable in pager.c. Add an assert() statement to verify that two master journal pointers are not written to a single journal file.
...
FossilOrigin-Name: ad78ccacb00e2f8a5ca93e2c9006266d9477fe48
2010-07-30 11:31:12 +00:00
drh
abfb62f9bd
Cherry-pick the multi-file transaction fix for ticket [f3e5abed55] out of
...
the experimental branch.
FossilOrigin-Name: 40f7f0a583e6bba66cd006253a0ef4623ea74f17
2010-07-30 11:20:35 +00:00
dan
3843a4c19a
Add tests to check that the ICU regexp() function can only be called with exactly two arguments.
...
FossilOrigin-Name: 451d965742cc219db709939b4ba1da2f2343dbce
2010-07-30 05:06:05 +00:00
drh
60176fa925
Updates to the README.txt file for ICU.
...
FossilOrigin-Name: d37443d33388b402e610a00c362a1e2e79548801
2010-07-30 00:31:08 +00:00
drh
0cf68a9b17
Unconditionally include the pTmpSpace size in the estimate of the pager
...
memory used.
FossilOrigin-Name: 4b97f8640e9167cd355a24836fe74e4224cf12b9
2010-07-29 10:13:25 +00:00
drh
df0db0feb5
Change the profile timer units back to nanoseconds and update the
...
sqlite3_profile() documentation.
Ticket [c43940c49b74c70a69]
FossilOrigin-Name: 7783b98a938b77d6b8e4e85b32b05452c47fbe4b
2010-07-29 10:07:21 +00:00
drh
6cbda64d07
Correct handling of compound foreign key constraints that include the
...
integer primary key as one of the columns.
Ticket [ce7c133ea6cc9ccdc1]
FossilOrigin-Name: 53902f7d4a46aa70ecc5bf180a01ff888d52686a
2010-07-29 01:50:38 +00:00
drh
078e4084e9
Get SQLITE_OMIT_VIRTUALTABLE working again after being broken by recent
...
changes.
FossilOrigin-Name: 33b1e862ffa7109480cf4a77ceae8aebe98d3eee
2010-07-28 19:17:51 +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
drh
233f816b84
Improve the accuracy of the Pager heap usage estimate.
...
FossilOrigin-Name: ae89777e7f8bae2cdd3407395ea84c1b39577c4b
2010-07-28 17:36:11 +00:00
drh
abc97a7834
Adjust the shell test script "shell4.test" to account for changes in the
...
".stat on" display format from the previous checkin.
FossilOrigin-Name: 2f2fa7dd809ae2a67048643da8c01a4664848ba7
2010-07-28 17:16:41 +00:00
drh
29dfbe3b70
Record the pcache allocation size statistics even for pcache overflow
...
allocations. Adjust the wording on one of the stat output lines in
the shell.
FossilOrigin-Name: f9adf66ad575abbb63736caef27bd3c619e516a6
2010-07-28 17:01:24 +00:00
shaneh
642d8b87fe
Modify CLI to optionally display "stats".
...
FossilOrigin-Name: 419ce0ed89d10252492b2926817259899ee74e71
2010-07-28 16:05:34 +00:00
drh
39539804c6
Lookaside memory is not used to store schemas. Change the
...
SQLITE_DBSATUS_SCHEMA_USED documentation to reflect this fact.
FossilOrigin-Name: 07abfd5268564c18afd1074c2069d65c64f4b8eb
2010-07-28 15:52:09 +00:00
drh
154a319213
Add documentation for the SQLITE_STATUS_MALLOC_COUNT parameter to
...
sqlite3_status().
FossilOrigin-Name: dbfbdb60c00b5aeae29c85acec0ae910b82dbdba
2010-07-28 15:49:02 +00:00
drh
cf4d38aaf0
Do not allow automatic indices for the RHS of IN expressions which are not
...
correlated subqueries. Ticket [8011086c85c6c404014c9]
FossilOrigin-Name: 267492d3a7eff7b7b24ed6bd6d6ff55148fe37f3
2010-07-28 02:53:36 +00:00
drh
d7ceb372aa
Update the makefiles to prefer TCL version 8.5 instead of 8.4.
...
FossilOrigin-Name: 8118de2af33557f75b4f2f1b1194a21d46ccf7fe
2010-07-27 16:42:22 +00:00
drh
81ba7d16b7
Fix a bug in the SQLITE_STATUS_MALLOC_COUNT counter. Add an ALWAYS() around
...
a condition in the SQLITE_DBSTATUS_SCHEMA_USED logic that is always true.
FossilOrigin-Name: 6df081adbfa581c477bd2c96bb3f7f44be131a8f
2010-07-26 19:09:31 +00:00
drh
eafc43b156
Add the SQLITE_STATUS_MALLOC_COUNT option for sqlite3_status().
...
FossilOrigin-Name: 8f8e442b3af553753e25c304efa289b626e3a227
2010-07-26 18:43:40 +00:00
drh
d2de9f4e68
Increase the version number to 3.7.1 due to the API enhancement of the previous
...
check-in.
FossilOrigin-Name: 1d7571e4be6d96aec13cd8b3b7b10b8dc44d19a5
2010-07-26 16:40:03 +00:00
drh
89ae1023cc
Add support for SQLITE_DBSTATUS_SCHEMA_USED and SQLITE_DBSTATUS_STMT_USED to
...
the trunk.
FossilOrigin-Name: 008368b2bd1513e2df21c2070548c6fc94abebb1
2010-07-26 16:24:35 +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
f37c68e036
Further fixes to the P4_MEM size measurement logic.
...
FossilOrigin-Name: 934cda2987c331b57a195ed45e9a91794896672a
2010-07-26 14:20:06 +00:00
drh
c176c27cbc
Fix an issue with P4_MEM and the schema size measurement logic. Also fix
...
a compiler warning.
FossilOrigin-Name: 8166f33885b86029bb8a0fbaf70606a0d2d5ec2e
2010-07-26 13:57:59 +00:00
drh
7043db9f6f
Make sure sqlite3_free() is not called for P4_MPRINTF during a size
...
measurement.
FossilOrigin-Name: 56f11f8823cd06a69eebce6a9613e22b1810b59b
2010-07-26 12:38:12 +00:00
dan
eb8603a7c4
Remove an assert() that uses a variable removed earlier.
...
FossilOrigin-Name: c04907e69820bd19f647c5f555327e0058db4e6d
2010-07-26 12:36:29 +00:00
dan
d19c933e8e
Change the way SubProgram objects are deleted so that the code is the same for deletion and measurement.
...
FossilOrigin-Name: 00e55102a8309eb6df08ad4a8937ba02688bac62
2010-07-26 12:05:17 +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
drh
174b9a166d
Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree()
...
and all memory from sqlite3_malloc() is freed by sqlite3_free().
FossilOrigin-Name: 629e38a8c9e31111e351fe4625a5835576d23584
2010-07-26 11:07:20 +00:00
drh
b975598ea0
Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() and
...
all memory from sqlite3_malloc() is freed by sqlite3_free().
FossilOrigin-Name: ac1f37a647e9ed1c00a901d26d9956a86c40117a
2010-07-24 16:34:37 +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