]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Fri, 21 Sep 2012 22:50:45 +0000 (22:50 +0000)]
Enable query planner tracing using the new (and undocumented) ".wheretrace 1"
command in the command-line shell if both the shell and the core are
compiled with SQLITE_DEBUG and SQLITE_ENABLE_WHERETRACE. This is not a
supported API. Use for testing and debugging only.
FossilOrigin-Name:
1be4b16b9e900181ae6848f2920ea646f407c9dc
drh [Fri, 21 Sep 2012 13:40:02 +0000 (13:40 +0000)]
Command-line shell enhancements: Added the ".print" command. Enhanced
the ".width" command so that negative widths will right-justify.
FossilOrigin-Name:
a1d8269da3868e41a6603c1a683e324fe21fb317
drh [Fri, 21 Sep 2012 00:04:28 +0000 (00:04 +0000)]
Consolidate more of the DISTINCT processing logic into a single spot in the
code. Reduce the number of OP_Column operations needed to perform a
WHERE_DISTINCT_ORDERED.
FossilOrigin-Name:
79e922f7ae29bbe06d639d648fbd72523cf9a28e
drh [Thu, 20 Sep 2012 15:41:31 +0000 (15:41 +0000)]
Continuing incremental enhancements of SELECT code generation:
Remove the Select.affinity field. Use SelectDest.affSdst instead.
FossilOrigin-Name:
cf40b7b5ebdacc3215d769aadacce8c9e7e9dfbb
drh [Thu, 20 Sep 2012 14:26:22 +0000 (14:26 +0000)]
Refactoring of DISTINCT code. Change the name of the local variable
"distinct" to "distinctTab". Generate cleaner code w/o unnecessary P4
and P5 values on the OP_Null for WHERE_DISTINCT_ORDERED.
FossilOrigin-Name:
0cda241a2bcb3c6f2ae6c48f522780bc4eddfc02
drh [Wed, 19 Sep 2012 21:15:46 +0000 (21:15 +0000)]
Tighter VDBE code for the WHERE_DISTINCT_ORDERED case of DISTINCT keyword
handling.
FossilOrigin-Name:
94b48064db3cbb43e911fdf7183218b08146ec10
drh [Wed, 19 Sep 2012 17:31:15 +0000 (17:31 +0000)]
Add comments to the WHERE_DISTINCT_* macros. No changes to code.
FossilOrigin-Name:
82320501904f65030622a67836ba30f412169056
drh [Wed, 19 Sep 2012 00:35:31 +0000 (00:35 +0000)]
Merge the covering-index-scan optimization into trunk.
FossilOrigin-Name:
ddd5d789e7ae4a66cd7b7fa79e48d2777f95350b
mistachkin [Tue, 18 Sep 2012 23:21:32 +0000 (23:21 +0000)]
Silence harmless compiler warning seen with SQLITE_OMIT_DEPRECATED.
FossilOrigin-Name:
c5cee969322d14114e4136510c3891a2e743520d
drh [Tue, 18 Sep 2012 19:29:06 +0000 (19:29 +0000)]
Enhance IN processing to allow efficient use of indices with numeric affinities.
Add test cases for IN processing that would have spotted the error in the
[
2be661a48023f4 ] check-in.
FossilOrigin-Name:
5ded9b68388f4024425c11f09b03529ac89454ce
drh [Tue, 18 Sep 2012 17:08:33 +0000 (17:08 +0000)]
Enhancements to the comments on sqlite3FindInIndex(). No code changes.
FossilOrigin-Name:
b1a4c394995eb90b3fb43ab204704bda03799303
drh [Tue, 18 Sep 2012 14:00:54 +0000 (14:00 +0000)]
Add the stack_usage.tcl script for analyzing the output of objdump on the
amalgamation and estimating the sizes of stack frames on each function.
FossilOrigin-Name:
030013ff0c7af5f146a64f9ede31297ff003e0c4
drh [Tue, 18 Sep 2012 13:20:13 +0000 (13:20 +0000)]
Update the vdbe-compress.tcl script so that it accepts variable declarations
inside of #ifdef...#endif.
This enhancement is needed due to the change of check-in [
39866c0ede5d6ef4 ].
FossilOrigin-Name:
e7db056a0d76b2411cadbae077890df189e49414
drh [Mon, 17 Sep 2012 21:24:01 +0000 (21:24 +0000)]
Make sure the WHERE_IDX_ONLY flag is not set on query plans that will not
be using an index.
FossilOrigin-Name:
698b2a28004a9a2f0eabaadf36d833da4400b2bf
drh [Mon, 17 Sep 2012 20:44:46 +0000 (20:44 +0000)]
Add the ability to disable the covering-index-scan optimization at compile-time,
start-time, or at run-time. Add test cases to check this configurability.
FossilOrigin-Name:
ccb8ecc30c8e6c7760131250297c2e452bbac43b
drh [Mon, 17 Sep 2012 19:26:02 +0000 (19:26 +0000)]
Merge recent trunk changes into the fullscan-covering-index branch.
FossilOrigin-Name:
1c0bf0305ce9528a0d07c86a390c5872e16bdb57
drh [Mon, 17 Sep 2012 19:12:39 +0000 (19:12 +0000)]
Remove obsolete bits from the bitvector that defines disabled optimizations
in the SQLITE_TESTCTRL_OPTIMIZATIONS verb of sqlite3_test_control().
FossilOrigin-Name:
4c21ee2d26466f83dec525153e2b1506bd956701
drh [Mon, 17 Sep 2012 18:56:32 +0000 (18:56 +0000)]
Remove an unnecessary parameter from sqlite3Utf8Read() resulting in a slight
performance increase.
FossilOrigin-Name:
8b962c94a2f829f71efdd0ca770469b02feea3e1
drh [Mon, 17 Sep 2012 17:16:53 +0000 (17:16 +0000)]
Make sure the KeyInfo.aSortOrder array is always allocated so that we never
have to test for KeyInfo.aSortOrder==0 in performance-critical loops.
FossilOrigin-Name:
45793f0b844fee7445bc9269b403f89a58f77150
drh [Mon, 17 Sep 2012 15:36:31 +0000 (15:36 +0000)]
Performance enhancement in the sqlite3VdbeSerialType() routine.
FossilOrigin-Name:
ad298f52efd0ff123a1a4d6a0fa16fbd4c6b6dad
drh [Sat, 15 Sep 2012 18:45:54 +0000 (18:45 +0000)]
Attempt to use a covering index even on a full table scan, under the theory
that the index will be smaller and require less disk I/O and thus be faster.
FossilOrigin-Name:
cfaa7bc12847a7006ccc93815f2395ad5259744a
drh [Sat, 15 Sep 2012 13:39:24 +0000 (13:39 +0000)]
Make sure the name of rollback journal files are double-zero terminated
when they are passed into the VFS.
FossilOrigin-Name:
8711a8447d28275602287faf533de3d6e50d535d
drh [Sat, 15 Sep 2012 13:29:23 +0000 (13:29 +0000)]
Factor out the code that generates a co-routine for evaluating the SELECT
on the RHS of an INSERT statement so that the same code can potentially
be reused in other places.
FossilOrigin-Name:
a93ee09cdc15987848bf9023e69892ce9a5f989e
drh [Thu, 13 Sep 2012 19:59:09 +0000 (19:59 +0000)]
Improved alignment of fields in the Expr object gives an 8-byte size
reduction on 64-bit machines.
FossilOrigin-Name:
6b252a0d1a78db7bf2d650bafc214ea4064eef9e
mistachkin [Thu, 13 Sep 2012 16:12:20 +0000 (16:12 +0000)]
Fix WAL capability checking in one of the test files.
FossilOrigin-Name:
0ebe7cc57408d6d85910cc976fb8af4436d6e594
mistachkin [Thu, 13 Sep 2012 15:26:44 +0000 (15:26 +0000)]
Fix an unused variable warning with SQLITE_OMIT_WAL.
FossilOrigin-Name:
39866c0ede5d6ef4dd4fd57c797f0e86a2d0dc5d
mistachkin [Thu, 13 Sep 2012 15:24:29 +0000 (15:24 +0000)]
Improved reporting of filename translation errors in the Windows VFS.
FossilOrigin-Name:
eb0f1c292e6fb00c4d9dbb2317fdc4717c5be96b
drh [Thu, 13 Sep 2012 14:42:43 +0000 (14:42 +0000)]
Reduce the size of the Table object by 16 bytes on 64-bit machines, mostly
by avoiding intermixing pointer fields with integer fields.
FossilOrigin-Name:
1cb9aedfcf81f0086fa741cb29a062ee87724a5e
drh [Thu, 13 Sep 2012 14:22:47 +0000 (14:22 +0000)]
Change boolean fields in the Column object from unsigned characters into
bits in a single bit mask variable.
FossilOrigin-Name:
4163f5f194741bc2bdf141973912661c6aac70f1
drh [Thu, 13 Sep 2012 12:10:55 +0000 (12:10 +0000)]
Add the RTREE_INT_ONLY configuration parameter to the compile-time options
logic.
FossilOrigin-Name:
98b971fb24e0ee5f881b13401c7af51fc6effd0e
mistachkin [Thu, 13 Sep 2012 01:51:02 +0000 (01:51 +0000)]
Allow SQLite to work on Win32 with SQLITE_OS_WINNT=0 as long as WAL is disabled.
FossilOrigin-Name:
c1a8557008e56aa9bcb4565e4178fc57295c563d
drh [Wed, 12 Sep 2012 00:11:20 +0000 (00:11 +0000)]
Update version number to 3.7.15. Delete some obsolete build scripts.
FossilOrigin-Name:
9402f81fade5fcae0a3a6efdc7a5cdf71fc2e79f
mistachkin [Tue, 11 Sep 2012 02:00:25 +0000 (02:00 +0000)]
Added sqlite3_errstr API to translate a result code to the corresponding error message.
FossilOrigin-Name:
bf8a9ca5b58404112a8af666f5840b462b7bbfe1
mistachkin [Mon, 10 Sep 2012 23:44:12 +0000 (23:44 +0000)]
Correct two duplicated test names.
FossilOrigin-Name:
ced49974a969f11e5ebe2280bd7eec20b059e501
drh [Mon, 10 Sep 2012 15:02:32 +0000 (15:02 +0000)]
Remove the stale implementation of the ifnull and coalesce functions - code
that has been commented out for ages. No functional changes.
FossilOrigin-Name:
c2ad691174b8af2e8b158d8840cfc93f75d7db71
mistachkin [Mon, 10 Sep 2012 09:33:09 +0000 (09:33 +0000)]
Avoid using the sqlite3ErrStr function in the Tcl package if USE_SYSTEM_SQLITE is defined.
FossilOrigin-Name:
a716b9a3091072774d067c0a1258b0f4c39a4180
mistachkin [Mon, 10 Sep 2012 08:48:05 +0000 (08:48 +0000)]
Make header comments for some Tcl test commands more consistent. No changes to code.
FossilOrigin-Name:
af870ca9827d2079a35dbb545660f670c7ca9512
mistachkin [Mon, 10 Sep 2012 07:29:29 +0000 (07:29 +0000)]
Refine error messages in the sqlite3 Tcl command when a NULL database connection is returned from sqlite3_open_v2.
FossilOrigin-Name:
f260d7d567a1239c483c437d0b18a95bd0c96724
mistachkin [Mon, 10 Sep 2012 06:02:57 +0000 (06:02 +0000)]
Fix typo in documentation for sqlite3_open_v2. No changes to code.
FossilOrigin-Name:
b532120a4a567a3fa54b87dd8ab94cc2c0347c7c
drh [Tue, 4 Sep 2012 21:34:26 +0000 (21:34 +0000)]
Avoid repeating calls to the sqlite3_trace() callback when the same statement
is evaluted multiple times by sqlite3_step() due to an SQLITE_SCHEMA
reprepare.
FossilOrigin-Name:
39f763bfc04174ee0fe2cdf6a92b7c12f726bd1b
drh [Mon, 3 Sep 2012 15:42:36 +0000 (15:42 +0000)]
drh [Mon, 3 Sep 2012 12:40:32 +0000 (12:40 +0000)]
Fix compiler warnings in test_spellfix1.c
FossilOrigin-Name:
ebb08d0b4d1ed674e4a23c3754206ca2df9063ff
drh [Mon, 3 Sep 2012 11:39:59 +0000 (11:39 +0000)]
Add resources describing the version number and other information to EXEs
and DLLs generated using MSVC.
FossilOrigin-Name:
a15a70840e1af55ffe4035f53e894a2d582d8f74
mistachkin [Mon, 3 Sep 2012 11:14:53 +0000 (11:14 +0000)]
Insert additional tab character.
FossilOrigin-Name:
3af7c1a6afacea7b5e47bebce2541aa340c6e946
mistachkin [Mon, 3 Sep 2012 11:01:21 +0000 (11:01 +0000)]
Linking and cleaning fixes for the tclsqlite3.exe target in the MSVC makefile.
FossilOrigin-Name:
96d43c7a35684cd8ca6ac0d8325193e69f102fb8
mistachkin [Mon, 3 Sep 2012 10:32:32 +0000 (10:32 +0000)]
Add Win32 version resources to the applicable binaries built by the MSVC makefile.
FossilOrigin-Name:
e2f27d28b590164bc6b0d856e79c9345e2188d03
drh [Fri, 31 Aug 2012 14:55:05 +0000 (14:55 +0000)]
In the spellfix phonehash() function, add letter W into the same character
class as V.
FossilOrigin-Name:
7536101317c00fbb5bf555120feb55b9bc40e8ba
drh [Fri, 31 Aug 2012 12:31:18 +0000 (12:31 +0000)]
Changes for ERROR_PATH_NOT_FOUND in addition to ERROR_FILE_NOT_FOUND in
winAccess().
FossilOrigin-Name:
527340abff18aedbcb0f82ac1296a9f548e24ac4
drh [Thu, 30 Aug 2012 20:24:39 +0000 (20:24 +0000)]
Exclude the atof1.test test script from the valgrind permutations test since
valgrind sets up the floating point hardware in an unusual way that makes
atof1 fail.
FossilOrigin-Name:
d3cf6832a59fe4c5723761abb4c89614406b03db
dan [Thu, 30 Aug 2012 11:22:16 +0000 (11:22 +0000)]
Fix an out-of-bounds read in the demonstration code in test_spellfix.c.
FossilOrigin-Name:
59194311543b95c2aeebe2aba83da3c29b7c6460
drh [Wed, 29 Aug 2012 10:28:43 +0000 (10:28 +0000)]
Fix a typo in a comment in vdbe.c. No changes to code.
FossilOrigin-Name:
9fbe858b625a346690d5cefca3a6fa2a557bea11
dan [Tue, 28 Aug 2012 14:45:50 +0000 (14:45 +0000)]
Fix a case where SQLite was failing to detect a syntax error in queries like "SELECT ... FROM (<select-1> UNION ALL <select-2>)" when <select-1> and <select-2> return different numbers of result columns.
FossilOrigin-Name:
200a81358c3117401d2258dd06bb8d2ea4f0ef51
mistachkin [Tue, 28 Aug 2012 04:20:56 +0000 (04:20 +0000)]
Issue a log message if the temporary directory has not been set when running on WinRT.
FossilOrigin-Name:
9ee39102942d4a4830417f61f0969f29ac0282a1
mistachkin [Tue, 28 Aug 2012 01:44:13 +0000 (01:44 +0000)]
Enable the use of a simpler command line when cross-compiling in the MSVC build environment.
FossilOrigin-Name:
8ade136a038ee71d741af4a9f9e692fdff4e7911
drh [Tue, 28 Aug 2012 00:17:56 +0000 (00:17 +0000)]
Formatting changes to the C code example in the documentation for
sqlite3_temp_directory(). No changes to code.
FossilOrigin-Name:
5b4b39788ed9ac5962a17315d5549fc5e3f38c5e
mistachkin [Tue, 28 Aug 2012 00:09:58 +0000 (00:09 +0000)]
Update API docs to include notes about the WinRT temporary directory. No changes to code.
FossilOrigin-Name:
eaeeb0699297dde824788e2907a0cfd2acd8f642
drh [Mon, 27 Aug 2012 21:19:03 +0000 (21:19 +0000)]
Add to #undef statements to the command-line shell, go make sure that the
macros definitions that follow do not collide with system definitions.
FossilOrigin-Name:
24420d6d2077d745cc26dd269e76b48c8a3eeb3c
drh [Mon, 27 Aug 2012 14:39:47 +0000 (14:39 +0000)]
Fix an incorrect assert in the virtual table logic - it could fire following
an I/O error after sqlite3_close_v2() was added.
FossilOrigin-Name:
4ccc18e999c51f7f6637ee48ccca35c7706bfe6d
mistachkin [Sat, 25 Aug 2012 10:01:29 +0000 (10:01 +0000)]
Fix all known instances of 'repeated the' style typos in comments. No changes to code.
FossilOrigin-Name:
9b19b847533f944f289d93dcdba29c0d67bf251c
drh [Sat, 25 Aug 2012 02:11:13 +0000 (02:11 +0000)]
Fix a harmless compiler warning.
FossilOrigin-Name:
929b51840b83ee1ca5add8fe430913e7c4e2a3d6
drh [Fri, 24 Aug 2012 23:56:19 +0000 (23:56 +0000)]
When the same index is used for all OR-terms in a WHERE clause, then try to
use that index as a covering index.
FossilOrigin-Name:
62678be3df35cdcb09172ba8c860f7b73517f1ea
drh [Fri, 24 Aug 2012 23:24:15 +0000 (23:24 +0000)]
Move field WhereLevel.pCovidx inside the union to WhereLevel.u.pCovidx.
FossilOrigin-Name:
b722143d075979ba3d92b7b29e576ce2307187d1
drh [Fri, 24 Aug 2012 21:54:11 +0000 (21:54 +0000)]
Remove a NEVER() that is in fact reachable on an OOM. This probably
has nothing to do with the multi-or-covering-index change but just happened
to be found while testing that change.
FossilOrigin-Name:
5499af53ebcdc21ae288aa2347aa21f6891d79ef
dan [Fri, 24 Aug 2012 19:58:18 +0000 (19:58 +0000)]
Another test for whereD.test.
FossilOrigin-Name:
29d586178dcfdb99eaf7ce768668ab0aa9898c83
dan [Fri, 24 Aug 2012 19:52:25 +0000 (19:52 +0000)]
Add extra tests to whereD.test.
FossilOrigin-Name:
7e961eef6b7260dd8deb8b3812218a874c382885
dan [Fri, 24 Aug 2012 18:44:56 +0000 (18:44 +0000)]
Fix a problem to do with multi-or queries and automatic indexes.
FossilOrigin-Name:
a3e26038a1d9f3331239f777c67d1920d904aab0
drh [Fri, 24 Aug 2012 17:52:54 +0000 (17:52 +0000)]
More test cases for OR-optimization covering indices.
FossilOrigin-Name:
e5c3190c27b69dc50f348c849a81b79031b2fb67
drh [Fri, 24 Aug 2012 15:29:03 +0000 (15:29 +0000)]
Additional test cases for OR-optimization with covering indices, including
one test case that currently fails.
FossilOrigin-Name:
d8b7ab37120ac20e60b6a600cd0e5b34a09cf97a
dan [Fri, 24 Aug 2012 10:52:35 +0000 (10:52 +0000)]
Experimental change to support the covering index optimization for queries with OR terms in the WHERE clause that search a single index more than once.
FossilOrigin-Name:
1dc8c7c741a82bb98a07f3fdb8142d8bc8d8a98b
drh [Fri, 24 Aug 2012 01:07:52 +0000 (01:07 +0000)]
Merge the nested aggregate query enhancements into trunk.
FossilOrigin-Name:
d4cd6017c9875947a05b1dc36538d4272fb18739
mistachkin [Thu, 23 Aug 2012 22:45:34 +0000 (22:45 +0000)]
Merge changes for the new sqlite3_win32_set_directory API to trunk.
FossilOrigin-Name:
20f184f2d5908badd9d44d4fe2ad7c9e182c8803
drh [Thu, 23 Aug 2012 19:46:11 +0000 (19:46 +0000)]
Add test cases and fix bugs associated with the previous check-in
enhancements to nested aggregate subquery processing.
FossilOrigin-Name:
00b1dc71be4c3420730b5f7840af824ea86165e7
drh [Thu, 23 Aug 2012 16:18:10 +0000 (16:18 +0000)]
Further improvements to the processing of nested aggregate queries.
FossilOrigin-Name:
3c3ffa901f5ce8a523028ff15563ce3e0f55a641
mistachkin [Wed, 22 Aug 2012 00:39:34 +0000 (00:39 +0000)]
Modify the MSVC makefile to make it easier to select the heap subsystem to use.
FossilOrigin-Name:
b1dbf490869d7fc55ce797cf80cf3bf7141d2d15
mistachkin [Wed, 22 Aug 2012 00:18:27 +0000 (00:18 +0000)]
Add assert to check that the memory block for the previous directory value was allocated via sqlite3_malloc or related function.
FossilOrigin-Name:
1246f15b146ebf6518fb8f5c92a1ebc9495cd9dc
mistachkin [Tue, 21 Aug 2012 23:33:45 +0000 (23:33 +0000)]
Added sqlite3_win32_set_directory API to assist in portability to WinRT.
FossilOrigin-Name:
600de08d40ceead24f425d20429d60f5732f8ba7
drh [Tue, 21 Aug 2012 17:44:05 +0000 (17:44 +0000)]
Update the spellfix virtual table so that all OOM errors are reported out
to the application.
FossilOrigin-Name:
573770f5a66fa4d708931b30350149eb739da607
dan [Mon, 20 Aug 2012 17:24:48 +0000 (17:24 +0000)]
Add the SQLITE_DISABLE_FTS4_DEFERRED compile time option.
FossilOrigin-Name:
e799222f3b8246e65657a758437914ece7069ba9
drh [Mon, 20 Aug 2012 16:23:36 +0000 (16:23 +0000)]
Change the checkSpacing utility program to ignore whitespace at end-of-line
unless the --wseol option is used.
FossilOrigin-Name:
be1faadebd9464f1c7d4cc26104f219ed35384b8
drh [Mon, 20 Aug 2012 16:08:29 +0000 (16:08 +0000)]
Silence harmless compiler warnings in the test code.
FossilOrigin-Name:
7653973a525638b5e5e70ea8459f64e1a88befca
drh [Mon, 20 Aug 2012 15:53:54 +0000 (15:53 +0000)]
Remove tab characters from source code files. Replace them with spaces.
FossilOrigin-Name:
7edd10a960d5ff121e470b0549b0aa9fb7760022
drh [Mon, 20 Aug 2012 15:46:08 +0000 (15:46 +0000)]
Add a command-line program to tool/ that will check source code files for
the presence of tabs, carriage-returns, whitespace at the ends of lines,
and blank lines at the ends of files.
FossilOrigin-Name:
656a9c8b47d262e0982ad3a35db490e2ff4d856e
drh [Fri, 17 Aug 2012 13:44:31 +0000 (13:44 +0000)]
Clarify that the number-of-bytes parameter to sqlite3_bind_blob() must
be non-negative.
FossilOrigin-Name:
b1b01c4cd9798d69951665ed7d6d9f79f6b463a1
mistachkin [Fri, 17 Aug 2012 12:13:11 +0000 (12:13 +0000)]
Fix MSVC compiler warning in the spellfix module. Also, add an assert.
FossilOrigin-Name:
e66cf0401fab766f62c1d263dcb1efb67b2075a9
mistachkin [Fri, 17 Aug 2012 11:47:32 +0000 (11:47 +0000)]
Skip defining some WAL specific things in the Win32 VFS code when compiling without WAL support. Also, fix an example command line in the MSVC makefile.
FossilOrigin-Name:
61b1ae121782525b37882a559d0fbb7c85237fd5
drh [Wed, 15 Aug 2012 16:43:07 +0000 (16:43 +0000)]
Changes to the spellfix test script to make the results deterministic.
FossilOrigin-Name:
31c07db2560ee867723c41cdb634e2aa7993634d
drh [Wed, 15 Aug 2012 16:06:54 +0000 (16:06 +0000)]
Change autoconf so that the --with-tcl=DIR option will override the
TCL configuration that is found using tclsh.
FossilOrigin-Name:
772d0de3f311f2035f8a42f01371c96c9fa587ce
drh [Tue, 14 Aug 2012 19:04:27 +0000 (19:04 +0000)]
Silence three harmless compiler warnings in vdbesort.c.
FossilOrigin-Name:
a5431c86df442c6e6dfaeae8e8aa62b56d204e97
drh [Tue, 14 Aug 2012 18:43:39 +0000 (18:43 +0000)]
Add an assert() to the btree rebalancer in order to silence a
clang/scan-build warning.
FossilOrigin-Name:
6730579cf5c6c74cb293e7237d896d3a3a36b691
drh [Tue, 14 Aug 2012 17:29:27 +0000 (17:29 +0000)]
Update the spellfix virtual table to the latest development code.
FossilOrigin-Name:
6954fef006431d153de6e63e362b8d260ebeb1c6
mistachkin [Tue, 14 Aug 2012 01:45:12 +0000 (01:45 +0000)]
Refer to the file mapping Win32 API functions only when absolutely necessary.
FossilOrigin-Name:
1de2237d005fa1a1e1d034820d17daf64a860f81
mistachkin [Mon, 13 Aug 2012 22:05:22 +0000 (22:05 +0000)]
Refer to the WaitForSingleObjectEx and SetFilePointerEx Win32 functions only for platforms where they are going to be used.
FossilOrigin-Name:
9888ce9294c09749f5c958f965f949561867fea0
dan [Wed, 8 Aug 2012 14:04:56 +0000 (14:04 +0000)]
When populating an index b-tree as part of a CREATE INDEX or REINDEX statement, distribute cells between up to three siblings in balance_nonroot() instead of four. This produces identical database files, but is slightly faster.
FossilOrigin-Name:
b0d31e779ecf01c5a235443c05f488b177ac3045
dan [Wed, 8 Aug 2012 11:55:15 +0000 (11:55 +0000)]
When building a b-tree as part of a CREATE INDEX or REINDEX statement, attempt to pack keys into pages as tightly as possible.
FossilOrigin-Name:
efea62b96c6a242c8ac2bdad70e50c87aee5e871
dan [Wed, 8 Aug 2012 10:14:10 +0000 (10:14 +0000)]
Change to securedel2.test so that it works even if SQLITE_DEFAULT_AUTOVACUUM=1 is defined.
FossilOrigin-Name:
1e6f5ea48174e3cb59e6d9fe1293fd87bd9c78f5
drh [Tue, 7 Aug 2012 22:53:01 +0000 (22:53 +0000)]
Simplifications to the sorter to support full-coverage testing.
FossilOrigin-Name:
de804f4c90f02ca98991da185ed5e28bdd319e92
dan [Tue, 7 Aug 2012 17:41:50 +0000 (17:41 +0000)]
Add extra tests for secure-delete mode.
FossilOrigin-Name:
e380cd3ce34d509e184081ecccf27fda11ce1da7
dan [Tue, 7 Aug 2012 15:19:27 +0000 (15:19 +0000)]
Fix a bug in hash.c introduced by [
305b66672653 ].
FossilOrigin-Name:
17cb5e951e419b1221ae4595d20059d90a361a39
dan [Tue, 7 Aug 2012 14:18:18 +0000 (14:18 +0000)]
Do not run test script spellfix.test if SQLITE_OMIT_VIRTUAL_TABLE is defined. Fix walro.test so that it works if DEFAULT_AUTOVACUUM is defined.
FossilOrigin-Name:
26428b459b45d0fa9fcad7eb5e58bd60b04a0f83
dan [Tue, 7 Aug 2012 13:55:41 +0000 (13:55 +0000)]
Fix a bug in walthread.test causing intermittent failures.
FossilOrigin-Name:
a192a718d513002b58ad585fcb3d8b9b49b4b123