]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Tue, 27 Apr 2010 06:49:34 +0000 (06:49 +0000)]
Run trans.test and avtrans.test as part of the "wal" permutation.
FossilOrigin-Name:
c8893310510148f7e71ede5691606b6fc1c3df4d
dan [Tue, 27 Apr 2010 05:42:32 +0000 (05:42 +0000)]
Fix a problem that occurs when one process causes the log-summary file to grow and then a second process attempts to read the database.
FossilOrigin-Name:
b51a5f8bc660616aa264025dd7ad4bdab458814b
drh [Tue, 27 Apr 2010 01:56:21 +0000 (01:56 +0000)]
Merge in recent changes from the trunk
FossilOrigin-Name:
7a0ac682c3bffcb345321fe97434563350ac90f9
drh [Mon, 26 Apr 2010 19:17:26 +0000 (19:17 +0000)]
Optimization: Convert an ORDER BY clause into a no-op if the query also
contains a GROUP BY clause that will force the same output order.
FossilOrigin-Name:
ca9d86baf70f210d331ce93102177c8005c494cb
dan [Mon, 26 Apr 2010 17:42:56 +0000 (17:42 +0000)]
Do not attempt to set journal_mode=wal on :memory: or temp file databases.
FossilOrigin-Name:
30d0134454734fd9335896372c30a903e9adcc64
drh [Mon, 26 Apr 2010 17:36:35 +0000 (17:36 +0000)]
Change the default_cache_size pragma to always store a positive value.
FossilOrigin-Name:
36fb2cae75b5dfe1fe818895f03c0b4f4190a722
drh [Mon, 26 Apr 2010 17:30:52 +0000 (17:30 +0000)]
Identify the SQLite version meta-value entry in the db-header output of
showdb.
FossilOrigin-Name:
245d934b72cbc6e897193e7892195b6561995939
dan [Mon, 26 Apr 2010 16:57:10 +0000 (16:57 +0000)]
Fixes for problems with small caches and SAVEPOINT rollback in WAL mode.
FossilOrigin-Name:
6a944f028d4a070bef29e1fbc6fbef481ebcd34c
drh [Mon, 26 Apr 2010 16:47:12 +0000 (16:47 +0000)]
Further enhancements to the showdb utility: A page number followed by "b"
causes a btree decoding to occur on the page.
FossilOrigin-Name:
2ff824e58ce8b8f605c809ac960dcbfc51c30e30
drh [Mon, 26 Apr 2010 15:44:07 +0000 (15:44 +0000)]
Enhancements to the showdb.c utility program. Automatically detect the
page size and adjust the display accordingly. Add the "dbheader" display
option.
FossilOrigin-Name:
23eb408b5d08b89b41aaf245a7be8e235f30af8a
dan [Mon, 26 Apr 2010 12:39:03 +0000 (12:39 +0000)]
Add the "wal" permutation to run existing test files savepoint.test and savepoint2.test in WAL mode.
FossilOrigin-Name:
205e5d8ac08f7d7853427b4cd235fca125155d2d
dan [Mon, 26 Apr 2010 10:40:52 +0000 (10:40 +0000)]
Add mutexes to fix a race condition in wal.c. This isn't a very good fix.
FossilOrigin-Name:
3d159939cc2beb18c4ca0c8e9a99a75d4107e6e4
drh [Mon, 26 Apr 2010 00:19:45 +0000 (00:19 +0000)]
Change the names of the log.c and log.h source files to wal.c and wal.h.
FossilOrigin-Name:
56fe5d7624f840417152bcc63efbe21a5f557920
drh [Mon, 26 Apr 2010 00:04:55 +0000 (00:04 +0000)]
Begin moving WAL-specific I/O into the VFS. This checkin contains VFS
infrastructure but it is untested and is not yet hooked up to the WAL.
The version number is bumped to 3.7.0 because of the VFS extension.
FossilOrigin-Name:
f5e615c28c7035a7e6d896790b51cf9bc7371d5f
drh [Sun, 25 Apr 2010 20:58:37 +0000 (20:58 +0000)]
Remove an unreachable branch from the function initialization logic.
FossilOrigin-Name:
064d3ddd6199b7b049b1706974e4295f78fb5ab9
dan [Sat, 24 Apr 2010 19:07:29 +0000 (19:07 +0000)]
Add comment explaining checksum mechanism.
FossilOrigin-Name:
3e9ef5153ebf0543ad0f75a7561f73d22171da53
dan [Sat, 24 Apr 2010 18:44:05 +0000 (18:44 +0000)]
Fix bugs in WAL mode rollback.
FossilOrigin-Name:
31215969f59be536fe87431bb9fbfa7d13027e35
dan [Sat, 24 Apr 2010 14:33:08 +0000 (14:33 +0000)]
drh [Sat, 24 Apr 2010 14:02:59 +0000 (14:02 +0000)]
When commands such as ALTER TABLE and VACUUM use SQL internally, make sure
they use only the built-in functions and not application-defined overrides
for those functions.
FossilOrigin-Name:
0291ed974d5bf1e344e2c38422530cc961b897da
dan [Sat, 24 Apr 2010 04:53:15 +0000 (04:53 +0000)]
dan [Sat, 24 Apr 2010 04:49:15 +0000 (04:49 +0000)]
Reserve some space at the start of the log-summary file to apply locks to.
FossilOrigin-Name:
a031aa1fa01f062b087154833738f011f7bc4eb5
dan [Fri, 23 Apr 2010 19:15:00 +0000 (19:15 +0000)]
Fixes and tests for backup of a WAL database.
FossilOrigin-Name:
480d12db4c0ebcc37598f7620d39193875eab15b
shaneh [Fri, 23 Apr 2010 14:29:04 +0000 (14:29 +0000)]
Merge of notify.c changes from experimental.
Reset stored blocking connection when registered unlock_notify callback is cleared.
FossilOrigin-Name:
e79dac3c2f723ed7cc62fcef468f53952711f242
dan [Fri, 23 Apr 2010 11:44:40 +0000 (11:44 +0000)]
Add very simple test cases for backup and VACUUM of WAL databases. More to come.
FossilOrigin-Name:
1077d8130b8ed5716ad73f78382270909d347963
dan [Thu, 22 Apr 2010 19:14:13 +0000 (19:14 +0000)]
Create a version of the log checksummer that works on big-endian platforms. Remove the 512KB size limit on the log-summary.
FossilOrigin-Name:
5d6d4423d1def39bd2424703120aa985085c3f8e
dan [Thu, 22 Apr 2010 06:27:04 +0000 (06:27 +0000)]
Further tests and changes related to switching between WAL and rollback modes.
FossilOrigin-Name:
1236318477787a612f02cc98caf2931bd2e99d94
dan [Wed, 21 Apr 2010 18:37:57 +0000 (18:37 +0000)]
Tests for (and changes to) the code to switch between WAL and rollback modes.
FossilOrigin-Name:
9f4f933f2c6596064fcfc7fb5add87e8c5b57448
dan [Wed, 21 Apr 2010 11:43:38 +0000 (11:43 +0000)]
If, after obtaining a SHARED lock, there exists a *-wal file in the file-system, use WAL mode. This is necessary to recover from a crash that damages the first page of the database file.
FossilOrigin-Name:
33cabf271b8f4dda508a610bf59964273fe2cb84
dan [Wed, 21 Apr 2010 06:19:12 +0000 (06:19 +0000)]
Minor changes to test cases to account for the fact that databases with read/write versions of 2 are now understood.
FossilOrigin-Name:
278ed41e1d4bbff9544cb2cf4cf52dbbcf0c17df
dan [Tue, 20 Apr 2010 18:53:15 +0000 (18:53 +0000)]
Use the read and write version fields of the database header to mark a database as operating in wal-mode.
FossilOrigin-Name:
96bef18c1411c3e0348295886f105e1646c46320
dan [Mon, 19 Apr 2010 18:03:51 +0000 (18:03 +0000)]
Add the sqlite3_log_hook() interface for scheduling checkpoints.
FossilOrigin-Name:
9bda601455705475075e33bfa85687bce34b15ff
dan [Sat, 17 Apr 2010 18:50:27 +0000 (18:50 +0000)]
Add some comments regarding file-locks to log.c.
FossilOrigin-Name:
9d51c3b754f0b94fea5ef3d669ad583b93b2b024
dan [Sat, 17 Apr 2010 17:34:41 +0000 (17:34 +0000)]
Do not sync any files in wal mode if "PRAGMA synchronous=off" is set. If files are synced, pass either SQLITE_SYNC_FULL or SQLITE_SYNC_NORMAL to the xSync() callback as configured by "PRAGMA fullfsync".
FossilOrigin-Name:
0ae91b0008b242a47385fc1f295c6b645483ee22
drh [Sat, 17 Apr 2010 16:10:19 +0000 (16:10 +0000)]
It is possible for sqlite3.pUnlockConnection to be non-NULL when
sqlite3.pBlockingConnection is NULL, as the notify1.test script
demonstrates.
FossilOrigin-Name:
95ff76ef67d6189f54375973fa485d6eb464b029
dan [Sat, 17 Apr 2010 15:45:35 +0000 (15:45 +0000)]
dan [Sat, 17 Apr 2010 15:42:43 +0000 (15:42 +0000)]
In synchronous=normal mode, do not sync the log after every transaction. In synchronous=full mode, sync the log and add any extra frames required to avoid blast-radius related problems after each transaction.
FossilOrigin-Name:
9bc9b6847303d0324543a9ded8dd0473490122d8
drh [Sat, 17 Apr 2010 12:53:19 +0000 (12:53 +0000)]
Change sqlite3_step() so that it automatically calls sqlite3_reset() instead
of returning SQLITE_MISUSE when invoked on a prepared statement that
previously returned any value other than SQLITE_ROW.
FossilOrigin-Name:
3e646e3f4cd0ca288e444561e951cecfdaee2ab5
dan [Sat, 17 Apr 2010 12:31:37 +0000 (12:31 +0000)]
Enhancements to wal-mode locking scheme.
FossilOrigin-Name:
8549c286497f3d2cd118be1334fce00d6f8a26c4
shaneh [Fri, 16 Apr 2010 22:05:31 +0000 (22:05 +0000)]
Changes for branch coverage of notify.c. Fixed quirk of
unlock_notify() where it would still think it was blocked
after a callback was cleared (even after the transaction
on the blocking connection was closed).
FossilOrigin-Name:
c54e8dad01b0ecaf8d66b10e64e862dcad8a6746
dan [Fri, 16 Apr 2010 13:59:31 +0000 (13:59 +0000)]
Change the log file format to include a small (12 byte) header at the start of the file.
FossilOrigin-Name:
9865d14d6041874bc1239ce7a061d5c75f2d33c9
dan [Fri, 16 Apr 2010 11:30:18 +0000 (11:30 +0000)]
Fix bug in log recovery (last frame in log was being ignored). Also remove an incorrect assert statement.
FossilOrigin-Name:
67d2a89ec2d593a077eb19a6ea2b06cb1c2e9ba8
drh [Thu, 15 Apr 2010 23:24:29 +0000 (23:24 +0000)]
Disable query flattening when the outer query is a compound SELECT and
the inner query has a LIMIT clause. Ticket [
02a8e81d44 ].
FossilOrigin-Name:
f96782b389b5b97b488dc5814f7082e0393f64cd
dan [Thu, 15 Apr 2010 16:45:34 +0000 (16:45 +0000)]
Allow writers to write dirty pages to the log mid-transaction in order to free memory.
FossilOrigin-Name:
ecd828f96909895535d7dc744e5a8530e234e04d
dan [Thu, 15 Apr 2010 13:33:18 +0000 (13:33 +0000)]
Merge two leaves on the WAL branch.
FossilOrigin-Name:
c9ed66cc3994b3b0d67a6c950b552a1a869f2ed2
drh [Thu, 15 Apr 2010 13:29:37 +0000 (13:29 +0000)]
The query planner fix of check-in [
33b1f584ef ] should have been on the trunk.
FossilOrigin-Name:
f538d759beda67e042b66181b65bd432488f7650
drh [Thu, 15 Apr 2010 12:36:06 +0000 (12:36 +0000)]
Fix a problem in the result set size estimation logic of the query planner -
a problem introduced by the two previous changes.
FossilOrigin-Name:
33b1f584ef712625c4df8e2aefe895fa89f6a795
dan [Thu, 15 Apr 2010 10:58:51 +0000 (10:58 +0000)]
Change the way checksums are calculated.
FossilOrigin-Name:
84955c2e9ce526c5a3ed479aa09f093a7e37c7d0
drh [Thu, 15 Apr 2010 02:37:10 +0000 (02:37 +0000)]
Bring over the recent query planner enhancements from the trunk.
FossilOrigin-Name:
82969f27e5ea843cb379666d8a02e4a3fddc03b2
drh [Thu, 15 Apr 2010 01:04:54 +0000 (01:04 +0000)]
Further refinements to table order selection on join query planning.
FossilOrigin-Name:
defaf0d99a807027f8883bf821b6482025f9f54e
drh [Wed, 14 Apr 2010 19:01:44 +0000 (19:01 +0000)]
The query planner uses non-indexable WHERE clause terms to reduce the
estimated number of output rows, then uses the estimated number of output
rows as a tie-breaker when choosing table order.
FossilOrigin-Name:
b87cb0c2bd9c52a938795a974e101879b81210e3
dan [Wed, 14 Apr 2010 18:50:08 +0000 (18:50 +0000)]
Add tests and fix bugs in WAL locking mechanism.
FossilOrigin-Name:
c18077f2465fc34830f11c9832e76be5746eaeea
dan [Wed, 14 Apr 2010 18:06:50 +0000 (18:06 +0000)]
Add tests to check inter-process WAL locking.
FossilOrigin-Name:
9435f3135849e0d38fde1669201db508561a6308
dan [Wed, 14 Apr 2010 15:49:40 +0000 (15:49 +0000)]
Improve the logLockRegion() function in log.c.
FossilOrigin-Name:
5e9dd3bd8e829376408925fb4cfcd5bb1eb1105f
dan [Wed, 14 Apr 2010 11:23:30 +0000 (11:23 +0000)]
Fixes for locking issues in WAL mode.
FossilOrigin-Name:
a9617eff39177250e2f118f25fdd4b3acb8b0478
dan [Tue, 13 Apr 2010 19:27:31 +0000 (19:27 +0000)]
Add experimental locking scheme.
FossilOrigin-Name:
3f958e87c33d667d299b03ffdef58db5dc6363f4
drh [Tue, 13 Apr 2010 15:30:53 +0000 (15:30 +0000)]
Fix an uninitialized variable in readDbPage of pager.c.
FossilOrigin-Name:
f4e1150fed2c520c7c52612cb1019429d78dc32a
dan [Tue, 13 Apr 2010 11:56:03 +0000 (11:56 +0000)]
Remove old code to interpret an argument (no longer used) to "PRAGMA checkpoint".
FossilOrigin-Name:
27dc5977c19e717afd65d3805557e38dec7bedcb
dan [Tue, 13 Apr 2010 11:45:31 +0000 (11:45 +0000)]
Fix other problems in the WAL test scripts.
FossilOrigin-Name:
dcb31181db246dd3f81ce63b144dd0cf95f06ee3
dan [Tue, 13 Apr 2010 11:35:01 +0000 (11:35 +0000)]
Fix test script issues preventing walthread.test from running.
FossilOrigin-Name:
d90b1dde0702ceb0eae2a3da36733a7e5b1a6b3a
dan [Tue, 13 Apr 2010 11:18:40 +0000 (11:18 +0000)]
Fix a pager bug introduced by the wal code.
FossilOrigin-Name:
4a0b29dc5e573a5d696ede17db5d7acf8d23aa98
dan [Tue, 13 Apr 2010 06:20:45 +0000 (06:20 +0000)]
dan [Tue, 13 Apr 2010 06:18:02 +0000 (06:18 +0000)]
Test that the rollback-hook is invoked if a commit-hook implementation returns non-zero (causing a rollback). Remove documentation comment that says otherwise from sqlite.h.in.
FossilOrigin-Name:
012cf101bf8be9e39c138786ea5a5039b8131e55
drh [Mon, 12 Apr 2010 20:54:13 +0000 (20:54 +0000)]
Add e_fts3.test to the set of tests excluded from the inmemory_journal
exclusion list, since it does simulated OOM errors which trigger I/O errors
and SQLite is unable to recover from I/O errors without a persistent journal.
FossilOrigin-Name:
e7e7127f0b0db582274338a9fefc30a0c0be07c3
drh [Mon, 12 Apr 2010 19:44:22 +0000 (19:44 +0000)]
Recent changes cause the xSync method of the memory journal implementation
to be used, so remove the assert(0).
FossilOrigin-Name:
1f2cb9402838373f6370660dfc885013df079895
drh [Mon, 12 Apr 2010 19:43:43 +0000 (19:43 +0000)]
Clear a global variable in e_fts3.test before it is used.
FossilOrigin-Name:
ae89dfd26b65fb1a3633a4338f5cb5e54a7d2035
drh [Mon, 12 Apr 2010 19:31:59 +0000 (19:31 +0000)]
Remove duplicate secure_delete pragma implemention.
FossilOrigin-Name:
c15fda145b621fc86402914aa5b015e53590555a
dan [Mon, 12 Apr 2010 19:05:58 +0000 (19:05 +0000)]
Add "log.h", which should have been part of the previous commit.
FossilOrigin-Name:
8de9f010044fc992b5b45a7bb0da1284b404ecdb
dan [Mon, 12 Apr 2010 19:00:29 +0000 (19:00 +0000)]
Import experimental write-ahead-logging code.
FossilOrigin-Name:
409d61baeb0a19d1700c973f16c8acef7b8506cd
dan [Mon, 12 Apr 2010 17:08:44 +0000 (17:08 +0000)]
Fix a problem where a process in exclusive mode could delete a hot-journal file without rolling it back from within sqlite3_close() or DETACH. This problem was introduced by the previous commit, it is not present in any releases.
FossilOrigin-Name:
51a613950824698687c0db83b7884db33d45f7f5
drh [Mon, 12 Apr 2010 14:51:10 +0000 (14:51 +0000)]
Reset the simulated device in the test harness to its default
configuration whenever it is restarted.
FossilOrigin-Name:
562d20e662da474ea326165730ecfdfcf9b414ee
drh [Sat, 10 Apr 2010 17:52:57 +0000 (17:52 +0000)]
Fix issues and clarify the operation of pager_playback_one_page().
A block comment in pager.c identifies 13 invariants on the pager subsystem.
Ticket [
9d68c883132c8 ].
FossilOrigin-Name:
0906597698b697ab2993a460f257e326cb58e475
drh [Fri, 9 Apr 2010 23:05:24 +0000 (23:05 +0000)]
Add a test case for the OOM-fault corruption issue.
Ticket [
9d68c883132c8 ].
FossilOrigin-Name:
0a64a937b583c32c02c83fc669addf79662efea8
drh [Fri, 9 Apr 2010 15:34:06 +0000 (15:34 +0000)]
Candidate fix for a pager bug associated with sqlite3PagerMovepage().
FossilOrigin-Name:
8c046eb6d16682d5e755624deb4f76f57350b9c9
drh [Fri, 9 Apr 2010 09:14:05 +0000 (09:14 +0000)]
Avoid unnecessary calls to sqlite3_step() with null prepared statements
while parsing the schema.
FossilOrigin-Name:
ae04d2d15d3d96f607adb394a631d96cd4cf2c1d
drh [Thu, 8 Apr 2010 17:35:34 +0000 (17:35 +0000)]
Fix a typo in a comment. No changes to code.
FossilOrigin-Name:
332cb55113a621456c6522830585434146c388e7
drh [Thu, 8 Apr 2010 17:28:00 +0000 (17:28 +0000)]
Fix code coverage problems in where.c.
FossilOrigin-Name:
b04a52824971e8880e4bf0d9862db4eef8b607ab
drh [Thu, 8 Apr 2010 16:30:38 +0000 (16:30 +0000)]
Additional automatic index tests.
FossilOrigin-Name:
99d8e325e9eb8905631b06676206e6412f386d08
drh [Thu, 8 Apr 2010 15:01:44 +0000 (15:01 +0000)]
New test cases for automatic indices. New testcase() macros associated
with column-used bitmasks.
FossilOrigin-Name:
e1aa48ace7e43c3805278120b8228ee597e2cee7
drh [Thu, 8 Apr 2010 15:00:59 +0000 (15:00 +0000)]
Fix the computation of the number of rows in a table during automatic
index generation.
FossilOrigin-Name:
edeab06a5010c82491a6cc9393cf2a35a7622ac5
drh [Thu, 8 Apr 2010 14:38:51 +0000 (14:38 +0000)]
Fix an integer overflow bug in the automatic index logic. The bug was
detected by the testcase() macros added in the previous check-in. Also
add some more testcase() macros, since this issue points up their importance.
FossilOrigin-Name:
af97b4881a8f010055cde672634141d7ed6898fc
drh [Thu, 8 Apr 2010 14:15:56 +0000 (14:15 +0000)]
Add testcase() macros to the automatic index logic to insure that boundary
cases are tested.
FossilOrigin-Name:
7286547847721b8f5f64bc2e7dc236652b1ae985
drh [Thu, 8 Apr 2010 11:35:18 +0000 (11:35 +0000)]
Make sure F_OK, R_OK, and W_OK are defined in test_demovfs.c. Define them manually
if they are not. This is necessary to get the module to compile on some systems.
FossilOrigin-Name:
7c8afc3272fa91e2b5685b009eb674dbc1b5920d
drh [Thu, 8 Apr 2010 01:16:19 +0000 (01:16 +0000)]
Merge automatic index changes into the trunk.
FossilOrigin-Name:
bf7b8d863665870a38f0b2335cc71de856a515b4
drh [Thu, 8 Apr 2010 00:40:15 +0000 (00:40 +0000)]
When constructing automatic indices do not include the same column more than
once.
FossilOrigin-Name:
d067d9f7a9138e026c1018361127e34385928657
drh [Wed, 7 Apr 2010 20:32:18 +0000 (20:32 +0000)]
Pull over the latest changes from the trunk.
FossilOrigin-Name:
e388fe8be878c80ef0bfd1699a7268cdb22cb3c6
drh [Wed, 7 Apr 2010 20:29:56 +0000 (20:29 +0000)]
When rolling back a savepoint to the beginning of the transaction, make sure
to initialize the database size in the btree layer correctly even if the
database size field of the header is zeroed.
FossilOrigin-Name:
a3540c6acf2bb6bdd44c101b63f17ca85e6b68ed
drh [Wed, 7 Apr 2010 19:31:59 +0000 (19:31 +0000)]
Add an interface to the SQLITE_STMTSTATUS_AUTOINDEX status information
to the TCL bindings. Add some simple automatic index test cases.
FossilOrigin-Name:
1f40441204d9a912b1d6b67ff6ff9e17146c7abd
drh [Wed, 7 Apr 2010 16:54:58 +0000 (16:54 +0000)]
Wrap all automatic index changes inside SQLITE_OMIT_AUTOMATIC_INDEX. Add
the automatic_index PRAGMA to turn it on and off.
FossilOrigin-Name:
a811a47fbe4f757a7ab575ae5a0f65177a3f07c0
drh [Wed, 7 Apr 2010 14:59:45 +0000 (14:59 +0000)]
Make sure that all automatic indices are covering indices. Otherwise, the
table and index might be used together in a query but the table could get
out of sync with the automatic index through out-of-band changes.
FossilOrigin-Name:
2364313142668b3d0ad144447b4862709be929cd
drh [Wed, 7 Apr 2010 14:33:07 +0000 (14:33 +0000)]
Enhance comments on the SrcList object definition to better explain the
operation of the SrcList.a[].colUsed field. No changes to code.
FossilOrigin-Name:
c0f67ea131c3e237e46311b1a3dcb3febf2ea036
drh [Wed, 7 Apr 2010 14:32:11 +0000 (14:32 +0000)]
Fix the trace output of the OP_Function opcode to show the correct
register numbers.
FossilOrigin-Name:
064c283eee82c5053e84058a0e1908e468da6ce3
dan [Wed, 7 Apr 2010 07:57:38 +0000 (07:57 +0000)]
Add file test_demovfs.c, containing a simple VFS implementation that demonstrates how writes to the journal file may be safely buffered by the VFS layer to improve performance on some embedded systems.
FossilOrigin-Name:
af3b72d94a1b6513f02402af3ada5fb5dd390151
drh [Tue, 6 Apr 2010 22:33:55 +0000 (22:33 +0000)]
Veryquick.test is now working. The SQLITE_STMTSTATUS_AUTOINDEX counter
added.
FossilOrigin-Name:
abbf16e5e7895971710fb3a8fd9c782fc1218a77
drh [Tue, 6 Apr 2010 18:51:42 +0000 (18:51 +0000)]
Runs quicktest without hitting an assert now. Some tests get unexpected
results still and there is a memory leak.
FossilOrigin-Name:
a8224448cc305258a59a9023e6604783dda73e45
drh [Tue, 6 Apr 2010 18:28:20 +0000 (18:28 +0000)]
Progress toward getting automatic indices to work. Still failing in corner
cases.
FossilOrigin-Name:
ac6d0fba78eb9dcd69372e128d4a039aaff4b417
drh [Tue, 6 Apr 2010 15:57:05 +0000 (15:57 +0000)]
Automatically generate transient indices for tables in joins that would
otherwise have to use a full table scan.
FossilOrigin-Name:
1b2a04125f964e14f3fb90171c5ab86a0641d1c9
drh [Mon, 5 Apr 2010 15:11:08 +0000 (15:11 +0000)]
Minor comment changes to the OP_OpenEphemeral header. No changes to code.
FossilOrigin-Name:
8e1d7ef47f643503aa823d9986a931a83c63648b
drh [Sat, 3 Apr 2010 13:08:09 +0000 (13:08 +0000)]
Silently abandon a rollback if the journal has been truncated.
FossilOrigin-Name:
7626f6c9ea04d1a5690dd11bb13e8c3c04e3b0f5
drh [Fri, 2 Apr 2010 13:25:22 +0000 (13:25 +0000)]
Check for a failure in the call to sqlite3PagerPagecount() from within
sqlite3PagerWrite(). (Error discovered by valgrind.)
FossilOrigin-Name:
d64d181c79aee3501be6f7eb8c11ab2cc9a8d63c
drh [Fri, 2 Apr 2010 12:55:38 +0000 (12:55 +0000)]
Take care to avoid a buffer over-read when adding a KEYINFO structure
to the P4 parameter of an opcode.
FossilOrigin-Name:
937b931a7cdad6874638158ed6a9ab6356b0bd0c