drh
26d7e7c6b7
Fix a problem in the block-sort logic that can arise if the VDBE opcode
...
array is resized while the block-sort logic is being coded. "make test"
now runs to completion, though there are still 17 failures.
FossilOrigin-Name: 62f3a22050e0f11c789374f8a3785df0a84c24cb
2014-03-19 16:56:58 +00:00
drh
ba194369ad
Avoid reusing temporary registers in co-routines when doing
...
block-sorting.
FossilOrigin-Name: 463d921b519b08648a715e987c430f06b06bae84
2014-03-19 15:17:24 +00:00
drh
ea6c36e204
Make sure the where.c query planner never reports that the number of ORDER BY
...
terms that are satisfied by indices is negative.
FossilOrigin-Name: b186d8d15a10d5e8fcae9ae72e8624d71831f5bd
2014-03-19 14:30:55 +00:00
drh
079a307259
First attempt at getting block-sort to work. This is an incremental check-in.
...
There are many problems still to be worked out.
FossilOrigin-Name: 59742dd4c5259883850044d0938248b009ebd045
2014-03-19 14:10:55 +00:00
drh
ddba0c227e
Make the partial-ORDER-BY information in the query planner available to the
...
SELECT code generator. Still doesn't make a difference in the generated code.
FossilOrigin-Name: e258df236b7de70087c8227cb209080e55b9bf9c
2014-03-18 20:33:42 +00:00
drh
d2de861cbe
Adjust the query planner to keep track of the number of ORDER BY terms
...
satisfied. Still doesn't do anything with this information. Some tests
fail after this check-in, but all failures are believed to be benign. The
failures will be addressed at a later stage.
FossilOrigin-Name: 59d49b7fc49fa290e04a02653e7268c85836b27e
2014-03-18 18:59:07 +00:00
drh
0401acec91
Experiments with the optimization of ORDER BY and GROUP BY clauses.
...
FossilOrigin-Name: b150902579d708b454efd5f8750e26a816f7f1a6
2014-03-18 15:30:27 +00:00
drh
0e682099a1
Clean up some obsolete "register" declarations in printf.c.
...
FossilOrigin-Name: ecd9d3f9453be0bb8e312d8027fd1a9e55882f36
2014-03-17 15:06:57 +00:00
drh
a70a073b3f
Performance enhancements and size reduction for sqlite3VXPrintf()
...
FossilOrigin-Name: eb071eb58cf675bd6cd9dd46aed9d57fbb7a77e8
2014-03-17 14:24:27 +00:00
drh
18c7e40ca3
Fix a harmless compiler warning that crops up with SQLITE_MAX_MMAP_SIZE=0.
...
FossilOrigin-Name: 1277932b7e8bb36c7070ffafbf110a8e128c267b
2014-03-14 11:46:10 +00:00
dan
d88e521f59
Fix an obscure bug causing sqlite3_close() to fail if there are virtual tables on the disconnect list when it is called.
...
FossilOrigin-Name: 6504aa47a8ebb13827be017c4cb4b2dc3c4c55f4
2014-03-12 19:38:38 +00:00
dan
82d25da5b0
Changes to FTS to ensure that it does not access the database from within the xConnect method.
...
FossilOrigin-Name: c67a52c356416cc200f51f9168d942e78db11d34
2014-03-12 19:20:36 +00:00
dan
87af14a639
Prevent the rtree module from reading sqlite_stat1 data from the wrong database.
...
FossilOrigin-Name: 7ce03c1b5552d830300575c5b41a874db7a2ec77
2014-03-12 12:44:46 +00:00
drh
468108628c
Version 3.8.4.1
...
FossilOrigin-Name: 018d317b1257ce68a92908b05c9c7cf1494050d0
2014-03-11 15:27:36 +00:00
drh
8073c70b33
Update version number to 3.8.4.1
...
FossilOrigin-Name: 33f5694fa42d9a521ca081de4ddd1e9dc8952b16
2014-03-11 15:25:43 +00:00
dan
3afca7d18c
Add a test to see what happens if an rtree constructor encounters an SQLITE_BUSY error. No changes to code.
...
FossilOrigin-Name: 5527e23636eee192030f6a3c41628030b6c50bb8
2014-03-11 09:19:26 +00:00
drh
89212fb9f9
Adjustments to the cost computation for the skip-scan query plan, to take
...
into account the fact that a seek has to occur on each skip.
FossilOrigin-Name: 0769eebd028ce31375cf93509a1d3687f7b117eb
2014-03-10 20:12:31 +00:00
drh
b06a4ec1f0
Attempt to work around MSVC's treatment of __LINE__ as a non-constant value
...
in "Edit and Continue" mode by avoiding the use of __LINE__ when
SQLITE_VDBE_COVERAGE is not defined.
FossilOrigin-Name: 0a5318bc272b844e937cb1df3a07224034bc3450
2014-03-10 18:03:09 +00:00
drh
55aeee4b48
Version 3.8.4
...
FossilOrigin-Name: 530a1ee7dc2435f80960ce4710a3c2d2bfaaccc5
2014-03-10 12:20:37 +00:00
dan
b72cad14d0
Fix a bug causing "SELECT char()" to return SQLITE_NOMEM.
...
FossilOrigin-Name: ba39df9d4f7ffc6475ae0dc794f7d3f58c486de8
2014-03-08 19:07:03 +00:00
drh
f3ccc38a69
Improved comment on the pager.c PERSIST rollback journal delete logic
...
inside of hasHotJournal(). No changes to code.
FossilOrigin-Name: e5b17a9d07a35c9b44ff977ba81b93d745d26a11
2014-03-07 14:57:07 +00:00
mistachkin
eb443925ef
Revise change from the previous check-in to clarify the situation when handling open journal files, regardless of journal mode.
...
FossilOrigin-Name: 1c318ef3b76e9a9a5ff2f156a9acddfc1bda0949
2014-03-07 03:31:35 +00:00
mistachkin
8879481868
Avoid calling sqlite3OsDelete() on a file that is open, since this causes Windows to run *very* slowly. Comes up on error recovery in journal_mode=PERSIST.
...
FossilOrigin-Name: fdc651e2ec7a0babee669e24fd56632e7cd5f0e9
2014-03-07 02:29:56 +00:00
dan
f0ec2a5ea7
Do not run corruptH.test in mmap mode.
...
FossilOrigin-Name: c0d54b4e41cba84dc5934e0fcd03fe422fe5c92b
2014-03-06 18:16:45 +00:00
drh
fe70510aa7
Improved EXPLAIN indentation of a loop in the ANALYZE logic for STAT4.
...
Mark the not-found jump of a seek operation in that loop as never taken.
FossilOrigin-Name: 0a4200f95cf46ad620b9fd91f4444114a0c74730
2014-03-06 13:38:37 +00:00
dan
0df163a9f0
Remove a branch that is never taken from where.c.
...
FossilOrigin-Name: 4a4997221f3d61c1411a993053b40c787beea736
2014-03-06 12:36:26 +00:00
mistachkin
378d01aa94
Cosmetic change to the shell in-memory database warning to skip coloring the trailing period.
...
FossilOrigin-Name: c87d8e07ec596d5f0ef3003cfeb226d4b7c49549
2014-03-06 02:15:42 +00:00
drh
b6e8fd105c
Fix some incorrect comments and typos in comments. Add testcase() macros
...
to some of the new record comparison code.
FossilOrigin-Name: b83cfe899d84fe9d61540e9984321ca30401638c
2014-03-06 01:56:33 +00:00
mistachkin
62117159d0
Better loadable extension handling in the Win32 VFS when compiled for Cygwin.
...
FossilOrigin-Name: 29b0a4f158785449b6f3da6fcceeb63442c9711c
2014-03-06 00:30:27 +00:00
mistachkin
0d71d121ae
Better support for MinGW 4.x.
...
FossilOrigin-Name: 170e0585202eec6882e9513eba05e6d5767bfc5b
2014-03-06 00:28:57 +00:00
drh
dc90d3d8af
Always include the ctype.h header in the spellfix.c extension.
...
FossilOrigin-Name: bfd75f471a607b442d8cd8a7070491a158e8fb1a
2014-03-05 19:36:52 +00:00
dan
a6eaa635cc
Avoid running a couple of test cases that use realloc() extensively if SQLITE_MEMDEBUG is defined.
...
FossilOrigin-Name: e406d4bb786a34cdd5dd23ed39f35dfce3e1cabd
2014-03-05 19:13:32 +00:00
drh
fc5717cc99
Fix a harmless compiler warning on MSVC.
...
FossilOrigin-Name: 0723effc9ccae7c660fb847b36ce9324e0cb5042
2014-03-05 19:04:46 +00:00
dan
03af2168db
Add SQLITE_OMIT_CTE to the list of compile options that might be returned by "PRAGMA compile_options".
...
FossilOrigin-Name: f33f2b3f924347e3da26741d153749330cb645ec
2014-03-05 17:29:34 +00:00
dan
13ef14afc1
Add tests to join.test to verify that it is not possible to use more than 64 tables in a join.
...
FossilOrigin-Name: ef1a998625e1fc051732228844388d6c59665382
2014-03-05 16:15:07 +00:00
drh
6d1626eb7c
Count the number of elements in a SrcList object using an "int" rather than
...
a "u8", to avoid overflows and to work around an issue in the C compiler on
AIX.
FossilOrigin-Name: eee2a13f2caa48b7b8a693680edc2bbc9275292c
2014-03-05 15:52:43 +00:00
dan
1496566560
Add a test case for the problem fixed by [1d134ba2ed].
...
FossilOrigin-Name: d4fbc05df9501a09623d420fcd5b2bce3a57201b
2014-03-05 15:04:36 +00:00
drh
817492630a
When converting a result type from TEXT to BLOB using the
...
sqlite3_value_blob() interface, continue to report SQLITE_TEXT as
the true type from sqlite3_value_text() as long as that text is still
valid. The maintains legacy behavior from before the noMemType change.
FossilOrigin-Name: 1d134ba2edbdb8c0cf9e99590a69cd17e0b874a9
2014-03-05 14:40:22 +00:00
drh
b1a1c29a07
Separate the column NULL value constant into a separate routine for greater
...
commonality with the sessions branch.
FossilOrigin-Name: 12cbebb997705e37769460e00a4aaa52c12f305e
2014-03-05 12:47:55 +00:00
dan
ef4668bc05
Remove the redundant memType field from struct Mem.
...
FossilOrigin-Name: 9e8528578966e4f1a16d63333de648fd8cdaf0f2
2014-03-05 11:48:35 +00:00
dan
d520041bc0
Do not run corruptI.test with the mmap permutation.
...
FossilOrigin-Name: 378b290da85cadc1acba081322d1f0e8d7694e17
2014-03-05 11:22:33 +00:00
mistachkin
afc14f72ef
Experimental simplification of memory flags/type handling.
...
FossilOrigin-Name: bac2820e13a79d91d0f8938c643134a9d6900327
2014-03-05 01:29:18 +00:00
drh
19c6d96aec
Avoid indexing off the front end of an array when creating a view with
...
two or more blank column names in the SELECT statement that defines the view.
FossilOrigin-Name: 554501f158534f9c27fd51900589c2ab7cf300d8
2014-03-04 21:19:51 +00:00
dan
052c6784ee
Fix a problem with "DEFAULT (-(-9223372036854775808))" clauses in ALTER TABLE ... ADD COLUMN commands.
...
FossilOrigin-Name: e072cb3ee2a03d786c08230cecc6e970de2cec5b
2014-03-04 21:00:20 +00:00
drh
d1053a4314
Fix a potential memory use-after-free problem following an OOM error.
...
FossilOrigin-Name: 767ccb1fa11b3e7b895fb8c2e91f79e3b4202907
2014-03-04 18:06:04 +00:00
drh
ed79b45cf7
Fix an assert() so that it takes OOM errors into account.
...
FossilOrigin-Name: 53f6ec792f5f62fcdbf25e0fce5545dd1c3048a4
2014-03-04 16:21:18 +00:00
dan
a4660bd695
Ensure that BtreeMovetoUnpacked() does not try to invoke xRecordCompare when it is set to NULL.
...
FossilOrigin-Name: 2879234b7c373be422af3fe180cae9840943e29a
2014-03-04 16:05:25 +00:00
drh
5f1d536b53
Improve clarity of presentation in the sqlite3VdbeMemFromBtree() routine.
...
FossilOrigin-Name: 9830c343bc954b828f6ca752f8ae63e2c0a980c1
2014-03-04 13:18:23 +00:00
mistachkin
b64fa0adf7
Fix comment in test.
...
FossilOrigin-Name: 1e57f67b20a1c01ede36d684be628e9270bf109a
2014-03-04 12:07:24 +00:00
mistachkin
ad4b262545
Fix minor typos in the new test file.
...
FossilOrigin-Name: 3cbb9b1b4f8c5c2735799e84dc80614586222cd2
2014-03-04 11:54:35 +00:00