Commit Graph

4207 Commits

Author SHA1 Message Date
drh
477731b52d Additional debugging instrumentation added to the pager. (CVS 4078)
FossilOrigin-Name: dcdb20f81ae923f6f56d75c7b8b89a0b3abff954
2007-06-16 03:06:27 +00:00
drh
7d7f17b6a8 Make arrangements to optionally print a debug message at the point
of a simulated malloc() failure when SQLITE_MEMDEBUG is defined. (CVS 4077)

FossilOrigin-Name: 7d3c1f08a34fcf2ca5c79d6e58f713ae6a4b34e8
2007-06-15 20:29:20 +00:00
drh
341ae48332 Fix more documentation typos. Ticket #2416. (CVS 4076)
FossilOrigin-Name: b55318b12d026abd5a32469a19c36abbd6250137
2007-06-15 18:59:08 +00:00
drh
daf276d466 Remove a C++ism from the test harness. Get the TCL interface working with
older versions of TCL. (CVS 4075)

FossilOrigin-Name: c8beb8674e5a1effc2785f205124628fbdaf57e0
2007-06-15 18:53:14 +00:00
drh
2df37c0390 Add a script for "soak" testing. (CVS 4074)
FossilOrigin-Name: d4ea1287a8b013a97fcb55bb7f7feba427222bab
2007-06-15 18:43:37 +00:00
danielk1977
3586110b4a Fix a race condition in test_server.c/test7.c (test changes only). (CVS 4073)
FossilOrigin-Name: d0de32e4c630c43ecd9d5e5296ae84aeff80c083
2007-06-15 17:50:04 +00:00
drh
bc9c9b9964 Fix typo in change comments for 3.4.0. Ticket #2416 (CVS 4072)
FossilOrigin-Name: 1f6f0330000ca564e75cd930afb9f9ce23551d89
2007-06-15 17:04:37 +00:00
drh
43b788260e Fix a memory leak in the parser that can occur following a malloc failure. (CVS 4071)
FossilOrigin-Name: d0b6e9a07e99cc1a7d7f61877918c9a247899996
2007-06-15 17:03:14 +00:00
danielk1977
edaaec223c Fix an obscure memory leak in the SQL compiler.. (CVS 4070)
FossilOrigin-Name: d4ab94288b1e3d3d069ccc75d0fc2fbe6c1383c5
2007-06-15 16:37:29 +00:00
drh
5bd1bf2ebc Fix a memory leak that was discovered by the tests that were added to
cover ticket #2339. (CVS 4069)

FossilOrigin-Name: 1d10a489340718cc708e11e28e7bb31c67e00ad8
2007-06-15 15:31:49 +00:00
danielk1977
ca306519bc Fix a test suite bug. To accommadate the fact that handles returned by (db incrblob) change for the second test suite iteration of full.test. (CVS 4068)
FossilOrigin-Name: 32218834b80b1ba900c52e43a2e59783a2553897
2007-06-15 15:08:08 +00:00
danielk1977
de523acceb Fix for #2415. The progress handler should abandon only the current query, not all active queries. (CVS 4067)
FossilOrigin-Name: 115e19fe22b9e79fcc400f3a59c80dd9828100e7
2007-06-15 14:53:53 +00:00
drh
9142a83dd4 Do not try to run the fuzz_malloc tests if SQLITE_MEMDEBUG is not enabled. (CVS 4066)
FossilOrigin-Name: 452115959f1bd22bfe64ed10724d6d08d4cbe3f5
2007-06-15 13:57:19 +00:00
drh
1a3a188ac7 Clean up a variable in tkt2409.test that would cause subsequent tests to fail. (CVS 4065)
FossilOrigin-Name: 0f944cb9fbe30c2a7ec36b7dc7e21fb39a60e810
2007-06-15 12:41:02 +00:00
drh
711ffd8c76 Documentation updates in preparation for 3.4.0. (CVS 4064)
FossilOrigin-Name: 5232fd29d01d48d70b6d8f34ad5d0e2dde115fa0
2007-06-15 12:16:31 +00:00
drh
8030869589 Update the btree file format description in btreeInt.h. (CVS 4063)
FossilOrigin-Name: 1ac160d3dc0f8723a1e2007cf45351dd8242c8c2
2007-06-15 12:06:58 +00:00
drh
6ed48bf6d7 The C-api reference documentation is now generated directly from
comments in the sqlite3.h header file. (CVS 4062)

FossilOrigin-Name: d93c41e9a97882bf90217d60744d62dece6d10d3
2007-06-14 20:57:18 +00:00
danielk1977
3fe11f3021 Have queries interrupted by the progress-handler return SQLITE_INTERRUPT. Rollback any active transaction if a DML statement returns SQLITE_INTERRUPT. (CVS 4061)
FossilOrigin-Name: 33454b5691637da7ded7d18d7f5726b796260c6b
2007-06-13 16:49:48 +00:00
danielk1977
e965ac7773 Fix for #2409. Return SQLITE_IOERR_BLOCKED instead of SQLITE_BUSY in cases where failure to obtain a database lock leaves the cache in an inconsistent state.
See additional information at CorruptionFollowingBusyError. (CVS 4060)

FossilOrigin-Name: ce2c9925d06315d73fb5fd0c7265fb4cd65665aa
2007-06-13 15:22:28 +00:00
drh
109b43507d In the "transaction" command of the TCL interface, if a COMMIT fails finish
it with a rollback. (CVS 4059)

FossilOrigin-Name: 6da39fa4429400e21924074f5f219f4cb32415ff
2007-06-12 18:50:13 +00:00
shess
401b80656d Minor comment edits from my prefix development client. No code changes. (CVS 4058)
FossilOrigin-Name: 6953cd0935b5526756ab745545420e40adc3c56d
2007-06-12 18:20:04 +00:00
drh
cd81dc4b13 Fix typo in the limits.html document. Ticket #2410. (CVS 4057)
FossilOrigin-Name: d3fe186c330d74209ac291972b09883b06e0e143
2007-06-11 23:23:24 +00:00
drh
9c86df5269 Fix a bug in the LIKE optimization that was causing the pattern string
to be dequoted twice.  Ticket #2407. (CVS 4056)

FossilOrigin-Name: abf64d1d0ae3e84c4482b38198eeb44b62cc5d9e
2007-06-11 12:56:15 +00:00
danielk1977
b39fa65289 Add a README.txt file for the ICU extension. (CVS 4055)
FossilOrigin-Name: 7b6927829f18d39052e67eebca4275e7aa496035
2007-06-11 08:00:00 +00:00
drh
7361cb1f2c Define isnan() on windows. Ticket #2399. (CVS 4054)
FossilOrigin-Name: fed9373e27b9d5338159a41772f8983420b902b0
2007-06-10 22:57:33 +00:00
drh
b0e64f33da Documentation updates, in particular in the new limits.html file is added. (CVS 4053)
FossilOrigin-Name: 4ca6cdae94f6d0a2c95755d4a250f9f3bc7a0d7b
2007-06-09 09:53:51 +00:00
drh
3b62b2fa8b Use C-sylte comments exclusively, never C++ comments. Ticket #2406. (CVS 4052)
FossilOrigin-Name: 8f5b789fea23d76128c10b37158de2525a54ce20
2007-06-08 18:27:03 +00:00
drh
b70429577f Additional test cases for comparisons against NULL in the WHERE clause
and elsewhere in a SELECT. (CVS 4051)

FossilOrigin-Name: 72612a0373c7abf8aadfdeb46358c0b0ae7b07a0
2007-06-08 08:43:10 +00:00
drh
f07b484449 Make sure rowid comparisons against NULL work correctly. Ticket #2404. (CVS 4050)
FossilOrigin-Name: 11ee8ea43f20f6146f4e4fcd9299468b3a99f998
2007-06-08 08:39:01 +00:00
drh
0a168377ad Fix the query optimizer so that it correctly handles constant expressions
in the ON clause of a LEFT JOIN.  Ticket #2403. (CVS 4049)

FossilOrigin-Name: 46fdd195483787eef209a9b8ad108eba147be6fa
2007-06-08 00:20:47 +00:00
drh
98640a3fa1 Make sure zeroblob does reasonable things with a negative argument or
an argument that is larger than the maximum blob size. (CVS 4048)

FossilOrigin-Name: f40218434e549144ddb48303df30e5191d44d3fc
2007-06-07 19:08:32 +00:00
danielk1977
6c900c3df7 Fix an error in test file sqllimits1.test that was causing a test to fail when SQLITE_MAX_EXPR_DEPTH was defined. (CVS 4047)
FossilOrigin-Name: e66aa2c34a5c767554c022d01386a95558083e84
2007-06-07 15:45:35 +00:00
drh
0325d8731b Add the SQLITE_MAX_COMPOUND_SELECT compile-time parameter for limiting
the number of terms in a compound select statement.  Set the default limit
to 100. (CVS 4046)

FossilOrigin-Name: 0d71ad4591eae9de8749fb2da6455ac661587f7a
2007-06-07 10:55:35 +00:00
danielk1977
39984cdc8b Fix a vdbe stack leak that could occur where one side of a WHERE clause inequality evaluated to SQL null. (CVS 4045)
FossilOrigin-Name: 17152bf1a268e130f0c43046bb438b617a747ff5
2007-06-02 07:54:37 +00:00
danielk1977
9afe689ea4 Extend out-of-memory testing with fuzzily generated sql some. One fix for a problem found by the same. (CVS 4044)
FossilOrigin-Name: d2282e64f1320913797dfb4dae4db0428a15a200
2007-05-31 08:20:43 +00:00
danielk1977
c9cf901d8c Add some extra tests for malloc failure during expression parsing and execution using fuzzily generated SQL. (CVS 4043)
FossilOrigin-Name: 7522d2fb3204d107b8b4816d7f39c88741f20230
2007-05-30 10:36:47 +00:00
danielk1977
5453b8da9e Add the start of the soak-test infrastructure. (CVS 4042)
FossilOrigin-Name: 5d0b247ca1667f5d773bda337cb6f58c3b14676a
2007-05-30 08:18:04 +00:00
danielk1977
6b28f053fd Fix a problem with zeroblob() and CAST(...) expressions that could cause an assert() to fail. (CVS 4041)
FossilOrigin-Name: 03750a2a6b5186689f7db6650c0a889429790b03
2007-05-30 06:19:32 +00:00
danielk1977
bcbb04e501 Consider explicit collate clauses when matching WHERE constraints to indices. Fix for #2391. (CVS 4040)
FossilOrigin-Name: f9a95e92dfaaa61ec0a44b9b7017b07929c94d26
2007-05-29 12:11:29 +00:00
danielk1977
331bf02e0e Add some tests to verify that the parameter to the incremental_vacuum pragma is working. It is. (CVS 4039)
FossilOrigin-Name: 1abf784fe27cdc61b6b944b79d024ea98eb5289e
2007-05-24 10:18:22 +00:00
danielk1977
e48b1f1e9b Fix a typo in comments in sqlite.h.in. No code changes. Ticket #2384. (CVS 4038)
FossilOrigin-Name: e8ae6214bfef4230096b6b56e688e9d4cd93f1b8
2007-05-24 09:44:10 +00:00
danielk1977
369f3a050c Remove an assert() statement that may not be true if an IO or malloc error has occured. (CVS 4037)
FossilOrigin-Name: 16c8e9c20cd2a7628c20a31c3e9605fe2d92ba2e
2007-05-24 09:41:20 +00:00
danielk1977
deb403e797 Fix a page reference leak that could occur after an IO error. (CVS 4036)
FossilOrigin-Name: d00c8242c610476c15d6eb4dc53fecab3971fea1
2007-05-24 09:20:16 +00:00
danielk1977
d3a29ce7dc Remove an incorrect assert() statement that was being triggered by ioerr tests run in utf-16 mode. (CVS 4035)
FossilOrigin-Name: c6575173be13296fbe57932f2d24a568f6d552ff
2007-05-24 07:47:06 +00:00
danielk1977
2df71c742c Fix an assert() failure occuring in corrupt.test. (CVS 4034)
FossilOrigin-Name: 3c54cddf23e3b9f62815d1b825110563f78cc325
2007-05-24 07:22:42 +00:00
danielk1977
7677c0cc62 Add some code to MemTranslate() to prevent the READ_UTF8() macro from overreading a buffer. (CVS 4033)
FossilOrigin-Name: 0595319cd716611bb5a12eb952e395283ea749bb
2007-05-23 16:23:09 +00:00
danielk1977
17a240a25e Make sure the database schema has been read before compiling an incrmental_vacuum pragma. (CVS 4032)
FossilOrigin-Name: efd7bcb34c1b4a0a3d4b954b90dfee93ac87bc86
2007-05-23 13:50:23 +00:00
danielk1977
89a4be8af1 Fix a leaked page reference that could occur after an IO error in auto-vacuum databases. Also modify incrvacuum.test to work with DEFAULT_AUTOVACUUM=1 builds. (CVS 4031)
FossilOrigin-Name: e691f2fa3d8c1bbb66d27eea299ae2fb1ea1a16d
2007-05-23 13:34:32 +00:00
danielk1977
4ef24490a1 Fix a database corrupting bug in the optimistic overflow chain. Exposed by running bigrow.test with auto-vacuum enabled. (CVS 4030)
FossilOrigin-Name: 10ee2d50cbcdcbbd8141ff2aba4fd2c0c0b70d67
2007-05-23 09:52:41 +00:00
drh
7a4f5023a4 Additional comments ono the SQLITE_MIXED_ENDIAN_64BIT_FLOAT issue. (CVS 4029)
FossilOrigin-Name: dd48a31e671de09f59661b2ba1a20e7b9f09099a
2007-05-23 07:20:08 +00:00