Commit Graph

4026 Commits

Author SHA1 Message Date
danielk1977
d84d483322 Fix for #2432 and partial fix for #2427 (documentation change only). (CVS 4097)
FossilOrigin-Name: f025a745319486d858e2831178a86265fd5fcf32
2007-06-20 09:09:47 +00:00
danielk1977
77b03a2ff1 Change main.mk to make it easier to build testfixture and sqlite3 with the icu or fts2 extensions linked in. (CVS 4096)
FossilOrigin-Name: 91719cc8eaf62f64099ff9eb2b48cef6c9c688f7
2007-06-20 08:49:05 +00:00
danielk1977
86889fc3c6 Fix snippet generation when the left-most column of an fts2 table is used in the MATCH clause. Fix for ticket #2429. (CVS 4095)
FossilOrigin-Name: fec56ad2ede53e3e202d9ad869a059eeb315796f
2007-06-20 06:23:54 +00:00
drh
1c747819de Change the TCL bindings so that @aaa always treats the variable aaa as
a bytearray and binds the value as a BLOB.  This change is backwards
compatible since the $ behavior is unchanged and @ was not accepted
until the current round of changes. (CVS 4094)

FossilOrigin-Name: 6f7d55acedc92eeaf988425c719addd56209187f
2007-06-19 23:01:41 +00:00
drh
59fffd02de Cleanup the TCL interface source code and add documentation for recently
added methods on the SQLite object of TCL. (CVS 4093)

FossilOrigin-Name: d88b79818a6a9e0413b9560687ec3c79fcb3dacc
2007-06-19 17:48:57 +00:00
drh
4f5e80f94b In the TCL bindings, if a TCL variable has a bytearray representation and
the host parameter starts with @ instead of $, then always store the
content as a BLOB not as a string even if a string representation is also
available. (CVS 4092)

FossilOrigin-Name: dcb104bd41f5e992d4c84b8947cb5099ae746891
2007-06-19 17:15:46 +00:00
drh
c551dd804a Change the name of the "limits.h" source file to "sqliteLimit.h".
Ticket #2428. (CVS 4091)

FossilOrigin-Name: 64bcc41f12e902fd025c9ba36c09dd6e4cf25923
2007-06-19 15:23:48 +00:00
drh
b21f87dda1 Do not segfault even if sqlite is misused by requesting query results
after the query has been reset.  ticket #2426. (CVS 4090)

FossilOrigin-Name: 783f19be387561fbca3ac7e223bdb7dedb5450c8
2007-06-19 10:58:24 +00:00
drh
63fff5f7a5 Cast the 2nd parameter of ftruncate to off_t to work around bugs in
some unix implementations.  Ticket #2425. (CVS 4089)

FossilOrigin-Name: 0b20a69609c64af922bedab381f7d075e9da4fc5
2007-06-19 10:50:38 +00:00
drh
74792b2f91 Another attempt to fix the build process for TCL windows bindings. (CVS 4088)
FossilOrigin-Name: 1fd2a358d6361768981d0c7efbcf30b47c52a732
2007-06-18 17:44:16 +00:00
drh
8ffa817305 Bring the pager_datahash() macro into sync with its function definition.
Ticket #2422. (CVS 4087)

FossilOrigin-Name: ba967bbb62ccf29438db352c573773ae741d0daf
2007-06-18 17:25:17 +00:00
drh
455cd796f6 Fix the build scripts so that they generate Tcl bindings for windows
correctly. (CVS 4086)

FossilOrigin-Name: c7be8b419fdfe6561331485f5f866610457e44ad
2007-06-18 16:06:20 +00:00
drh
e91f2b75d6 Version 3.4.0 (CVS 4085)
FossilOrigin-Name: 2647980fba92a453ef8afb48c80405d023177ab6
2007-06-18 13:33:58 +00:00
drh
44548eccb9 Documentation updates prior to release 3.4.0. Enhanced support for
soak testing in the test scripts. (CVS 4084)

FossilOrigin-Name: eec387103869940697487ec5226eaed0b51ede7a
2007-06-18 12:22:43 +00:00
drh
4f0aee41c3 Fix a faulty assert() in the pager. (CVS 4083)
FossilOrigin-Name: 4cff47b06132768e92ba2235cab5c17d1082f8f9
2007-06-16 18:39:41 +00:00
danielk1977
68a6b5ec98 Modify the tests in exclusive2.test to account for the fact that the pager cache may be very small by default. These tests are only valid if the entire database fitting in the cache. (CVS 4082)
FossilOrigin-Name: 04a13fe43e61bd0dbff42c448e763078503b00bf
2007-06-16 14:43:51 +00:00
drh
b3905ab5e1 Add another scenario to the soak1.tcl script. (CVS 4081)
FossilOrigin-Name: 10e6822d4f1e0a94d5033b7b9efc1d8ed1e957d1
2007-06-16 14:19:36 +00:00
drh
732c817f8b A minor logic correction in the previous check-in. Also added a lengthy
comment describing the meanings of various flags in the 
{quote: PgHdr} structure. (CVS 4080)

FossilOrigin-Name: 57bf8204cde47dfeb31c064f2b128b9a8d94189f
2007-06-16 11:17:45 +00:00
drh
5e3853112a Fix a database corruption problem that can occur in auto-vacuum mode when
a malloc() failure causes a statement rollback, additional statements
are run in the same transaction, then the total transaction rolls back. (CVS 4079)

FossilOrigin-Name: c9dcf2b926c99ff9cee68589f364461ab2a1d11f
2007-06-16 04:42:12 +00:00
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