]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Fri, 16 Dec 2011 21:26:26 +0000 (21:26 +0000)]
Enhance the WAL header sync so that it honors the various synchronous
pragmas, settings, and device characteristics.
FossilOrigin-Name:
9799241f7de952c4d1ea8bf6508b577d2b57a370
drh [Fri, 16 Dec 2011 19:34:36 +0000 (19:34 +0000)]
Proposed changes that ensure that the WAL header is written prior to the
first commit mark.
FossilOrigin-Name:
91d0437c0702904d27f0ef7b1b52d0797efe1826
drh [Fri, 16 Dec 2011 15:38:52 +0000 (15:38 +0000)]
Merge the fix for [
a1fa75cbdd02 ] from the experimental branch. Also
fix the persistent-wal mode feature of truncating the WAL on close so that
it always truncates the WAL to zero bytes.
FossilOrigin-Name:
09ccc4a1be7ba81890f10aac6623dd90dab4f990
drh [Fri, 16 Dec 2011 15:11:39 +0000 (15:11 +0000)]
Improved logging of master-journal name conflicts.
FossilOrigin-Name:
b1005ef46cc2b46dd8e448ae1a9a9508bd5666ab
drh [Fri, 16 Dec 2011 13:42:03 +0000 (13:42 +0000)]
Merge the nx-devkit changes into trunk.
FossilOrigin-Name:
cf3bccc2e944cd2dd3efb8554682994a06115f16
dan [Fri, 16 Dec 2011 13:24:27 +0000 (13:24 +0000)]
drh [Fri, 16 Dec 2011 05:50:39 +0000 (05:50 +0000)]
Tweaks to the way multiplexSubOpen() works, for backwards compatibility.
FossilOrigin-Name:
bb40338887c912be70cb6fe3b760d87c14bb88a5
drh [Fri, 16 Dec 2011 05:09:46 +0000 (05:09 +0000)]
Fix a potential infinite loop (inserted by the previous check-in)
on the multiplexWrite() method of the multiplexor.
FossilOrigin-Name:
022bf427c2edfe494ec7c222f436953ff56574a6
drh [Fri, 16 Dec 2011 04:57:32 +0000 (04:57 +0000)]
The xTruncate method for the multiplexor now changes surplus overflow
files to zero-length by default. Or if the "truncate" query parameter
is used, it actually deletes the surplus overflow files. This allows
VACUUM to shrink the database again.
FossilOrigin-Name:
5aefef04d6cc3b734c3f05e036b3869a52248f4d
drh [Fri, 16 Dec 2011 01:30:15 +0000 (01:30 +0000)]
Call sqlite3_log() with an appropriate message if unable to find a unique
master-journal filename.
FossilOrigin-Name:
e9177f7d4ec19f0841d0613990d2fb5725700ba1
drh [Fri, 16 Dec 2011 01:21:31 +0000 (01:21 +0000)]
A better solution to being unable to find a unique master-journal filename:
just delete an existing master-journal and reuse it.
FossilOrigin-Name:
2685c2b949061f18bf6a4940eac8c8148873abb6
drh [Fri, 16 Dec 2011 00:33:04 +0000 (00:33 +0000)]
Make sure the antipenultimate character of master-journal filenames is a "9"
in order to avoid collisions with other files in 8+3 filename mode. Also,
limit the number of attempts at finding a unique master-journal filename.
FossilOrigin-Name:
34a0483605d36e6cf03065ed0df33fb1f7c8a272
drh [Thu, 15 Dec 2011 17:44:33 +0000 (17:44 +0000)]
Add stdio support to the quota VFS.
FossilOrigin-Name:
322bd15f97143d39b3a88d5f6cf7afb454e0666e
drh [Thu, 15 Dec 2011 17:42:35 +0000 (17:42 +0000)]
Use _commit() rather than FlushFileBuffers() as a substitute for fsync()
on windows. Also cast for C++ and add support for SQLITE_FCNTL_VFSNAME.
FossilOrigin-Name:
e85cfe9a17a2943ee0cf7915451ff6cc05908030
dan [Thu, 15 Dec 2011 17:00:10 +0000 (17:00 +0000)]
When deleting a file with the multiplexor VFS, also delete any overflow files that exist.
FossilOrigin-Name:
3af1feaa35d3fb2e7be550cd32a727001b874938
drh [Thu, 15 Dec 2011 13:29:12 +0000 (13:29 +0000)]
Make sure the chunksize in test_multiplex does not cause the pending byte
to fall near the end of a chunk. Adjust the chunksize upward as necessary
to prevent this.
FossilOrigin-Name:
e05f8a2998f4f4cbdb65702baa65893c538b3d38
dan [Thu, 15 Dec 2011 11:45:19 +0000 (11:45 +0000)]
Fix some problems with dropped error codes in multiplexOpen().
FossilOrigin-Name:
2d50f78188e3297e8cefdf73cff51fa0a3b36e65
drh [Thu, 15 Dec 2011 02:22:16 +0000 (02:22 +0000)]
In the multiplexor, do not try to delete overflow files that do not exist.
And assume all but the last overflow file is the size of the chunk size.
FossilOrigin-Name:
a822a80d3cfe42b2fca6f8c9ff11762993114a27
drh [Wed, 14 Dec 2011 18:33:13 +0000 (18:33 +0000)]
Merge the nx-devkit changes into trunk. This includes the new
SQLITE_FCNTL_VFSNAME file-control.
FossilOrigin-Name:
da118e02c0576ce16f7a26663f59413316223d55
drh [Wed, 14 Dec 2011 18:28:18 +0000 (18:28 +0000)]
Merge the VFSNAME file-control addition into the nx-devkit branch.
FossilOrigin-Name:
08c1dc517c1340737a55ad9012b7b06f72899c6f
drh [Wed, 14 Dec 2011 17:53:36 +0000 (17:53 +0000)]
Add a file-control that will discover the name of the bottom-level VFS and
all the shims in between.
FossilOrigin-Name:
cdbfb553af02d10767a905489d9dfc57fc6be54e
drh [Wed, 14 Dec 2011 01:38:12 +0000 (01:38 +0000)]
Improvements to comments. No code changes.
FossilOrigin-Name:
08bbbd8e38697908ab8ae0f6b512d01c32f7e4da
mistachkin [Wed, 14 Dec 2011 00:37:45 +0000 (00:37 +0000)]
Treat a zero return value from the Win32 APIs MultiByteToWideChar and WideCharToMultiByte as an error condition.
FossilOrigin-Name:
c65e5a36f1a1c91cb3415158ebe0f5759cbcdf96
drh [Wed, 14 Dec 2011 00:04:52 +0000 (00:04 +0000)]
Harden the utf8-to-mbcs converter in the quota module against failures.
FossilOrigin-Name:
1cda511deb625868395a23c95346e14d0c300670
drh [Tue, 13 Dec 2011 23:26:10 +0000 (23:26 +0000)]
Enhancements to test_quota.c: Remove the external dependency on
sqlite3_win32_utf8_to_msbc(). Add an extra parameter to quota_fflush()
that will also do an fsync (or the equivalent).
FossilOrigin-Name:
92f4188f90e3cdd71f1457a6e0eb22615e4a54f4
dan [Tue, 13 Dec 2011 19:03:34 +0000 (19:03 +0000)]
Add a hard limit to the number of chunks a multiplexed database may consist of if ENABLE_8_3_NAMES is defined.
FossilOrigin-Name:
43a1264088c57bf598787b7a9f5d7a2536603d67
drh [Tue, 13 Dec 2011 18:22:38 +0000 (18:22 +0000)]
Change the SQLITE_EXTRA_INIT routine to take a single argument which is a
pointer to a string. Call SQLITE_EXTRA_INIT with a NULL argument.
Fixes to multiplexor to treat the VFS properly in corner cases. Fix the
initialization of multiplex3.test.
FossilOrigin-Name:
8e65b9132530e46c62bd1352bfc2e9c29f57af5f
dan [Tue, 13 Dec 2011 16:40:33 +0000 (16:40 +0000)]
Add extra tests for the multiplexor VFS. No changes to code.
FossilOrigin-Name:
c7de6f683d0fec62bc138b4a53b5cccc80c736c3
drh [Tue, 13 Dec 2011 15:37:12 +0000 (15:37 +0000)]
Merge the nx-devkit changes into trunk.
FossilOrigin-Name:
03a70c3dae8d912fccd9d72c575dc372b198d238
drh [Tue, 13 Dec 2011 15:25:06 +0000 (15:25 +0000)]
Update the multiplex.test script to conform to that found in the "experimental"
branch off of trunk.
FossilOrigin-Name:
2eb79efbff9cdab843b172e9fa9fb400c542fab1
drh [Tue, 13 Dec 2011 15:02:54 +0000 (15:02 +0000)]
Move the multiplexor changes in the experimental branch
(check-ins [
255d21499b ] and [
199f52bced ]) into the nx-devkit branch.
FossilOrigin-Name:
eb95d2f72c625bcfd0f8e9db1db2cb8799854b57
drh [Tue, 13 Dec 2011 04:08:36 +0000 (04:08 +0000)]
When an sqlite3_auto_extension() function fails, report back its actual
error code, not the generic SQLITE_ERROR.
FossilOrigin-Name:
ce55f250f56fa3a1ca864f81e9e86f911b981490
drh [Tue, 13 Dec 2011 02:41:13 +0000 (02:41 +0000)]
When the multiplexor FileSize procedure fails to open the file, assume that
the file is zero bytes in size.
FossilOrigin-Name:
dc8118cd89da71f2035c6ee07c0edb772bba2186
drh [Tue, 13 Dec 2011 01:34:21 +0000 (01:34 +0000)]
Add a compile-time shutdown procedure to be called by sqlite3_shutdown()
to undo the effects of the compile-time initialization procedure.
FossilOrigin-Name:
c2ed86f5945662a4ddcdc7b303df3f64fb3bf17d
drh [Mon, 12 Dec 2011 20:01:12 +0000 (20:01 +0000)]
Backport a minimal set of changes needed to get 8+3 filenames and the
multiplexor shim playing well together.
FossilOrigin-Name:
c4e2ce486217c96373836bfe641f46abf891799a
dan [Mon, 12 Dec 2011 19:48:43 +0000 (19:48 +0000)]
Fix os_unix.c so that, unless 8.3 filenames are actually in use, journal and wal file permissions are assigned correctly even if SQLITE_ENABLE_8_3_NAMES is defined.
FossilOrigin-Name:
169e12295cca701443746b1209bd6a7714fd8988
drh [Mon, 12 Dec 2011 19:47:25 +0000 (19:47 +0000)]
Make sure the quota logic is usable as C++.
FossilOrigin-Name:
f4534bd3023a599691018f35389a76045e49d831
dan [Mon, 12 Dec 2011 18:55:44 +0000 (18:55 +0000)]
Change the multiplexor VFS so that xTruncate is a no-op on database files.
FossilOrigin-Name:
ee1e012256ae8010b6b6c4895a74b6883f20e73c
dan [Mon, 12 Dec 2011 18:21:44 +0000 (18:21 +0000)]
Fix for the xFileSize method of test_multiplex.c when used on a file opened with the DELETEONCLOSE flag set.
FossilOrigin-Name:
713071c493e9937a20c436b07299df428249e378
drh [Mon, 12 Dec 2011 16:51:50 +0000 (16:51 +0000)]
Add magic comments to shell.c to make it easier for scripts to
insert additional version information displays for custom builds.
FossilOrigin-Name:
9b2691aa911289d74bfe3edf45937a33fb7eaa8d
drh [Sun, 11 Dec 2011 22:44:09 +0000 (22:44 +0000)]
In the multiplexor shim, when using 8+3 filenames, begin numbering journal
overflow files with 101 instead of 001 to avoid name collisions with the
main database file.
FossilOrigin-Name:
05bf8a0b17a13a581ac973dc84ceaf66532d7f92
drh [Sun, 11 Dec 2011 21:51:04 +0000 (21:51 +0000)]
Update comments describing the flattening optimization in select.c.
FossilOrigin-Name:
dab4c137a852222f11179fa2ade52d17a4206dd2
drh [Sun, 11 Dec 2011 02:30:35 +0000 (02:30 +0000)]
Fix STAT3 so that it works with the new uninitialized register logic of
the VDBE. Ticket [
7bbfb7d4422ff ]
FossilOrigin-Name:
d11a57985c394772043c63d4c2b534944be0a664
drh [Sun, 11 Dec 2011 02:29:25 +0000 (02:29 +0000)]
Fix harmless compiler warnings.
FossilOrigin-Name:
1e6a698aab9270637d3ea00fd6b0e94f4172e875
drh [Sat, 10 Dec 2011 23:18:32 +0000 (23:18 +0000)]
Minor cleanups of the compound-subquery flattening logic. New test cases
added for joins the compound subquery.
FossilOrigin-Name:
5061d85ff934db3c217c97acbbbed3286d9e02aa
drh [Sat, 10 Dec 2011 17:17:17 +0000 (17:17 +0000)]
Allow UNION ALL compounds to be promoted up to replace a simple wrapper
SELECT even if the compounds are joins.
FossilOrigin-Name:
3d4b4f4fb7c1d9f1c742fef884383e9f50f8630e
drh [Sat, 10 Dec 2011 15:55:01 +0000 (15:55 +0000)]
Import the experimental parse-tree explainer, with fixes, from the
tree-explain branch.
FossilOrigin-Name:
bcbc7152d49107afa926c8950360c61a6cf3d244
drh [Sat, 10 Dec 2011 14:44:31 +0000 (14:44 +0000)]
Merge the latest trunk changes into tree-explain branch.
FossilOrigin-Name:
1a360da0f8314f232c224c71829646bc7558892b
drh [Sat, 10 Dec 2011 13:49:44 +0000 (13:49 +0000)]
Always use _msize() to get memory allocation sizes on windows, without having
to do anything special in the makefile.
FossilOrigin-Name:
256e27bd118ed3ab6ecb19ad6a6494b71ac9bdd5
drh [Fri, 9 Dec 2011 18:06:44 +0000 (18:06 +0000)]
Change the VDBE so that all registers are initialized to "Invalid" instead of
NULL and report errors on any attempted read of an Invalid register. This
will help prevent future bugs similar to [
7bbfb7d442 ].
FossilOrigin-Name:
0064bab77149768640d7758a3e271d5a1d63b256
drh [Fri, 9 Dec 2011 17:51:30 +0000 (17:51 +0000)]
Remove an unnecessary condition.
FossilOrigin-Name:
d9ba023c608bce7768bc08478f9df9243f2e73ce
drh [Fri, 9 Dec 2011 17:38:23 +0000 (17:38 +0000)]
Remove an unnecessary initialization of Vdbe.aOnceFlag.
FossilOrigin-Name:
421714dad32f3460fa40a7f65e9fa276f5e37f58
drh [Fri, 9 Dec 2011 17:27:51 +0000 (17:27 +0000)]
Take out the OP_JumpOnce opcode. Revert compound SELECT to use OP_IfNot,
which is the correct behavior. Mark trigger registers as initially
invalid.
FossilOrigin-Name:
6a9fb47d5060fe641915f5f99cc9265409a4583b
drh [Fri, 9 Dec 2011 16:59:19 +0000 (16:59 +0000)]
Previous check-in broke auto-increment. This check-in appears to fix it.
FossilOrigin-Name:
28ffd39c7162c8f7139711545122cffa257911dd
drh [Fri, 9 Dec 2011 16:21:19 +0000 (16:21 +0000)]
Make no assumptions about the initial state of VDBE registers.
FossilOrigin-Name:
521d72bdf67b4b1972331307345a18c231a6e1d6
dan [Fri, 9 Dec 2011 13:24:16 +0000 (13:24 +0000)]
Modify the OP_Once opcode so that it works correctly in trigger sub-programs. This is a candidate fix for [
7bbfb7d442 ].
FossilOrigin-Name:
557c69055a300b4082830b5f4803091dca1c3140
mistachkin [Fri, 9 Dec 2011 05:52:16 +0000 (05:52 +0000)]
The Windows OS flavor #ifdefs must be performed after the 'windows.h' file has been included.
FossilOrigin-Name:
3702a31e56fe02d14ce246109b318a124cad9f1a
drh [Thu, 8 Dec 2011 20:41:33 +0000 (20:41 +0000)]
Hand merge the zone allocator for MacOS from the apple-osx branch.
FossilOrigin-Name:
0d955c20c02da29582b5cd8df2b7124fb9d12ebb
drh [Thu, 8 Dec 2011 19:50:32 +0000 (19:50 +0000)]
In persistent WAL mode, truncate the WAL file to the size specified by the
journal_size_limit pragma when disconnecting from the WAL.
FossilOrigin-Name:
9687b305c2320109a8649612181eecd2e0da7c7b
mistachkin [Thu, 8 Dec 2011 03:51:12 +0000 (03:51 +0000)]
Follow the previously established pattern for detecting preprocessor defines for specific flavors of Windows (for NT in this case).
FossilOrigin-Name:
a0d92193dd5ae97608748f354aa17eb188431546
drh [Wed, 7 Dec 2011 22:49:42 +0000 (22:49 +0000)]
Additional detail added to the tree-explain output for SELECT statements.
FossilOrigin-Name:
7b457ea4551ba411a4747d74fb78b795cc8d9ee6
drh [Wed, 7 Dec 2011 15:33:14 +0000 (15:33 +0000)]
More compact notation for the parse-tree view.
FossilOrigin-Name:
0eb3f8b1e3a196811fb54a5e2645debe6119610a
drh [Wed, 7 Dec 2011 01:55:51 +0000 (01:55 +0000)]
Cherrypick the [
7e5b56b1c6 ] fix for the sqlite3SelectDup() routine
into trunk.
FossilOrigin-Name:
7fc535090ca3416706dff4abce10ac2d7f775e02
drh [Wed, 7 Dec 2011 01:47:27 +0000 (01:47 +0000)]
Bug fix in sqlite3SelectDup(). Make sure the pNext pointer is valid.
FossilOrigin-Name:
7e5b56b1c602d4adfd4496a9c877f3b685b2d360
drh [Wed, 7 Dec 2011 01:23:51 +0000 (01:23 +0000)]
Improvements to the data-structure explain subsystem. Most queries now
give a reasonably detailed graph of their parse tree.
FossilOrigin-Name:
0aa7d3d2346bdddcc4e1e25ee26d13c8594885e5
drh [Tue, 6 Dec 2011 19:44:51 +0000 (19:44 +0000)]
Begin adding the data-structure explaining subsystem. All is contained within
FossilOrigin-Name:
79ae51c5b1b20ed0a425a87e65a32a096a80b7e1
dan [Tue, 6 Dec 2011 13:46:54 +0000 (13:46 +0000)]
Add file tkt-
3a77c9714e .test, containing tests to verify that the problem documented by ticket [
3a77c9714e ] has been fixed.
FossilOrigin-Name:
162421dadf93e9201c3290d800c597cbeeacdb40
drh [Tue, 6 Dec 2011 13:24:59 +0000 (13:24 +0000)]
Do not reuse temp registers originally allocated to a subroutine within
the main body of the program logic, since if the subroutine is called
while the reused temp registers are in use, their values will get clobbered.
Candidate fix for ticket [
3a77c9714e63330 ]
FossilOrigin-Name:
092d53315e50be42b51ef7b3069c82c32a129b6a
drh [Tue, 6 Dec 2011 00:47:51 +0000 (00:47 +0000)]
Merge the winGetLastError fixes into trunk.
FossilOrigin-Name:
5b03ba9db0d23a8597b45e00ad5892c8065ce1cd
drh [Sat, 3 Dec 2011 00:13:06 +0000 (00:13 +0000)]
Add the sqlite3_quota_fflush() interface. Enhance sqlite3_quota_remove()
so that it can remove entire directories.
FossilOrigin-Name:
abcb65af4cdd192beaccdbc2109ad45b9e7f9d00
drh [Fri, 2 Dec 2011 15:31:07 +0000 (15:31 +0000)]
One minor documentation enhancement.
FossilOrigin-Name:
8cfd3575c8d9f5361c5276d6b83aba47606975a3
drh [Fri, 2 Dec 2011 15:27:41 +0000 (15:27 +0000)]
Documentation improvements and additional test cases.
FossilOrigin-Name:
fa71896089538589fb7015d6507e22961e72233b
drh [Thu, 1 Dec 2011 22:12:58 +0000 (22:12 +0000)]
Run quota-stdio tests in binary mode so that they work on windows.
FossilOrigin-Name:
71e4e97d9c883aa9f1d43d61543685924fc9339a
drh [Thu, 1 Dec 2011 22:07:22 +0000 (22:07 +0000)]
Progress toward getting things to work better on windows.
FossilOrigin-Name:
253dd7072ef7f4e8742e5b6430658f8e5102e0bb
drh [Thu, 1 Dec 2011 20:48:15 +0000 (20:48 +0000)]
Add test logic and some test cases.
FossilOrigin-Name:
a4730586cc1f686ead956ccd1cc218b5931942c9
drh [Thu, 1 Dec 2011 18:44:21 +0000 (18:44 +0000)]
Add stdio-like I/O interfaces to the test_quota VFS. This is a prototype
change for discussion and is mostly untested. This is an alternative to
adding stdio-like I/O interfaces in the core. There is no guarantee that
this code will make it into the trunk. If it does get to trunk, there
could be many changes to the interface first.
FossilOrigin-Name:
bd3ce723f1b5be52be46ede8614ca316f56e7e6f
drh [Tue, 29 Nov 2011 15:40:32 +0000 (15:40 +0000)]
Remove unused fields from the Parse object. Documentation and formatting
improvements on data structure definitions.
FossilOrigin-Name:
431556cac0b2c86d7f6a60412ff1023feeaafedf
drh [Tue, 29 Nov 2011 15:04:12 +0000 (15:04 +0000)]
Remove unused boolean fields from the UnpackedRecord object.
FossilOrigin-Name:
b10d091ec02e94643e865743129e2a21147b3136
drh [Tue, 29 Nov 2011 14:46:56 +0000 (14:46 +0000)]
Removed the unused "type" field from the CollSeq (collating sequence) object.
FossilOrigin-Name:
ab89b047e82efdf59ed91a38b5195341a3743cbf
drh [Fri, 25 Nov 2011 21:51:03 +0000 (21:51 +0000)]
Update the version number to 3.7.10.
FossilOrigin-Name:
ed0151ba8379a6c95304c9a8f9fe47e741fb80a3
drh [Fri, 25 Nov 2011 17:51:52 +0000 (17:51 +0000)]
Fix a typo in the documentation for sqlite3_stmt_busy().
FossilOrigin-Name:
7812626d1da1e19f2fc54a045c9fe2741ce68699
drh [Fri, 25 Nov 2011 17:21:47 +0000 (17:21 +0000)]
Add the sqlite3_stmt_busy() interface.
FossilOrigin-Name:
95cc4af686dc9bf85cb7224aecde27c9ca14ad5c
mistachkin [Mon, 21 Nov 2011 00:54:37 +0000 (00:54 +0000)]
Cleanup the semantics surrounding use of the GetLastError function on Windows.
FossilOrigin-Name:
7e657bbb800107c992a6ee7a3b35bc0a073bf3e4
drh [Fri, 18 Nov 2011 13:10:51 +0000 (13:10 +0000)]
Change the multiplexor to use a 3-digit suffix.
FossilOrigin-Name:
0b7edc44757660c8a5ae3b91cbcc3e6afd419b28
drh [Thu, 17 Nov 2011 11:49:58 +0000 (11:49 +0000)]
Improvements to the documentation of the sqlite3_db_filename() interface.
FossilOrigin-Name:
1c45b2a0c055f6fc5da9d00ae2e9171099d904d4
drh [Thu, 17 Nov 2011 11:43:19 +0000 (11:43 +0000)]
Restore the test for sqlite3OsFullPathname() failure that was mistakenly
removed when [
ceee03c79a ] was backed out by [
69ec53fc1c ].
FossilOrigin-Name:
4d3cf9e1d8ac356db5a708913f614e42a6a56b94
drh [Thu, 17 Nov 2011 00:56:20 +0000 (00:56 +0000)]
Add the sqlite3_db_filename() interface.
FossilOrigin-Name:
93a947989b57959aacc37007a143fdf3921793ab
drh [Wed, 16 Nov 2011 23:29:37 +0000 (23:29 +0000)]
drh [Wed, 16 Nov 2011 19:29:17 +0000 (19:29 +0000)]
Add the sqlite3_db_release_memory() interface and the shrink_memory pragma.
FossilOrigin-Name:
3f58e7c8895d1252eff56282c08b1a6f1194452c
drh [Wed, 16 Nov 2011 18:08:07 +0000 (18:08 +0000)]
Merge the PCACHE2 changes into trunk.
FossilOrigin-Name:
457513f21f2438c61b1a214716e338a4e3eeaafa
drh [Wed, 16 Nov 2011 17:32:28 +0000 (17:32 +0000)]
Change the multiplexor suffix from 2 to 3 digits.
FossilOrigin-Name:
06e0cdaf9112f722c23692e25c5b1f99b61c2d78
drh [Wed, 16 Nov 2011 16:23:15 +0000 (16:23 +0000)]
Remove code made obsolete by the changes to index processing that allow
range search on the rowid.
FossilOrigin-Name:
a5418c7fc216a30abf7b2fa8c579aee586393a91
dan [Wed, 16 Nov 2011 15:41:29 +0000 (15:41 +0000)]
Fix an invalid assert() statement added by [
3b58f5f066 ].
FossilOrigin-Name:
888b09dd8fc0a31b69852a2c10eebb5f31fe35de
dan [Wed, 16 Nov 2011 15:27:09 +0000 (15:27 +0000)]
Where possible, take advantage of the rowid at the end of index records to optimize range constraints (<, >, <=, >=) on the rowid column.
FossilOrigin-Name:
3b58f5f06648205a47e5cace0201269c406e476a
dan [Wed, 16 Nov 2011 08:18:20 +0000 (08:18 +0000)]
Update memsubsys1.test to account for the recently increased size of the MemPage structure in btreeInt.h.
FossilOrigin-Name:
4fb3ca756a3a7c66baa4745a9b2c1e246a67c699
drh [Mon, 14 Nov 2011 03:00:28 +0000 (03:00 +0000)]
Forward port the 8-byte alignment fix from branch-3.7.9.
FossilOrigin-Name:
ebf6eb6ed756c0a3158b4cb5fb4b460c79d93c29
drh [Mon, 14 Nov 2011 02:53:54 +0000 (02:53 +0000)]
Fix a 8-byte alignment problem that causes a SIGBUS on Sparc.
FossilOrigin-Name:
54cc11981127b52145e39f551d958580b1d45169
drh [Sun, 13 Nov 2011 21:44:03 +0000 (21:44 +0000)]
Add a version number to the sqlite3_pcache_methods2 object. Other PCACHE2
documentation improvements.
FossilOrigin-Name:
9f839ac05a9f3cfe587d2ccdccd50dac41baedbe
drh [Sat, 12 Nov 2011 23:10:13 +0000 (23:10 +0000)]
Attempt to modify btree.c so that it assumes that calls to sqlite3PagerWrite()
will reallocate the page buffer. As there is not good way to test this
assumption yet, probably a few spots were missed.
FossilOrigin-Name:
ceee03c79a55ea39866758aa76b78b10e5f4246d
drh [Sat, 12 Nov 2011 16:46:55 +0000 (16:46 +0000)]
Remove a couple of incorrect assert statements so that the test suite will
run with -DSQLITE_DEFAULT_CACHE_SIZE=0.
FossilOrigin-Name:
87614b62ace530761e0e1170ec5840b212735ec6