danielk1977
ef73ee9a46
Auto-vacuum: Ensure pages to be removed by database truncation are in the journal file. Also fix an sqlite3pager_movepage() bug. (CVS 2074)
...
FossilOrigin-Name: 081676e491760a45325e2349b177d6382faab9f5
2004-11-06 12:26:07 +00:00
danielk1977
d761c0c9fd
Do not truncate a database file until after fsync() has been called on the journal. (CVS 2068)
...
FossilOrigin-Name: cfee7f4a004c5e57d58edcf9de3ded0a199940a3
2004-11-05 16:37:02 +00:00
danielk1977
a0bf265269
Support root-page allocation/deallocation in auto-vacuum databases. Still a few problems. (CVS 2054)
...
FossilOrigin-Name: 1da361fae82d420be63c53f8e3efaccac24f348a
2004-11-04 14:30:04 +00:00
danielk1977
f5fdda8208
Auto-vacuum bug: Correctly manipulate page cache hash-table entries in sqlite3pager_movepage(). (CVS 2046)
...
FossilOrigin-Name: 719c1b79671c8cd7c5a6b5967ad4265b65e433d3
2004-11-03 08:44:05 +00:00
danielk1977
687566d786
Code to auto-vacuum the database if all root pages happen to be in the right place. Not active by default and largely untested. (CVS 2037)
...
FossilOrigin-Name: d12481f09cbe51c7ea499bc22afec5de3af14ad4
2004-11-02 12:56:41 +00:00
drh
b7f9164e98
Insert #ifdefs that can optionally remove features at compiletime resulting
...
in a database engine with a smaller footprint. (CVS 2034)
FossilOrigin-Name: be661acfa849bb0d5692797dd221f5a8a457f8ad
2004-10-31 02:22:47 +00:00
drh
887dc4c275
Fix alignment problems in btree and pager and allow page sizes that are
...
not a multiple of 8. (CVS 2026)
FossilOrigin-Name: 0539c2d2b8e16efcbe4db3afeae9c7b426e11b05
2004-10-22 16:22:57 +00:00
drh
684917c269
Add support for DEFERRED, IMMEDIATE, and EXCLUSIVE transactions. (CVS 2000)
...
FossilOrigin-Name: 81ff8107ad63113782cf5a9ba7a512496114ba08
2004-10-05 02:41:42 +00:00
drh
9c105bb990
Fixes to the OsUnlock() interface. Correctly leave a SHARED lock behind
...
when requested. Honor the error code that OsUnlock() returns.
Ticket #913 and #938 . (CVS 1997)
FossilOrigin-Name: c4697503d0ad080290b91e96dfc9a1a63f2df7e6
2004-10-02 20:38:28 +00:00
drh
eb206256f1
Use type i64 instead of off_t for file offsets since off_t is giving
...
portability problems. Ticket #924 . (CVS 1992)
FossilOrigin-Name: 8972c004dc825f668d952e7d082a89046b9260f1
2004-10-01 02:00:31 +00:00
drh
76ff3a0e09
Optimizations to vdbeaux.c and printf.c (CVS 1980)
...
FossilOrigin-Name: eabc77c99b3e78b4c620a1736d9acfa6cb1e7b67
2004-09-24 22:32:30 +00:00
drh
fe63d1c98b
More changes directed at getting things to work on 64-bit platforms. (CVS 1949)
...
FossilOrigin-Name: 39755d216608e9d12e1055433549f820f63608a7
2004-09-08 20:13:04 +00:00
drh
92f02c31d4
Transactions commit on the last sqlite3_step(), not on sqlite3_finalize().
...
This allows the sqlite3_step() to return SQLITE_BUSY if the commit is
blocked by a lock. Ticket #885 . (CVS 1928)
FossilOrigin-Name: d1b29156558f1c576002cdb2544dffaa693da39b
2004-09-02 14:57:08 +00:00
drh
ee696e2218
Better detection and handling of corrupt database files. (CVS 1922)
...
FossilOrigin-Name: 8f5b199e845fa7ae3444ef69bd840716d305cf73
2004-08-30 16:52:17 +00:00
drh
fdb38064b0
Fix a pager bug that might have made multi-database commits non-atomic
...
if a power failure occurred at just the wrong moment. (CVS 1900)
FossilOrigin-Name: b6eb4bf8c7763ef73723fc3d3697af435c19bae4
2004-08-21 19:20:42 +00:00
drh
2889ae7248
Add the SQLITE_BUSY_RESERVED_LOCK compile-time option. (CVS 1894)
...
FossilOrigin-Name: 25fe7a42ec2e06e659d7a0a6664789114c007e17
2004-08-19 13:29:15 +00:00
drh
cb4c40ba0e
Make sure the database file is correctly truncated after a ROLLBACK that
...
occurs after a statement abort. (CVS 1893)
FossilOrigin-Name: 6afe467d146828d67ad17af21604c2e691aa5dff
2004-08-18 19:09:43 +00:00
drh
2b74d70a38
Better debug logging of the pager. (CVS 1892)
...
FossilOrigin-Name: 1cc0323f2597584b3f3239e8948ac3ff3db8da03
2004-08-18 16:05:18 +00:00
drh
34f4732b06
Be more agressive about not creating or opening the TEMP database if there
...
are no TEMP tables. (CVS 1891)
FossilOrigin-Name: 6b2b6b2dbd821070a2781685c4b63a50bc8f5cae
2004-08-18 15:58:22 +00:00
drh
dc3ff9c34c
Avoid creating a TEMP database unless it is absolutely necessary. (CVS 1890)
...
FossilOrigin-Name: 5914a11caa4c6e778cd7ca010427897c8f971552
2004-08-18 02:10:15 +00:00
drh
1d64fc1a5e
Do not invoke the busy callback when trying to promote a lock from SHARED
...
to RESERVED. This avoids a deadlock. (CVS 1879)
FossilOrigin-Name: d33771a303d9c20dd477b1a973024ff763203211
2004-08-07 23:54:48 +00:00
drh
25d6543de5
Fix bugs associated with the codec. (CVS 1846)
...
FossilOrigin-Name: b0a3becd82b9a4203c23f35dc5a5fd725e046f21
2004-07-22 15:02:25 +00:00
drh
90f5ecb39d
Initial implementation of variable page sizes and the temp_store pragma. (CVS 1843)
...
FossilOrigin-Name: 4cf6e9db757931aba2f300b7869305434d6f2d2b
2004-07-22 01:19:35 +00:00
drh
6d08b4d647
Add the '%ifdef' capability to lemon. Other minor changes. (CVS 1836)
...
FossilOrigin-Name: 522ff721ccc33c4b89072fed4e451f0df82e8140
2004-07-20 12:45:22 +00:00
drh
d5b447d9ac
The OsFile under Unix records a pointer back to the pager. This is intended
...
to be used for an externalized locking patch. (CVS 1821)
FossilOrigin-Name: 511ee6392472d250b542961d1f715cc7453598e6
2004-07-19 22:08:09 +00:00
danielk1977
13073931a3
Coverage improvements for malloc and vdbemem.c (CVS 1781)
...
FossilOrigin-Name: a98dd004c4d328eb44a71fecdbf8c5ab416dc524
2004-06-30 11:54:06 +00:00
danielk1977
96fb0dd55a
Coverage tests for vacuum.c (CVS 1776)
...
FossilOrigin-Name: 152e9940b919a53fcd0da4091dbf75ab8ef15b38
2004-06-30 09:49:22 +00:00
danielk1977
8191bff0c2
Fix some problems with multi-file transaction rollback. (CVS 1751)
...
FossilOrigin-Name: 06e8e30b249c10512a225d6c7a5fcb5c666595e6
2004-06-28 04:52:30 +00:00
danielk1977
c3e8f5ef52
A few more warning fixes. (CVS 1750)
...
FossilOrigin-Name: 81e4994045697470bcfd692a794731c8291a8a30
2004-06-28 01:16:46 +00:00
danielk1977
b5548a8b20
Fix a problem where a file was not being closed after a malloc() failure. (CVS 1741)
...
FossilOrigin-Name: 3c8512bc549e10ee131cb7f2d4e74d96e9de74a0
2004-06-26 13:51:33 +00:00
danielk1977
40b38dcdf8
Remove the 'nMaster' argument from various pager and btree functions. (CVS 1737)
...
FossilOrigin-Name: 4e20720984e1fd6822ead785d758374d2704b7fb
2004-06-26 08:38:24 +00:00
danielk1977
75edc16f07
Fix a bug in the new full-sync journal format. (CVS 1733)
...
FossilOrigin-Name: 02bd3acd7efde9cc6b67c97e98db9f4b62d27877
2004-06-26 01:48:18 +00:00
danielk1977
cafadbac02
Add a checksum to the master journal name stored at the end of a journal
...
file. (CVS 1692)
FossilOrigin-Name: 4905e74925a4e9d467c51dc174f265b9395ae9fa
2004-06-25 11:11:54 +00:00
danielk1977
90ba3bd065
A few more comment changes. No code alterations. (CVS 1689)
...
FossilOrigin-Name: b68b4a4262c2ab60f9a7cc0c206b9db207f86933
2004-06-25 08:32:25 +00:00
danielk1977
f42f25c2c5
Add a comment on the implementation of sqlite3OsLock(). No code changes. (CVS 1688)
...
FossilOrigin-Name: 084f3fffbdeb1e2b375817ae1111b867c9d32559
2004-06-25 07:21:28 +00:00
danielk1977
f187bd9d64
Activate test cases for new journal format. (CVS 1687)
...
FossilOrigin-Name: 197d00d6a6a440848a0b4710157272558868221c
2004-06-25 06:23:22 +00:00
danielk1977
7657240a21
Modifications to the journal format to make it more robust. (CVS 1686)
...
FossilOrigin-Name: 504246a18daca794473b17a7874096f1ec8648ee
2004-06-25 02:38:54 +00:00
danielk1977
ef317ab577
Test cases to verify recovery after a crash. (CVS 1675)
...
FossilOrigin-Name: 41868d79ac5b3c496c4d87ca6b4ee7c17ef38965
2004-06-23 10:43:10 +00:00
danielk1977
ece80f1e48
Handle corrupt journal file headers correctly. (CVS 1674)
...
FossilOrigin-Name: 46107da7eddbdda8b582e2ece2dc41222a70330a
2004-06-23 01:05:26 +00:00
danielk1977
8a6c550d94
Improve the os_test.c module. (CVS 1657)
...
FossilOrigin-Name: ecdb93d3c92e34f7d85aa2fd703880669397b216
2004-06-22 12:18:32 +00:00
danielk1977
e302663615
Add os_test.c. Not activated yet. (CVS 1655)
...
FossilOrigin-Name: d16b863849d1aa887fe403e25153b1e9df6b837e
2004-06-22 11:29:02 +00:00
drh
da71ce1623
Fix an uninitialized variable. The variable was harmless, but pedantic
...
error checking in MSVC raised an exception on it. (CVS 1651)
FossilOrigin-Name: afc398c2ca97ff165ea8242a5ffb8b6374b7fa8f
2004-06-21 18:14:45 +00:00
dougcurrie
81c95efaf5
MinGW/MSYS build fixes; ticket #765 (CVS 1625)
...
FossilOrigin-Name: 5f383c1ee1a2aec9e192f29528ec2a02f2329d19
2004-06-18 23:21:47 +00:00
danielk1977
cfe9a69f90
Trivial modifications to prevent compiler warnings. (CVS 1606)
...
FossilOrigin-Name: 6001c5e1ced08096bb404e72ff533b7edcc896ec
2004-06-16 12:00:29 +00:00
danielk1977
8def5ea203
Fix handling of a failed malloc() in various places (CVS 1605)
...
FossilOrigin-Name: b739ef2a1b8f7cfee4ab3f4c1319c159bd1e2e40
2004-06-16 10:39:52 +00:00
danielk1977
eac7a362f6
Fix two more memory leaks. (CVS 1603)
...
FossilOrigin-Name: 98b48704a1ce983677cdb269c24f7bca4ed606f7
2004-06-16 07:45:24 +00:00
danielk1977
369f27eb51
Minor bugfixes and test case adjustments for version 2 test cases to work
...
with version 3. (CVS 1598)
FossilOrigin-Name: e21a181376d4115c7dbe614f3f8a1fbf82d77c75
2004-06-15 11:40:04 +00:00
drh
1f5957167b
Do not use the page containing locks for anything to avoid problems with
...
the manditory file locking on windows. (CVS 1595)
FossilOrigin-Name: 5a814202777f381caf5337b37e11c9ab8b8f554a
2004-06-15 01:40:29 +00:00
danielk1977
5865e3d54f
Ensure the master journal directory is synced. Also, change the master journal
...
format to store journal file names. (CVS 1583)
FossilOrigin-Name: 73cd0aabb24f7b663c8b55cf5e8fcb34fd48c032
2004-06-14 06:03:57 +00:00
danielk1977
aa5ccdf5b8
Update the file change counter just before each transaction is committed. (CVS 1582)
...
FossilOrigin-Name: 4649abcbfd032836b196b5d690ef66e4aa494c45
2004-06-14 05:10:42 +00:00