drh
5e0ccc216d
Fix issues with the io.test script. There is still a problem with a
...
ROLLBACK TO not working on an initially empty database files. And much
more testing is needed.
FossilOrigin-Name: 09786e2a51817d572a01ae7f3621f03fd27fc363
2010-03-29 19:36:52 +00:00
drh
dd3cd977cc
Experimental changes that cause SQLite to use bytes 28..31 of the database
...
header to determine the database size, rather than using the actual database
size. This allows database space to be preallocated.
FossilOrigin-Name: b844ac6fcb72595a71e5c5283ec461309a87ba79
2010-03-27 17:12:36 +00:00
dan
c26c00495f
Increase the estimated cost of using a virtual table as the outer loop of a join when there exists an ORDER BY clause that is not satisfied by the virtual table. Fix for [775b39dd3c].
...
FossilOrigin-Name: 9e075e70f0e2a1ad302d17150cd58f91669a97a6
2010-03-27 09:44:42 +00:00
shaneh
1141ae2463
Fix OOM error on ANALYZE with STAT2 enabled with zero-length data. Ticket [cbd054fa6b].
...
FossilOrigin-Name: c33b38b59f733494ca0bce3f59a669fe7ed76b9f
2010-03-26 01:54:33 +00:00
dan
6d3cb2fbae
Fix for [9861b74ab9]. Correctly handle strings with zero tokens in the fts3 offsets() function.
...
FossilOrigin-Name: d37034f7fc46b83be681247fde97823736c994cc
2010-03-24 15:57:33 +00:00
drh
280799b4ff
Attempt to suppress a warning from Borland Code Guard.
...
FossilOrigin-Name: be278979917336e7186d7830876180154b5280ba
2010-03-24 11:55:08 +00:00
drh
7bca0a3660
More commenting and documentation enhancements in FTS3.
...
FossilOrigin-Name: 892e286709c4a72aae364b85dd43bea525bb1b4d
2010-03-23 18:24:06 +00:00
drh
d6291c9155
Fix up obsolete comments in FTS3 to conform to the latest nomenclature.
...
Add new comments to better explain FTS3 operation.
FossilOrigin-Name: 3e4a0082170155b5b779afd075a3ee650530ca68
2010-03-23 15:46:41 +00:00
drh
486ff4897e
Close the auxiliary database db2 at the end of the crash8.test script.
...
FossilOrigin-Name: 0fbdc431e832200efd87efd68456d5906397a219
2010-03-23 15:29:49 +00:00
dan
e07b606522
Add an extra test case for crash recovery.
...
FossilOrigin-Name: f2326dad4e47b2657be302e194970967960eb1c0
2010-03-22 17:38:11 +00:00
dan
bb23e7f91b
After a rollback that writes or truncates the database file, sync the database file before invalidating the journal contents.
...
FossilOrigin-Name: b21b911f233842357af9ccc14525bbd48a38edb1
2010-03-22 17:13:53 +00:00
drh
acd63a5a62
Disable the "init.test" test script when compiled with SQLITE_THREADSAFE=0.
...
FossilOrigin-Name: ad68fa65bbd6b82e69fe8c36e4c459ea2ced0f8c
2010-03-22 15:47:38 +00:00
dan
98f0c3619f
Change the formatting of the preprocessor macros surrounding the compileoption interface in sqlite.h.in. This is so the documentation produced by parsing this part of sqlite.h.in is formatted similarly to the docs for the deprecated interfaces (with the #ifndef visible on the webpage).
...
FossilOrigin-Name: 161958d11f2ef6ce4d7ba69afea03e0a6764cc1b
2010-03-22 04:32:13 +00:00
drh
f3609eeba7
Put an ALWAYS() around a condition in pcache.c that must always be true in
...
the current implementation.
FossilOrigin-Name: 88810cd091b33f2c56f842e32cafbac5d34d7412
2010-03-19 19:23:51 +00:00
dan
3f0d9d3846
Have the xUpdate() method of the rtree module virtual table implementation set the *pRowid output variable when inserting a row. Fix for [dd3ba6063a].
...
FossilOrigin-Name: f31d22489d44701c89cb13c663dfa1a6cc04f900
2010-03-19 19:02:27 +00:00
drh
f92a4e35c5
Store the SQLite version number of the last writer in bits 96..99 of the header.
...
FossilOrigin-Name: 146d4f5d3459235d8b2d27a5d77beb7645f75185
2010-03-19 16:55:47 +00:00
drh
e9c2d34c5b
Make sure the in-journal boolean vector is cleared and released when ending
...
a transaction. This fixes an obscure problem with the previous check-in.
FossilOrigin-Name: 69d749d93d6565b848ce5c07f2738d144c6564bf
2010-03-19 16:52:53 +00:00
drh
ba726f4939
Do create, open, or initialize the rollback journal until something actually
...
needs to be written into the journal. That way, expensive filesystem
operations are avoided if the transaction ends up being a no-op.
FossilOrigin-Name: b78e58ae1570ab4d66a69db445a752c6456038a0
2010-03-19 15:48:13 +00:00
dan
3b6f4c06ac
Rewrite a couple of queries used internally by FTS3 to take advantage of the "SELECT max(x) FROM ..." optimization.
...
FossilOrigin-Name: b7e42ae77443b33e0ab83265064830594094dc7c
2010-03-19 06:59:19 +00:00
drh
71663ad0c1
Mark internal routines as "static" in FTS3.
...
Ticket [b1552d0fa7].
FossilOrigin-Name: 39b34ac4a7bd06144b3630c0ad71bad0615418b6
2010-03-18 16:34:44 +00:00
drh
3a3dd3ac8d
Improved error message when the right-hand operand of MATCH in FTS3 is
...
not a valid search expression. Ticket [170872f1c3].
FossilOrigin-Name: bea9258643edfeb98ebf59d93fa18a14e4221fea
2010-03-15 20:53:01 +00:00
drh
9396a41e6e
Fix FTS3 so that it does not run illegal SQL and cause a spurious log
...
message. Ticket [42d45a693e6].
FossilOrigin-Name: f186b6a61909be1d65b76a6fbaa42f57bbd0d1e5
2010-03-15 19:27:55 +00:00
drh
ed37690afd
Store the database size in pages in bytes 28..31 of the header. Currently
...
this is for forensic use only, but it might be used in the future.
FossilOrigin-Name: 59f75bba028e1107ed41d447c27aef31a6656b68
2010-03-13 02:15:49 +00:00
drh
107b56e86d
Add assert()s to mem2.c (activated by SQLITE_MEMDEBUG) which verify that
...
memory alloctions that might have come from lookaside are always freed
using a lookaside-aware free routine.
FossilOrigin-Name: c2af2164cf7b279ebb3e08201561348be6e765df
2010-03-12 16:32:53 +00:00
drh
735b9cbb96
Move the ctime.c source module near the beginning of the list of files
...
inserted into the amalgamation so that #defines that are overridden in
other modules will not effect the values returned by
sqlite3_compiletime_used().
FossilOrigin-Name: bb591802fff5a99ae504509e812bb34e762eaef0
2010-03-10 23:13:53 +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
drh
9f8da32662
Remove the "experimental" markings on most interfaces that have been around
...
for multiple releases.
FossilOrigin-Name: d670e8bd51c794e2d7ea365ca553c2b74cf5a3a3
2010-03-10 20:06:37 +00:00
drh
c92271c549
Fix typo in a comment in the sqliteInt.h. No changes to code.
...
FossilOrigin-Name: 1716821ddb992fd6d1330604d4f59586bf056b00
2010-03-10 14:06:35 +00:00
drh
1d2b77944d
Version 3.6.22
...
FossilOrigin-Name: 4ae453ea7be69018d8c16eb8dabe05617397dc4d
2010-03-09 19:31:43 +00:00
shaneh
942179f37a
Fix a test script issue affecting the TCL backup tests under Windows.
...
FossilOrigin-Name: 20c400e73a9b6586b97de61da0d9f3d9a01dbebc
2010-03-09 15:10:30 +00:00
shaneh
6d8096e675
Version 3.6.23 release candidate 4
...
FossilOrigin-Name: 3445eda0295940e00c33cc87aedaf586fa1b1b63
2010-03-09 14:41:57 +00:00
shaneh
1da207e676
Minor changes to silence compiler warnings on various MSVC builds.
...
FossilOrigin-Name: 115c978b6bbc110119a1b2f178cc30b33aaa27ef
2010-03-09 14:41:12 +00:00
drh
ed6adb447f
Version 3.6.23 release candidate 3
...
FossilOrigin-Name: 747baea5c32f9a5de4b46a1fd1b24bd509c9a85e
2010-03-09 13:12:40 +00:00
drh
0b2f8ba965
Check-in [87a6a9970b] did not completely disable FTS4. This check-in aims
...
to finish the job.
FossilOrigin-Name: 0259b6299e435b3c3a7ca33df8c38c8a5dc84a61
2010-03-09 13:02:09 +00:00
drh
c7594fc635
Version 3.6.23 release candidate 2
...
FossilOrigin-Name: 73f4d292dc66ac41456f2ebddada82c7f5633431
2010-03-09 12:35:50 +00:00
drh
40d238e09f
Disable FTS4 (which is incomplete and not ready for publication) to prevent
...
accidental use.
FossilOrigin-Name: 87a6a9970b8cea25fc5f8ff03d87762dd1166899
2010-03-09 12:35:21 +00:00
drh
e396bfe6fd
Version 3.6.23 release candidate 1
...
FossilOrigin-Name: 30e9f966e7bc517f69796828026c8b23337c356b
2010-03-09 05:01:49 +00:00
drh
3517324ddc
Add NEVER and assert macros and explanatory comments for unreachable
...
conditions.
FossilOrigin-Name: ffb6596e6c80e284c1542b03f2c7bbfce0bd87d9
2010-03-08 21:40:13 +00:00
dan
3b4aae569a
Correct an assert() in mem2.c (test code only).
...
FossilOrigin-Name: 1a88e31b03e090732243a70bec082b32ecf77c43
2010-03-08 15:17:53 +00:00
dan
01d3856428
Do not run the stmt.test script as part of the inmemory_journal permutation.
...
FossilOrigin-Name: 049cadf92bca5645a6f398eb83940344643fcacf
2010-03-08 10:32:38 +00:00
drh
29391c5b49
Make sure the dbFileVers field in the Pager object is properly initialized
...
even if there is an I/O error while reading its content off of disk.
FossilOrigin-Name: 81ff698f62c8133818a3db1997ae7427705da23f
2010-03-05 20:17:45 +00:00
dan
5fea90762a
Change a condition in sqlite3VdbeMemShallowCopy() to avoid accessing an unitialized variable (doing so was not dangerous, but caused a valgrind error).
...
FossilOrigin-Name: 4793c381c6ff4e4d25433298be30028721a9cb67
2010-03-05 18:46:12 +00:00
dan
89374d2309
Fix a one byte buffer overread in fts3.
...
FossilOrigin-Name: 6e3e014af91601ed1f3a9cbe23f7c4260a4d177f
2010-03-05 17:27:01 +00:00
dan
b7dca7d733
Modify the vdbe so that the comparison operator opcodes do not modify the data type of operands. Fix for [aa92c76cd4].
...
FossilOrigin-Name: 8858042fa1449516a2c7dbb991dca3eb6c5794cb
2010-03-05 16:32:12 +00:00
drh
f8b4d8c682
Adjustments to #ifdefs so that the #include of <sys/mount.h> is not included
...
twice, because that confuses the amalgamation builder.
FossilOrigin-Name: 27413fc8dd52b754b4be9344a66bb9e0d752d48e
2010-03-05 13:53:22 +00:00
drh
84a2bf67d8
Adjust some #ifdefs so that the build works on Mac both with and without
...
SQLITE_ENABLE_LOCKING_STYLE.
FossilOrigin-Name: 0cc981f1ccc2c99b87eb968590ad18b2d3ebf37b
2010-03-05 13:41:06 +00:00
dan
60d4a30453
Fix for [9abd6aa831]. Do not overread a buffer used for an %q or %w conversion with a precision specifier.
...
FossilOrigin-Name: 5e472896e02eed05c6c0886a48acd0bdc7a38731
2010-03-04 17:58:45 +00:00
drh
69ef70362a
Fix an uninitialized variable in printf when compiling with
...
SQLITE_OMIT_FLOATING_POINT.
FossilOrigin-Name: 14ad62b9a54dba5c5a2d4a994bcd4be6ab6e711f
2010-03-04 17:11:31 +00:00
drh
c05a9a8a57
Suppress harmless compiler warnings.
...
FossilOrigin-Name: fc2c63ac78ba7d48fe3232f88093e980ea34eaa9
2010-03-04 16:12:34 +00:00
drh
a64fa9123e
Increase the maximum length of an sqlite3_log() result string. Provide more
...
details on the statement abort log message.
FossilOrigin-Name: 5322d1df5ba981001d248b7fb2ee02281e4f9723
2010-03-04 00:53:32 +00:00