]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Fri, 12 Apr 2013 11:52:43 +0000 (11:52 +0000)]
drh [Thu, 11 Apr 2013 19:04:20 +0000 (19:04 +0000)]
Increase the version number to 3.7.16.2 and cherrypick the
fix for ticket [
7ff3120e4fa54abb55 ]. This check-in is a release
candidate.
FossilOrigin-Name:
86f26f9152988e47d7e1cfcca9eedf5e6265a225
drh [Fri, 29 Mar 2013 13:44:34 +0000 (13:44 +0000)]
drh [Thu, 28 Mar 2013 11:40:14 +0000 (11:40 +0000)]
Adjustment to an extreme corner case in the sqlite3Atoi64() routine.
FossilOrigin-Name:
39534b4baa53b9360696a9d5ee8cc2108af34592
drh [Wed, 27 Mar 2013 20:41:15 +0000 (20:41 +0000)]
Fix harmless compiler warnings coming from MSVC64 in test code. No
changes to the core.
FossilOrigin-Name:
274d2a22660c7b34b8bbd85f3c29cbafbcb1b4e7
drh [Wed, 27 Mar 2013 19:46:33 +0000 (19:46 +0000)]
Increment the version number to 3.7.16.1.
FossilOrigin-Name:
7e32eb7b66290ba7323520f7ea92ffa584ee7193
drh [Wed, 27 Mar 2013 17:20:10 +0000 (17:20 +0000)]
In order to optimize out the ORDER BY clause,
outer loops must generate values for ORDER BY terms that are unique or else
the inner loops must generate no more than a single row.
Fix for ticket [
a179fe7465 ].
FossilOrigin-Name:
2936f7466e162dfb003bda26d35358d1b3063112
drh [Wed, 27 Mar 2013 16:42:21 +0000 (16:42 +0000)]
Restore additional ORDER BY optimizations that where broken by the
recent ORDER BY fix.
FossilOrigin-Name:
c77ee6e20d3a8c91a8bf4c9063c36a95c70e17cf
drh [Wed, 27 Mar 2013 16:05:30 +0000 (16:05 +0000)]
Improved optimization of ORDER BY.
FossilOrigin-Name:
97e5c70f2f19a1bca70dd2221b757b9e5418fce0
drh [Wed, 27 Mar 2013 15:04:28 +0000 (15:04 +0000)]
A fix an test-case for the ORDER BY problem identified by ticket [
a179fe7465 ].
This change causes sorting to occur in some cases where it is not strictly
necessary. Further work is needed to avoid those extra sorts.
FossilOrigin-Name:
488089e615e375c01b31544f06e801af950ae3db
drh [Wed, 27 Mar 2013 03:15:23 +0000 (03:15 +0000)]
Candidate fix for ticket [
6bfb98dfc0c ]: Make sure invalid cursors drop all
references to database pages prior to doing any insert or update.
FossilOrigin-Name:
322a5f086d9ee46017f750df81527799a54ae258
dan [Mon, 25 Mar 2013 12:02:45 +0000 (12:02 +0000)]
dan [Mon, 25 Mar 2013 11:38:44 +0000 (11:38 +0000)]
In fts3, when filtering lists for hits in a specific column, edit the list in place in the same way as it is for NEAR filtering. Fix for [
38b1ae018f ].
FossilOrigin-Name:
f85f9103cffa5c8ba6a63a68beb90817147ba080
drh [Sun, 24 Mar 2013 22:56:49 +0000 (22:56 +0000)]
Remove the SQLITE_OMIT_MERGE_SORT compile-time option and its related code.
The merge sorter is now a required component.
FossilOrigin-Name:
8b44d6fb159e85267095e846cded2764c3bcb895
mistachkin [Thu, 21 Mar 2013 21:20:32 +0000 (21:20 +0000)]
Many spelling fixes in comments. No changes to code.
FossilOrigin-Name:
6f6e2d50941e444ebc83604daddcc034137a05b7
drh [Wed, 20 Mar 2013 12:04:29 +0000 (12:04 +0000)]
Fix text-to-numeric type casting so that it works correctly on UTF16
strings that contain characters where the LSB is numeric but the MSB
is non-zero. Ticket [
689137afb6da41 ]
FossilOrigin-Name:
5b22053f918d16f593227a432a5d5b4c195bb0b5
drh [Tue, 19 Mar 2013 16:12:40 +0000 (16:12 +0000)]
Bring makefiles and build scripts into alignment with the sessions branch.
No changes to code.
FossilOrigin-Name:
d1f41089aba075eef45fd696599e5d3a74c84d0c
drh [Mon, 18 Mar 2013 17:18:18 +0000 (17:18 +0000)]
Clarifications to the documentation for the sqlite3_aggregate_context() API.
Also, shorten an over-length source line in sqlite.h.in.
FossilOrigin-Name:
4fe2db1d866c80fe51f7fddbf9ce6753fb55b5f6
drh [Mon, 18 Mar 2013 11:39:23 +0000 (11:39 +0000)]
dan [Wed, 13 Mar 2013 07:02:04 +0000 (07:02 +0000)]
drh [Wed, 13 Mar 2013 00:13:25 +0000 (00:13 +0000)]
Fix the ORDER BY with IN constraint logic so that it works with all
combinations of DESC on the ORDER BY clause, on the RHS of the IN operator,
and in the index used by ORDER BY and IN.
Fix for ticket [
4dd95f6943fbd18 ].
FossilOrigin-Name:
839aa91faf1db7025d90fa3c65e50efb829b053b
drh [Tue, 12 Mar 2013 23:58:42 +0000 (23:58 +0000)]
Add a single new test case to the ORDER BY with IN logic verify that if the
RHS of the IN is a descending index that it still works. Add testcase()
macros to the ORDER BY with IN logic to help verify that corner cases are
tested.
FossilOrigin-Name:
7e7356f1552cd53ea363d1ded3b2c221c9d0be01
mistachkin [Tue, 12 Mar 2013 23:03:42 +0000 (23:03 +0000)]
Fix typo in sqlite3_close() function documentation reported on the mailing list.
FossilOrigin-Name:
c9a75d890f06cf3806d7b8879824a11d3a8e7016
drh [Tue, 12 Mar 2013 22:13:33 +0000 (22:13 +0000)]
Fix a test case that had an ambiguous result.
FossilOrigin-Name:
38c6bddf8cf15fb358858da6da457046f40b61ce
mistachkin [Tue, 12 Mar 2013 20:58:21 +0000 (20:58 +0000)]
Fix typo in sqlite3_close() function documentation reported on the mailing list.
FossilOrigin-Name:
7232093d6c6871a9f4ea155ab215e3b39c1c322d
drh [Tue, 12 Mar 2013 20:38:51 +0000 (20:38 +0000)]
Fix the ORDER BY optimization with IN constraints when the RHS of the
IN constraint is a descending index.
FossilOrigin-Name:
62316ebaca933f7e5df2018e8360a2b74234f30a
drh [Tue, 12 Mar 2013 18:49:25 +0000 (18:49 +0000)]
Revise the patch to make it easier to understand.
FossilOrigin-Name:
3ce7eb0265b5be4e23264ae41332b947011ff1ad
dan [Tue, 12 Mar 2013 18:44:49 +0000 (18:44 +0000)]
drh [Tue, 12 Mar 2013 18:40:20 +0000 (18:40 +0000)]
Revised fix for the DESC ORDER BY and IN constraint bug,
ticket [
4dd95f6943fbd18 ]. The previous check-in was incorrect.
FossilOrigin-Name:
8b2eb7a43b4580f04c14ea8600cf080e0e7f384d
drh [Tue, 12 Mar 2013 18:34:50 +0000 (18:34 +0000)]
A proposed fix for the DESC ORDER BY bug of ticket [
4dd95f6943fbd18 ].
Seems to work, but lots more testing is needed prior to moving to trunk.
FossilOrigin-Name:
614a038ad2fe111687d2bc1c0aa716d7eb8fdd7c
dan [Mon, 11 Mar 2013 13:37:52 +0000 (13:37 +0000)]
Define _BSD_SOURCE when building on OpenBSD. This is required for fchmod().
FossilOrigin-Name:
f9027cb47bdec8dcebf1f038921b28d9e9928c18
dan [Mon, 11 Mar 2013 11:57:30 +0000 (11:57 +0000)]
Fixes for compiling with SQLITE_OMIT_AUTOVACUUM and/or SQLITE_OMIT_TRIGGER defined.
FossilOrigin-Name:
1da15adba8f6eec69c24ec6385d6f1a7905a388f
dan [Mon, 11 Mar 2013 11:49:03 +0000 (11:49 +0000)]
Fixes for compiling with SQLITE_OMIT_AUTOVACUUM and/or SQLITE_OMIT_TRIGGER defined.
FossilOrigin-Name:
938b91e8552516772060d4e55e2f79cca4c13e27
dan [Sat, 9 Mar 2013 14:49:07 +0000 (14:49 +0000)]
Add a test case for the problem fixed by the previous commit.
FossilOrigin-Name:
e899b058a703158012c054974bd9a909d75144d8
dan [Sat, 9 Mar 2013 14:40:24 +0000 (14:40 +0000)]
Fix a problem with resolving "db.view.column" references that appear in UPDATE or DELETE statements executed against views.
FossilOrigin-Name:
ddee56c9b2b591b9386b1072c3b3a699f7c1f853
dan [Fri, 8 Mar 2013 18:16:33 +0000 (18:16 +0000)]
If SQLITE_OMIT_UTF16 is defined, avoid setting the 'enc' field of Schema objects to any value except SQLITE_UTF8. Otherwise, assert() statements may fail or spurious SQLITE_NOMEM errors may be returned at the vdbe level later on.
FossilOrigin-Name:
f2fecfb2d32cf666e16a87032042dc163ac30250
dan [Fri, 8 Mar 2013 07:10:37 +0000 (07:10 +0000)]
If SQLITE_OMIT_UTF16 is defined, avoid setting the 'enc' field of Schema objects to any value except SQLITE_UTF8. Otherwise, assert() statements may fail or spurious SQLITE_NOMEM errors may be returned at the vdbe level later on.
FossilOrigin-Name:
69746ef787680a4b7590bd1d3c86b229d9d0dac4
drh [Thu, 7 Mar 2013 14:00:04 +0000 (14:00 +0000)]
Fix the char() function so that it works even if SQLITE_OMIT_UTF16 is defined.
FossilOrigin-Name:
af542c82e8e7f0415530b639fa397429c5f377f6
mistachkin [Thu, 7 Mar 2013 09:39:18 +0000 (09:39 +0000)]
Skip tests that require UTF-16 support when compiled with SQLITE_OMIT_UTF16.
FossilOrigin-Name:
e39391422e748407d74853d3de297dc1ea6b991d
mistachkin [Thu, 7 Mar 2013 06:42:53 +0000 (06:42 +0000)]
Fix two compilation issues, one warning and one error, that occur only when SQLITE_OMIT_UTF16 is defined.
FossilOrigin-Name:
10ace06be7fbe9a76a201c418b2af453c7a69043
dan [Wed, 6 Mar 2013 11:44:57 +0000 (11:44 +0000)]
Fix a problem in incrvacuum_ioerr.test. Do not run ioerr6.test with an in-memory journal.
FossilOrigin-Name:
66576b450a0f0329571e344280994a964c967f8f
drh [Wed, 6 Mar 2013 01:55:27 +0000 (01:55 +0000)]
Fix a bug (ticket [
fc7bd6358f59 ]) that caused incorrect query results in
three way queries that involved comparing INTEGER and TEXT columns for
equality.
FossilOrigin-Name:
7097241c1220ada318f8eda938c3e3430b94a606
drh [Wed, 6 Mar 2013 01:48:20 +0000 (01:48 +0000)]
Add the SQLITE_READONLY_ROLLBACK extended error code.
Do not try to set the permissions on journal or wal files except if the
filesize is initially zero (indicating that it is a new file.)
FossilOrigin-Name:
ce4ac66a4b623a3cee1a63089dd5ba8341244f1e
drh [Wed, 6 Mar 2013 01:41:53 +0000 (01:41 +0000)]
Fix an operator precedence problem on the [
1d8086902e ] check-in.
FossilOrigin-Name:
4f5f3aebe81c3cbe539db3e33ec38fa3de47e90b
dan [Tue, 5 Mar 2013 16:54:45 +0000 (16:54 +0000)]
Merge experimental branch with trunk.
FossilOrigin-Name:
4e6e07a60e543d5d1727cde27ab11e156202a1b8
dan [Tue, 5 Mar 2013 15:27:34 +0000 (15:27 +0000)]
Do not attempt to set the permissions on an existing journal or wal file. Do this only immediately after creating a new file (or opening one zero bytes in size).
FossilOrigin-Name:
1d8086902ee96347491bce5ec04dc92ccd42efa1
dan [Tue, 5 Mar 2013 15:09:25 +0000 (15:09 +0000)]
Add extended error code SQLITE_READONLY_ROLLBACK. Returned if a read-only connection cannot read the database because doing so would require it to roll back a hot-journal.
FossilOrigin-Name:
39247b14a52b0c0222fe5a848bf0aef0854058c4
dan [Tue, 5 Mar 2013 11:27:04 +0000 (11:27 +0000)]
Fix a bug in the recent incremental-vacuum related changes.
FossilOrigin-Name:
717863fca6d58828bf9321bc8b169e385ad4263f
drh [Tue, 5 Mar 2013 01:46:26 +0000 (01:46 +0000)]
Simplified error message on the showdb utility.
FossilOrigin-Name:
8e0ced1af78d8c25a06423a8e7e337ac845155cc
dan [Mon, 4 Mar 2013 17:41:32 +0000 (17:41 +0000)]
Omit a test that uses the progress handler callback from view.test if OMIT_PROGRESS_HANDLER is defined.
FossilOrigin-Name:
f40552ada57622825d2974d392356aa34612d5ee
dan [Mon, 4 Mar 2013 16:35:06 +0000 (16:35 +0000)]
Remove an assert() statement that has been incorrect since the recent incremental-vacuum related changes in [
26e235b7a4 ].
FossilOrigin-Name:
090a47127fde90616a92a324d26bf9ddd4053120
drh [Sun, 3 Mar 2013 20:26:46 +0000 (20:26 +0000)]
Add the test_fs.c test module to Makefile.in. Adjust the success criteria
on index5-1.3 so that it works under auto_vacuum configurations.
FossilOrigin-Name:
b457c8870ac5ef58f2b7f8daed723c0cf0c07340
drh [Sat, 2 Mar 2013 03:25:55 +0000 (03:25 +0000)]
Update comments on the free-page allocator to accurately reflect the
latest implementation. Add new asserts to the free-page allocator.
FossilOrigin-Name:
9a135e37b696b8544da8dbddf9d1041b8fa6f1c2
drh [Fri, 1 Mar 2013 23:40:26 +0000 (23:40 +0000)]
Complete the initialization of the loadable extension thunk table. Also
fix other (harmless) compiler warnings.
FossilOrigin-Name:
780d06c5e54590f677f993fa9c313989c2eab8c7
drh [Fri, 1 Mar 2013 23:24:04 +0000 (23:24 +0000)]
Update the cygwin interface to use the newer 1.7 APIs instead of the
1.5 APIs. Also shorten over-length source code lines in os_win.c.
FossilOrigin-Name:
6b2838336a31e34c540210ccc9c934d4ba94757c
mistachkin [Fri, 1 Mar 2013 23:13:37 +0000 (23:13 +0000)]
Prevent Tcl file encoding issues in the tests for the unicode() and char() functions.
FossilOrigin-Name:
c9c2b82c86fff457a0b32d5be84ec66639065ae1
drh [Fri, 1 Mar 2013 21:01:05 +0000 (21:01 +0000)]
Fix an overly restrictive assert() in the pager.
FossilOrigin-Name:
f476eace86102fd5442cfbba169c18f6ee44eae2
drh [Fri, 1 Mar 2013 15:02:52 +0000 (15:02 +0000)]
Fix the handling of UTF16 surrogate pairs in the char() function.
FossilOrigin-Name:
ff67d87894eeb0036374235c5723e267536909f9
drh [Fri, 1 Mar 2013 01:07:17 +0000 (01:07 +0000)]
Always use strncmp() rather than memcmp() when comparing strings where one
or other string might be less than the length parameter, since optimized
versions of memcmp() might read past the first difference and in so doing
generate an access violation.
FossilOrigin-Name:
d73435587ba7459e2e2c32980d0e17abdeceb4bc
mistachkin [Tue, 26 Feb 2013 18:54:18 +0000 (18:54 +0000)]
In the incrvacuum3 test, add missing call to the Tcl close command.
FossilOrigin-Name:
cd8067238439638bcfd3966d55d2a3990f36d702
drh [Tue, 26 Feb 2013 12:57:42 +0000 (12:57 +0000)]
When comparing names during name resolution, make sure the names match
exactly and that one name isn't merely a prefix of the other.
Fix for ticket [
7a31705a7e6c95d51 ].
FossilOrigin-Name:
c2d5a23b1ab39918e97c596cf75c42f86a5fe2b7
dan [Tue, 26 Feb 2013 06:14:27 +0000 (06:14 +0000)]
Change the way test script incrvacuum3.test copies database files in order to avoid trying to read the (locked) 512 byte 'pending-byte' region.
FossilOrigin-Name:
fa1842e462049b1366909fe36d6d81b634be3953
mistachkin [Tue, 26 Feb 2013 05:44:33 +0000 (05:44 +0000)]
Prevent Tcl file encoding issues in the tests for the unicode() and char() functions.
FossilOrigin-Name:
d2e7dfca5a92074a7984032deb6a4e3681389c72
mistachkin [Tue, 26 Feb 2013 05:42:30 +0000 (05:42 +0000)]
Remove extra use of the sqlite3_value_int64() function.
FossilOrigin-Name:
6d7973524a7d3bf3158fdac58975945da7f51740
drh [Mon, 25 Feb 2013 14:39:47 +0000 (14:39 +0000)]
Add new SQL functions unicode() and char().
FossilOrigin-Name:
be2493905281e12c7f4c146ab17c8872e52da350
drh [Mon, 25 Feb 2013 13:55:59 +0000 (13:55 +0000)]
Strengthen the final test case in index5.test. Also provide additional
diagnostic information out the output.
FossilOrigin-Name:
47b6418242bb2cd718d1a73b0cb73a43ee74e503
dan [Mon, 25 Feb 2013 13:44:56 +0000 (13:44 +0000)]
Fix an error in test script index5.test.
FossilOrigin-Name:
d87e5acf2802d2887e20f79a8bd4990b2cd47b91
dan [Mon, 25 Feb 2013 13:31:30 +0000 (13:31 +0000)]
Merge the incr-vacuum-opt branch with the trunk.
FossilOrigin-Name:
26e235b7a4cd4d0dc9725774d70174c4d369cb98
dan [Mon, 25 Feb 2013 12:06:55 +0000 (12:06 +0000)]
Add test file incrvacuum3.test. No code changes.
FossilOrigin-Name:
bf57534188e044fb341315bfc05b7927e66a04e0
dan [Mon, 25 Feb 2013 07:12:40 +0000 (07:12 +0000)]
Catch a dropped error code in backup.c.
FossilOrigin-Name:
ac8ca3ecee4d81bf522b330033e5d85638063670
dan [Sun, 24 Feb 2013 11:50:43 +0000 (11:50 +0000)]
Fix a case where database corruption may cause an assert() to fail.
FossilOrigin-Name:
ba33bb059ed4f4547da2880dbc8bd827c06fae34
dan [Sat, 23 Feb 2013 19:43:47 +0000 (19:43 +0000)]
Fix a case in the incremental vacuum code where database corruption was going unreported.
FossilOrigin-Name:
4cd30c72629a7f44b18026a70103aa0bb8a3b959
dan [Sat, 23 Feb 2013 19:11:47 +0000 (19:11 +0000)]
Fix a cut-and-paste bug causing the library to fail to report database corruption in a few cases.
FossilOrigin-Name:
f921df59560d536f5b80eef8c995cbe3ff591bae
dan [Sat, 23 Feb 2013 18:58:11 +0000 (18:58 +0000)]
Enhancements to test scripts. No code changes.
FossilOrigin-Name:
ccab94c10d54e585de918bbf82dec188287d93b2
dan [Sat, 23 Feb 2013 17:49:16 +0000 (17:49 +0000)]
Fix off-by-one bug in [
c3939d2491 ] uncovered by th3.
FossilOrigin-Name:
66f9faa9a969d004486ee38d492fb3eda6cdebab
dan [Sat, 23 Feb 2013 16:40:46 +0000 (16:40 +0000)]
If a rollback mode transaction reduces the size of the database file, avoid actually truncating the file until after the transaction has been committed (but before the db has been unlocked). This means pages that are removed from the database by truncating the file need not be journalled.
FossilOrigin-Name:
b73847f17b7ae1298dfc52de6c4c4bc809bc77a3
dan [Fri, 22 Feb 2013 20:57:47 +0000 (20:57 +0000)]
Fix a problem with the previous commit.
FossilOrigin-Name:
720a3ceafc35b81936ed2eb1f07a7187d104f0a0
dan [Fri, 22 Feb 2013 20:16:34 +0000 (20:16 +0000)]
Avoid moving pages more than once in an incremental vacuum operation.
FossilOrigin-Name:
c3939d249119b47bd57baa11a5ed7cc6014fc795
drh [Fri, 22 Feb 2013 19:34:25 +0000 (19:34 +0000)]
Two new SQL functions: unicode() and char().
FossilOrigin-Name:
209b21085b9767f10f6ffb7c7cac756fcb74ded5
drh [Wed, 20 Feb 2013 00:54:21 +0000 (00:54 +0000)]
On Minix, disable the ".timer" command in the shell in order to avoid
calling getrusage().
FossilOrigin-Name:
9bd9bd9cab8c804c1a51d472199459176044a633
drh [Tue, 19 Feb 2013 22:26:51 +0000 (22:26 +0000)]
Enhance the showdb tool with options to show PTRMAP usage and content.
FossilOrigin-Name:
06bd91305ed6752315c5224be5f89e87cafa6687
drh [Tue, 19 Feb 2013 20:25:16 +0000 (20:25 +0000)]
Fix the showdb utility so that it displays the correct secondary usage of
a page when reporting on an error of a page being used more than once.
FossilOrigin-Name:
4507f0b3d409cd14bb2b9c29c92c76aa3ccb22b6
drh [Tue, 19 Feb 2013 18:45:11 +0000 (18:45 +0000)]
Enhance the pgidx of the showdb utility so that it provides better information
even if the sqlite_master table is corrupt.
FossilOrigin-Name:
d14263a719101d9c70054f2fc37e7788f73aab28
drh [Tue, 19 Feb 2013 18:34:45 +0000 (18:34 +0000)]
Do not rollback the schema if a parsing error occurs while parsing the schema
and writable_schema is set.
FossilOrigin-Name:
680d3ab56b578bd4b0170559f9e35615ff43cf2c
drh [Tue, 19 Feb 2013 18:34:12 +0000 (18:34 +0000)]
Truncate over-length source lines in sqliteInt.h to 80 characters or less.
FossilOrigin-Name:
d71abab08518f0be1eb73c7068566ab813652318
drh [Tue, 19 Feb 2013 11:51:27 +0000 (11:51 +0000)]
Add the edit_cost_table= command to the spellfix1 virtual table, permitting
the edit distance cost table to be changed at runtime.
FossilOrigin-Name:
89d6368250f9ba2f49e930bbe5524f3da615ce70
drh [Sat, 16 Feb 2013 02:41:01 +0000 (02:41 +0000)]
Fix an unsafe VM register deallocation.
FossilOrigin-Name:
cfba2c8dadbf1fa6f1602a327933570820a3b134
mistachkin [Fri, 15 Feb 2013 04:21:01 +0000 (04:21 +0000)]
Check for a NULL handle prior to manually calling winClose.
FossilOrigin-Name:
843e1c543aabab8cd62f28742d5818887d36bcb7
drh [Thu, 14 Feb 2013 16:16:05 +0000 (16:16 +0000)]
Verify that the schema has not changed before running PRAGMA table_info,
index_list, index_info, and foreign_key_list.
FossilOrigin-Name:
82952d08f3e3aa80a7f51e80dbc89742cb4a09f0
mistachkin [Wed, 13 Feb 2013 22:54:03 +0000 (22:54 +0000)]
On WinCE, fill in the winFile structure after winceCreateLock has succeeded.
FossilOrigin-Name:
ec13544ce336e8a02b34d574ced5912b06c82c0e
drh [Wed, 13 Feb 2013 14:04:28 +0000 (14:04 +0000)]
Add recent API additions to the extension mechanism.
FossilOrigin-Name:
7e10a62d0eb1cb2bdafb6752b78a9d368e9f21f5
drh [Wed, 13 Feb 2013 01:00:35 +0000 (01:00 +0000)]
Allow an index to be used for sorting even if prior terms of the index
are constrained by IN operators.
FossilOrigin-Name:
2cef8b68f0e1216cf68bb7dd45a5a9a330748070
drh [Tue, 12 Feb 2013 22:20:01 +0000 (22:20 +0000)]
Improve memory allocation error handling on WinCE.
FossilOrigin-Name:
cdbca259da80df901837034d2616da434cb82216
drh [Tue, 12 Feb 2013 22:09:48 +0000 (22:09 +0000)]
A bug report coming from from Firefox
([https://bugzilla.mozilla.org/show_bug.cgi?id=840377])
describes an infinite recursion. We are unable to reproduce the problem.
Nevertheless, this check-in should prevent the problem from ever occurring
again.
FossilOrigin-Name:
b7222a2bd035e7a32dc9416b25a488d9d017aad1
mistachkin [Tue, 12 Feb 2013 09:46:48 +0000 (09:46 +0000)]
Improve memory allocation error handling on WinCE.
FossilOrigin-Name:
09dfc0c915ec2f0c5f633a3485d47cad15eec4dc
drh [Mon, 11 Feb 2013 13:47:39 +0000 (13:47 +0000)]
Add extended error codes for all SQLITE_CONSTRAINT errors.
FossilOrigin-Name:
939d8282748b00a7032cdd72e5d3bf3086ebfc97
drh [Sat, 9 Feb 2013 15:37:11 +0000 (15:37 +0000)]
Rename SQLITE_CONSTRAINT_RAISE to SQLITE_CONSTRAINT_TRIGGER. Put the
extended constraint error codes in alphabetical order. Add many test cases
for the extended constraint error codes.
FossilOrigin-Name:
3f67437536591a1b0742a25b983707933aaa16d5
drh [Sat, 9 Feb 2013 13:58:25 +0000 (13:58 +0000)]
Add extended error codes for constraint errors.
FossilOrigin-Name:
5461104668a49529577f21df97f6a0e7d8f0c679
drh [Fri, 8 Feb 2013 23:18:18 +0000 (23:18 +0000)]
Fix a potential NULL-pointer dereference following an OOM error
in the query planner logic for virtual tables with OR-connected terms.
FossilOrigin-Name:
71b6c26053fdf2a5a84116e005bad1f2ca873a66
drh [Fri, 8 Feb 2013 20:39:02 +0000 (20:39 +0000)]
Make sure the virtual tables that take advantage of IN operators sort the
RHS of the IN operator in the correct order according to the ORDER BY
clause.
FossilOrigin-Name:
b016b7546d6fbfba06019398b9ac239b0cbe9086