danielk1977
777da0848d
Fix a couple of memory leaks that may follow malloc failures. (CVS 5906)
...
FossilOrigin-Name: 4cf8a8e1bf22e1d8f7166e64328a95fe36c75033
2008-11-13 19:12:34 +00:00
shane
dcc50b74e6
Fixed several more crashes due to corrupt db files. Added corruptC.test to soak.test. (CVS 5905)
...
FossilOrigin-Name: 9b7a52e952c81e50611e04d2d79003b0ddc57ee5
2008-11-13 18:29:50 +00:00
shane
84ca3837c2
Added support for -DSQLITE_NO_SYNC to os_win.c. (CVS 5904)
...
FossilOrigin-Name: 2649337937077d2dba7cdc7473fcd176aa252a52
2008-11-13 18:20:43 +00:00
shane
ec21707dd7
Fixed typo in tkt3472.test that prevented the test from running. (CVS 5903)
...
FossilOrigin-Name: 428a5479200dc24e2ee9b4a85ef6caadacbdbbd7
2008-11-13 18:02:51 +00:00
danielk1977
093e0f6ffe
Avoid committing a transaction from within the xSync() method of a virtual table. Fix for #3497 . (CVS 5902)
...
FossilOrigin-Name: eabb8b7591eab164c637d78ca4df00fcb5bd3c5b
2008-11-13 18:00:14 +00:00
danielk1977
ac8d7b35fa
Minor changes to get memsys5 compiling and its tests passing. Ticket #3495 . (CVS 5901)
...
FossilOrigin-Name: 96453ca16e90bc0c0cbfb75b3e39899f56d6ea66
2008-11-13 16:21:50 +00:00
danielk1977
d17e71c95c
Update mksqlite3c.tcl to include new file pcache1.c. (CVS 5900)
...
FossilOrigin-Name: 00442e0f57b52808d087154c84ece531bf1cfb62
2008-11-13 14:42:18 +00:00
danielk1977
bc2ca9eb39
Add an API to support custom page cache implementations. (CVS 5899)
...
FossilOrigin-Name: 47866d6708e9b69e367937fd85f93580fd025447
2008-11-13 14:28:28 +00:00
danielk1977
0d0654119f
Avoid some buffer overreads detected by valgrind while running corruptC.test. (CVS 5898)
...
FossilOrigin-Name: faa6bd7b615837c920b5b3b027115caa2f56ec15
2008-11-12 18:21:36 +00:00
drh
f99b7c8d56
Version 3.6.5 (CVS 5897)
...
FossilOrigin-Name: 369f74983bb1b6a6426260148018cdc084fc2b49
2008-11-12 15:38:53 +00:00
drh
7ab49bfd1e
Do not redefine the MIN and MAX macros if they are already defined. (CVS 5896)
...
FossilOrigin-Name: f41dd2053c8a297a05b47d0ef631b4d9a7db2fff
2008-11-12 15:24:27 +00:00
danielk1977
ef988b47a4
In corruptC.test, explicitly set "PRAGMA auto_vacuum = 0". (CVS 5895)
...
FossilOrigin-Name: b6563af8f9517760c2346a820e241b0517a10fe0
2008-11-12 14:22:25 +00:00
drh
03c7a2f1a1
Update the version number to 3.6.5. (CVS 5894)
...
FossilOrigin-Name: f150b870e3a24d407d8d5ac374e2a7d0f4072a2d
2008-11-12 14:21:05 +00:00
drh
0d7f4fc4b0
Omit the threadOverrideEachOthersLocks tests for builds that non-unix
...
or non-threadsafe. (CVS 5893)
FossilOrigin-Name: ab418656dbf3d2e055b2462a155d90863fef6582
2008-11-12 14:07:51 +00:00
drh
d72a276e9a
Fix a faulty assert in select.c. Ticket #3494 . (CVS 5892)
...
FossilOrigin-Name: e89f9c806328e0de2e8633e09242f67e26f43d76
2008-11-12 12:27:31 +00:00
danielk1977
ab396298c4
Modify a failing test case in corruptC.test. The test case was failing only because the integrity_check was returning a slightly different error message than expected. (CVS 5891)
...
FossilOrigin-Name: 0953f300f8e8b2bed79ef3189a1cb29f058f388b
2008-11-12 11:57:41 +00:00
danielk1977
360e634ed4
Fix a database corruption related crash uncovered by corruptC.test. (CVS 5890)
...
FossilOrigin-Name: 395084acbb4c8ef878d858f640f1ed6be908d175
2008-11-12 08:49:51 +00:00
danielk1977
259a455f71
Make sure affinities and implicit collation sequences are correctly used by comparison expressions in the select-list or having clause of an aggregate query. Ticket #3493 . (CVS 5889)
...
FossilOrigin-Name: b8ceaa00500f29bbbd0cc5aec71a6ffa91ae6b43
2008-11-12 08:07:12 +00:00
shane
0af3f8935f
Fixed a few more crashes when dealing with corrupt db files. (CVS 5888)
...
FossilOrigin-Name: f8bb34e40917e55696376d2def932a41ad43d0ae
2008-11-12 04:55:34 +00:00
shane
34ac18daf5
Fixed crash during an UPDATE when free cell size is corrupt. (CVS 5887)
...
FossilOrigin-Name: ec18667e2d2826a27f2c052ba3790ab5b8cf0bc4
2008-11-11 22:18:20 +00:00
shane
826d5b7e1c
Prevent a crash during an UPDATE when the cell offset is corrupt. (CVS 5886)
...
FossilOrigin-Name: 99d4172ed6825c7efb6cbb28eb00d98323a13954
2008-11-11 20:51:50 +00:00
drh
dfef499856
Send the "Incomplete SQL" error message of the CLI to stderr instead of
...
stdout. Ticket #3476 . (CVS 5885)
FossilOrigin-Name: dacae200477afffec826b3ca1517f33b110b6122
2008-11-11 18:55:03 +00:00
danielk1977
95338ab70c
Remove some asserts that refer to variables removed in (5830). (CVS 5884)
...
FossilOrigin-Name: 9d880a6fd244fb73d0fce7e8180177c54d95cde2
2008-11-11 18:43:00 +00:00
danielk1977
41a6a61d94
Change the way threadsOverrideEachOthersLocks() works to avoid trying to write-lock a (potentially) read-only files. Also, assume that on non-linux systems threads do override each others locks. Ticket #3472 . (CVS 5883)
...
FossilOrigin-Name: 8ecae0943b06102fe22133db0dcaf58ecbd39545
2008-11-11 18:34:35 +00:00
drh
a78c22c433
Cleanup in flattenSubquery. Add OOM tests for flattenSubquery. Fix issues
...
with OOM errors causes problems for flattenSubquery. Ticket #3485 . (CVS 5882)
FossilOrigin-Name: ea5f4baa041aed934600f0f96b84afb92a14bc47
2008-11-11 18:28:58 +00:00
shane
5780ebdf79
Fixed crash in integrity_check with corrupt content offset size in page header. (CVS 5881)
...
FossilOrigin-Name: 0659a666ff0a9fc81ee4df3c35e535164c79e588
2008-11-11 17:36:30 +00:00
drh
86a7a69cbe
Avoid signed/unsigned comparison warnings in bitvec.c by changing the
...
types of loop variables to unsigned int. (CVS 5880)
FossilOrigin-Name: da869446c53ec6ed769bba01cdc2b6fd69a8b5c9
2008-11-11 15:48:48 +00:00
drh
4d01aeedbb
When an assignment occurs in a boolean, always test the result using "!=0"
...
to avoid confusion and make it clear that assignment is intended, not
an equality test. Ticket #3491 . (CVS 5879)
FossilOrigin-Name: 89ee5295bdea6f2c093eb6a44d69917dcc8459e3
2008-11-11 00:36:16 +00:00
drh
c717b382b8
Fix the CLI so that it does not terminate input when an Oracle or MS-SQL
...
command terminator mark is seen in the middle of a string literal.
Ticket #3490 . (CVS 5878)
FossilOrigin-Name: 68662e3b487b80b2c94cd2376060388bd8df0e4e
2008-11-11 00:30:11 +00:00
drh
753cc1077b
When an OOM error occurs while resizing an sqlite_value object, make sure
...
the value of the object is set to NULL. Ticket #3488 . (CVS 5877)
FossilOrigin-Name: 7b9c9b35fffb233e76148182426199d51243fba7
2008-11-11 00:21:30 +00:00
drh
2e904c5f9e
Fix the documentation of the SQLITE_FUNCTION authorizer code so that it
...
agrees with how SQLite has always behaved. Ticket #3489 . (CVS 5876)
FossilOrigin-Name: 806b6ed202292e386ac3e51cebcfb67f3870cd2f
2008-11-10 23:54:05 +00:00
shane
b2111838c6
#ifdef out unused static function mutexIsNT(). Ticket #3481 . (CVS 5875)
...
FossilOrigin-Name: 239186804c7541abc512da33bba8f6fc7d24a374
2008-11-10 20:01:40 +00:00
shane
c782f69abb
Updated comment in source. Ticket #3453 . (CVS 5874)
...
FossilOrigin-Name: 83caa22087bcaa184eff559971262e4d7eecd0e0
2008-11-10 19:24:38 +00:00
shane
c8330f4b1d
Add check for ifcapable autovacuum to vacuum2-3.3 test. Ticket #3435 . (CVS 5873)
...
FossilOrigin-Name: fc36f2fc45b2d319ef0be97e1af1748d3e862690
2008-11-10 18:20:16 +00:00
shane
2479de3a20
Removed a few more small parts of memsys6 code, including some config and test code for it; (CVS 5872)
...
FossilOrigin-Name: a11241d6fbc9e0408d5adc73d494b85124d2d609
2008-11-10 18:05:35 +00:00
shane
831c329542
In btree.c, omit calls to setChildPtrmaps() if SQLITE_OMIT_AUTOVACUUM is defined. Ticket #3439 . (CVS 5871)
...
FossilOrigin-Name: e0f07323e878c44ad2ccc38628c74c27f79e35ef
2008-11-10 17:14:58 +00:00
shane
7ba429a61c
Fixed typos; Consistent use of Mac OS X name; (CVS 5870)
...
FossilOrigin-Name: dfc94743378e576ecc5c567ae4020bf9594a3fb9
2008-11-10 17:08:49 +00:00
drh
bbf695d6ea
Prevent buffer overruns when converting malformed UTF16 to UTF8. Ticket #3482 . (CVS 5869)
...
FossilOrigin-Name: 3f657e88767f60d305dd6151e7aa54363341d052
2008-11-07 03:29:33 +00:00
drh
98c58356ae
Prevent a rollback from crashing if the sector-size field of the
...
rollback journal is corrupted. (CVS 5868)
FossilOrigin-Name: cf9d1d933f6b6713018928d9a7680ae63e8edcd0
2008-11-07 00:24:53 +00:00
drh
4c17c3fb11
Add documentation to make it clear that short reads from xRead in the VFS
...
must be zero-filled. (CVS 5867)
FossilOrigin-Name: fb311d6f4098a08f05b3fac9a2a7e2a53c38bb5f
2008-11-07 00:06:18 +00:00
drh
1735fa8892
Fix a bug in the CAST operator associated with the column cache. (CVS 5866)
...
FossilOrigin-Name: 1b6a5140446da896f69fddc8d1ea076815bb45e3
2008-11-06 15:33:03 +00:00
drh
0793f1bdb4
Fix memory allocation problems when string length exceeds limits. (CVS 5865)
...
FossilOrigin-Name: b568e325205acaa2f63bce2d6cc2808edc9f2e01
2008-11-05 17:41:19 +00:00
drh
ad4a4b8047
The COMMIT command now works even if there are pending queries, as long
...
as the pending queries are reading and not writing the database. (CVS 5864)
FossilOrigin-Name: 51f04aaff2803487933b9dfcf39f27a249f18a98
2008-11-05 16:37:34 +00:00
shane
7b607a081f
Should be 'memjournal.lo' instead of 'memjournal.o'. Ticket #3480 . (CVS 5863)
...
FossilOrigin-Name: 8b868604217571cf2f60cdf46adb9721ca071bf9
2008-11-04 21:51:03 +00:00
danielk1977
5f6d0268fb
Add test cases for sqlite3_db_mutex(). (CVS 5862)
...
FossilOrigin-Name: f818e8e5cb20c51922d0b5424f17649e0692f273
2008-11-04 14:55:47 +00:00
drh
2838b47234
Enhance documentation of sqlite3_db_mutex(). (CVS 5861)
...
FossilOrigin-Name: 3aed410ab08557ec92101e5d7c4c90ba50555ddc
2008-11-04 14:48:22 +00:00
drh
c46f52034f
Avoid a segfault when OOM on a simple EXPLAIN query. Ticket #3478 . (CVS 5860)
...
FossilOrigin-Name: acf26cc0f77b3a308d86f6dc02ecda66a4b12fd0
2008-11-04 14:25:06 +00:00
drh
4413d0e976
Add the sqlite3_db_mutex() interface. No test cases yet. (CVS 5859)
...
FossilOrigin-Name: d95de32e8ded397adeef8f7a29b87bc85669ac95
2008-11-04 13:46:27 +00:00
drh
3e0a3c9df4
Test cases to verify that COMMIT and ROLLBACK return SQLITE_BUSY when
...
there are active statements. (CVS 5858)
FossilOrigin-Name: cedfa214e4e979ab04a30f558f767d46862151de
2008-11-03 21:40:00 +00:00
drh
dfe88ece74
Change the name of the Cursor object to VdbeCursor. (CVS 5857)
...
FossilOrigin-Name: fdb98fd8c1706085ebeef8e48ac6737839bed5e5
2008-11-03 20:55:06 +00:00