drh
6558db80c0
Additional tests designed to detect future performance regressions. (CVS 3840)
...
FossilOrigin-Name: 764e7262b93a7a5073128ecd4db265b0c728a701
2007-04-13 03:23:21 +00:00
drh
538f570cd1
Fix multiple performance regressions (ticket #2298 among them)
...
and add tests to make sure they do not come back. (CVS 3839)
FossilOrigin-Name: 32bb2d5859906b4fb0f6083eedd7f3a81b9cf5e2
2007-04-13 02:14:30 +00:00
drh
994c80af27
Changes toward fixes for tickets #2296 and #2291 . (CVS 3838)
...
FossilOrigin-Name: 0dd3e2e47b09156838edfa4dea0d82f9cf22d94d
2007-04-12 21:25:01 +00:00
drh
6c1426fd14
Get the column affinities right when processing an IN operator where
...
the right-hand side is a subquery with an ORDER BY clause. Ticket #2295 .
This bug has likely been present since version 3.0.0 and it has just now
been noticed, so it seems to be a obscure case. (CVS 3837)
FossilOrigin-Name: 4062ddf3c7f4fd150292304fa33ca76dc35571a1
2007-04-12 03:54:38 +00:00
drh
f33c9fad35
Preliminary fix for ticket #2291 . This fixes the immediate problem. But
...
we really need to write more tests for the xfer optimization in order to
look for other related problems before closing this ticket. (CVS 3835)
FossilOrigin-Name: 34fec312fd1aeabb04e07d6aa061991775c7b8a1
2007-04-10 18:17:55 +00:00
drh
1eb2538a33
Be careful not to use the result of sqlite3_value_blob() after changing
...
the representation of an object. Ticket #2290 . (CVS 3834)
FossilOrigin-Name: e14374e4e6f14a90ecb53c2e7c86908a220c6d68
2007-04-10 13:51:17 +00:00
shess
6b6ab13353
Fix crash in delete when existing row has null fields. Previous code
...
assumed that the row had values in all columns, sigh. Fixes bug
http://www.sqlite.org/cvstrac/tktview?tn=2289 . (CVS 3833)
FossilOrigin-Name: 81be7290a4db7b74a533aaf95c7389eb4bde6a88
2007-04-09 20:45:40 +00:00
drh
f53454438a
Fix an obscure pager refcnt leak that occurs following a transient I/O
...
error. (CVS 3829)
FossilOrigin-Name: ce6f56ece8eab743d20cd2c0a84b4a266c4da2ff
2007-04-09 12:45:02 +00:00
danielk1977
9038bb647f
Have the pager call xReiniter() instead of xDestructor() to restore btree level state after rolling back a page. (CVS 3828)
...
FossilOrigin-Name: 4e8941333ef053442877a2a696a2c68d403c7f4d
2007-04-09 11:20:54 +00:00
drh
e6895112fb
Work around buggy TCL implementations in the exclusive2 test file. Ticket #2287 (CVS 3827)
...
FossilOrigin-Name: 5424fcc5f82e864e0a85a71e0ae39209200386c6
2007-04-08 16:52:22 +00:00
drh
271d8cb003
Make sure autovacuum is turned off for malloc5.test. (CVS 3826)
...
FossilOrigin-Name: 105a7efb090a5619e82a7e2931d4d3e080e6465a
2007-04-07 17:44:27 +00:00
danielk1977
f35843b578
For filesystem databases, do not store a list of pages in the statement journal in main memory. (CVS 3825)
...
FossilOrigin-Name: 0af764a02695281b0a7d70ef4e7f8229fd3d6a30
2007-04-07 15:03:17 +00:00
drh
1e9daa6ab5
Changes to test scripts to support alternative configurations. (CVS 3824)
...
FossilOrigin-Name: 3471a2269fb6b3769b59b70992e6da3bdebea7df
2007-04-06 21:42:22 +00:00
drh
bb5f18d2ca
Additional coverage testing. (CVS 3823)
...
FossilOrigin-Name: 26b2e1aede3f776134b2d6e941d17a907843e650
2007-04-06 18:23:17 +00:00
drh
15926590ed
Binary file I/O infrastructure added and used to increase test coverage
...
for detection of corrupt database files. (CVS 3822)
FossilOrigin-Name: 479b3d965b19c3ec4cb72542718751debf8ff75c
2007-04-06 15:02:13 +00:00
drh
60218d2a0e
The FOR EACH STATEMENT clause in a trigger is now a syntax error. It used
...
to be silently ignored. STATEMENT is no longer a keyword. (CVS 3821)
FossilOrigin-Name: 8e2559b4da6329d7c21925d0850f7f91a3731975
2007-04-06 11:26:00 +00:00
drh
05f7c19a6e
Test coverage improvements. Over 90% of branches are now executed in
...
both directions. (CVS 3820)
FossilOrigin-Name: a776d93ccae3bfa6e992cdd1387571dd21561f98
2007-04-06 02:32:33 +00:00
drh
77a2a5e73c
Changes to increase test coverage. (CVS 3819)
...
FossilOrigin-Name: fd4da6b13499af2397d52cb0f25f8ff6f2192431
2007-04-06 01:04:39 +00:00
drh
8c4d3a6b42
Make sure the sqlite3BtreePrevious() routine terminates properly if the
...
table is deleted out from under it. Ticket #2286 . This bug was discovered
while trying to increase test coverage from 98.5% to 99% - once again
showing the value of full coverage testing. (CVS 3818)
FossilOrigin-Name: bebf8d2f886ed9fe1b96e4cb11ab3de2f2f7d2c8
2007-04-06 01:03:32 +00:00
danielk1977
e180dd9396
Always truncate the pager cache when truncating the database file. Also reorganize the code to check the change-counter after first obtaining a shared lock. (CVS 3814)
...
FossilOrigin-Name: 9dc4100eff71be579480ce7939c7da712d28f0ae
2007-04-05 17:15:52 +00:00
danielk1977
c551edc2c3
Avoid attempting to reclaim memory from in-memory databases in sqlite3_release_memory(). (CVS 3812)
...
FossilOrigin-Name: c20f7563c0ffa1df47df5464f1f1cc4703ffa9b4
2007-04-05 13:12:13 +00:00
drh
7c4ac0c555
Improvements to coverage testing. (CVS 3810)
...
FossilOrigin-Name: 38af156da83a8469080ddb75a9a286be33ff6bef
2007-04-05 11:25:58 +00:00
danielk1977
2026cefaf8
Zero cached pages located beyond the end of the file before returning them. Ticket #2285 . (CVS 3808)
...
FossilOrigin-Name: 5180810eeaa3dfe3d934af0732a920ae117ec69f
2007-04-05 05:46:14 +00:00
drh
5f9c1a2cbd
Test coverage improvements. (CVS 3807)
...
FossilOrigin-Name: 25f49acc5662ed8dd321b83a60aeeab93a37e129
2007-04-04 01:27:44 +00:00
danielk1977
3fb79c8346
Add Tcl (flush) commands to exclusive2.test, which is failing on some systems but not others. (CVS 3806)
...
FossilOrigin-Name: 9e004c519a30257fe3230ac7af630d296e139c9e
2007-04-03 16:13:51 +00:00
danielk1977
8d96eb0fac
Add a different form of I/O tests. So far has failed to expose new bugs. (CVS 3802)
...
FossilOrigin-Name: 9e1295428f476dba21c28149c7983f66a9134559
2007-04-02 16:46:23 +00:00
danielk1977
aeba431fa9
Cover an extra case in sqlite3PagerMovepage(). (CVS 3796)
...
FossilOrigin-Name: 7313688bd03141381067c36800edf1621a2ea05e
2007-04-02 14:19:16 +00:00
danielk1977
cd1aa9000f
Fix for #2281 . This was a problem with the test-case only. (CVS 3795)
...
FossilOrigin-Name: c036db6251ca4671fc3388a4f37955c18adeca1d
2007-04-02 12:29:01 +00:00
danielk1977
ead8e3f45e
Cover a corrupt-db case in pager.c. (CVS 3794)
...
FossilOrigin-Name: 84077fa1602756339a262bc4ab51b6b487edc637
2007-04-02 12:28:27 +00:00
danielk1977
08d31a2a6d
Correctly handle the obscure case of a read-only hot-journal file. (CVS 3791)
...
FossilOrigin-Name: 4d8c6bf44ec00ec04e615983cb33425ca2c3998a
2007-04-02 11:08:58 +00:00
danielk1977
241687280b
Fix a resource leak introduced by the change-counter optimisation. Also add some test coverage. (CVS 3790)
...
FossilOrigin-Name: ba0538a4977aefd6645554f1989f0a98b540b9cd
2007-04-02 05:07:47 +00:00
drh
dd92431a03
Improvements to the output of the speed tests. (CVS 3785)
...
FossilOrigin-Name: 1a4d8024b06488f17831b5d3d47e41c5f1134800
2007-03-31 22:34:16 +00:00
drh
b3738b6c85
Improved test coverage for printf.c. (CVS 3780)
...
FossilOrigin-Name: c2badb208ff1207a1471410965947893b070ea50
2007-03-31 15:02:49 +00:00
danielk1977
393f068912
More coverage for pager.c. (CVS 3778)
...
FossilOrigin-Name: 665b119a241a5a95f236b3ace1b25fc18ae6f0a3
2007-03-31 10:00:48 +00:00
drh
331e8d6216
Remove vestiges of SQLITE_PROTOCOL from the test scripts. (CVS 3774)
...
FossilOrigin-Name: e5e8d56397acf041aeaf5361381eb22eb1554759
2007-03-30 20:46:13 +00:00
danielk1977
3546947df3
Coverage testing for a few lines in pager.c. (CVS 3770)
...
FossilOrigin-Name: c1aca18fad35be60066a08f5bd09772d24375af6
2007-03-30 18:21:52 +00:00
drh
a817e42a21
Get the memleak.test script working again after recent changes. (CVS 3768)
...
FossilOrigin-Name: cd6ca078e3402f06836b6b510a4a431f576f7219
2007-03-30 17:17:51 +00:00
danielk1977
95b289b684
Coverage tests for some pragmas. (CVS 3767)
...
FossilOrigin-Name: eec7ab63beed875a3b16c3bf8d28ac4f296dfb4c
2007-03-30 17:11:12 +00:00
drh
369339db34
Always enable exclusive access mode for TEMP databases. This cannot be
...
changed. The locking_mode pragma has not effect on the TEMP database. (CVS 3766)
FossilOrigin-Name: 04d3b9098ed06d5be24253edde50ea61b4641df8
2007-03-30 16:01:55 +00:00
danielk1977
780b1d9416
Coverage improvements for where.c. (CVS 3764)
...
FossilOrigin-Name: 7e0aa964129612e2bad6fa45139d124f19cacd48
2007-03-30 14:56:34 +00:00
drh
073d3efae4
Avoid using the "clock" command in test scripts since it is a proc in Tcl8.5
...
and is thus not available to testfixture. (CVS 3760)
FossilOrigin-Name: 339941d83ae397d69084f41483afb1ea44d44967
2007-03-30 13:01:32 +00:00
danielk1977
935ed5eafd
Test coverage a few extra lines in where.c. (CVS 3756)
...
FossilOrigin-Name: ea49ddf64aa6073b8018dc2faaf199704d359412
2007-03-30 09:13:13 +00:00
danielk1977
b5584c0c69
Extra test cases to improve coverage of main.c. (CVS 3755)
...
FossilOrigin-Name: 19fc3d78962d225d42372b9298be5921ec1fc8a1
2007-03-30 07:10:50 +00:00
shess
06c69d2ed6
Buffer updates per-transaction rather than per-update. If lots of
...
updates happen within a single transaction, there was a lot of wasted
encode/decode overhead due to segment merges. This code buffers
updates in memory and writes out larger level-0 segments. It only
works when documents are presented in ascending order by docid.
Comparing a test set running 100 documents per transaction, the total
runtime is cut almost in half. (CVS 3751)
FossilOrigin-Name: 0229cba69698ab4b44f8583ef50a87c49422f8ec
2007-03-29 18:41:03 +00:00
drh
2ecad3b443
Make sure the strftime() date conversions put in leading zeros correctly.
...
Ticket #2276 . (CVS 3749)
FossilOrigin-Name: e853067ec4db3eedfb4adcdd4172de2c55b9ac58
2007-03-29 17:57:21 +00:00
danielk1977
69b637b56b
Add a couple of test cases to improve coverage testing. (CVS 3747)
...
FossilOrigin-Name: 0b22ce3637f87c453084c5bd994b6b19a0b014c0
2007-03-29 17:07:52 +00:00
shess
194f8972d5
Don't call ctype functions on hi-bit chars. Some platforms raise
...
assertions when this occurs, and it's almost certainly not the right
thing to do in the first place. (CVS 3746)
FossilOrigin-Name: f6c3abdc6c5e916e5366ba28fb1cd06ca3554303
2007-03-29 16:30:38 +00:00
danielk1977
a713f2c331
Explicitly test some error cases that up until now have not been checked. (CVS 3742)
...
FossilOrigin-Name: f26b014109b1b20367044c5d3fcb347af73d07aa
2007-03-29 12:19:11 +00:00
drh
95bad4c751
Improvements to the XFER Optimization of the INSERT statement. (CVS 3736)
...
FossilOrigin-Name: 53fff7d1f2f829010a2641c7738538b3155da4b2
2007-03-28 18:04:10 +00:00
drh
72e8fa42f9
Correctly handle NULLs in IN operators. Ticket #2273 .
...
The changes in where.c and in the WhereLevel.aInLoop structure are
not strictly necessary to fix this problem - they just make the code
easier to read. Only the change in OP_Next/OP_Prev operator of vdbe.c
is required. (CVS 3735)
FossilOrigin-Name: 26348556d824c032851e409ac510cddb55c200bf
2007-03-28 14:30:06 +00:00