mistachkin
441aa095ed
Enhance the VSIX package creation tool to better support Visual Studio 2013.
...
FossilOrigin-Name: c1fb04f61eb74d80d1b7607ae6904fe2e1717988
2014-05-06 21:26:34 +00:00
dan
5a7dbc70ea
Add a little extra variety to the tests in sort4.test.
...
FossilOrigin-Name: 7de6aee6a5cb5c7f89dced89f2ebf38f8be7a4fa
2014-05-06 16:21:30 +00:00
dan
dfea45330e
Re-implement the core of the multi-threaded sorter tests in sort4.test using C. Run each test in sort4.test ten times, or repeat all tests for 300 seconds as part of the "multithread" permutation test.
...
FossilOrigin-Name: 208b2b04d4d282bec4424ea7160a123ba549d118
2014-05-06 15:38:07 +00:00
mistachkin
897f6833fc
Refactor VSIX package creation tool to better support Visual Studio 2013.
...
FossilOrigin-Name: 8be166af239cbdaff3937c4003a6dc6e8a96e53a
2014-05-06 00:09:46 +00:00
mistachkin
75cc2f7a14
Merge updates from trunk.
...
FossilOrigin-Name: 668ed76ac6cfd5810aea7319c752d77fafaab319
2014-05-05 22:50:19 +00:00
mistachkin
7dd9fb65e2
When building for Windows 8.0 using Visual Studio 2013, make sure the cross-compilation native library path is set correctly.
...
FossilOrigin-Name: c1ab9092e29bc9d172c1f1a3becbcc83b79f2080
2014-05-05 22:43:17 +00:00
mistachkin
220942b757
More modularization work on the MSVC batch build tool.
...
FossilOrigin-Name: 9a06773acc181e981f61f476a8e56417b98beba9
2014-05-05 21:08:47 +00:00
mistachkin
2347e3b1bb
Merge updates from trunk.
...
FossilOrigin-Name: eaa8fc810fcff8171b6c5cff8c661a6faf0e023b
2014-05-05 20:35:44 +00:00
drh
44a3ba7123
Create new header file "os_setup.h" used to detect the operating system
...
at compile-time, and "os_win.h" that contains windows-specific header in
formation.
FossilOrigin-Name: bd92e0f80c1158d810b0d47e38f2fe06ff24bb8c
2014-05-05 20:32:15 +00:00
mistachkin
f6a2342651
Work on cleaning up the MSVC batch build tool integration with Visual Studio 2013.
...
FossilOrigin-Name: b5a72dfd59fba6a9938ac1afdec06a2e6809fd2d
2014-05-05 20:24:34 +00:00
drh
1a8a0d3f1a
Attempt to fix the build on beagleboard.
...
FossilOrigin-Name: 3ac75725a66730566105ad184a988a8f80f51055
2014-05-05 20:21:52 +00:00
dan
449cb9a5af
Add test file sort4.test, containing brute force tests for the multi-theaded sorter.
...
FossilOrigin-Name: 9cc364c42cc64ab7b55b5c55e303fb63a456cf00
2014-05-05 20:03:50 +00:00
mistachkin
c254ff62c1
Centralize and reform use of the Win32 related include files.
...
FossilOrigin-Name: 857f2baf9b722e4eb1ac0d50fe03e32d5176185b
2014-05-05 18:24:47 +00:00
mistachkin
bd6e51c0f9
Merge updates from trunk.
...
FossilOrigin-Name: 6f07f20e41446212a86989a5e6ce7f12998a3ae3
2014-05-05 17:49:16 +00:00
mistachkin
0e56c52e1d
Merge updates from trunk.
...
FossilOrigin-Name: a3cfd81339267c87db511cedf35ec209ee1f1a72
2014-05-05 17:45:44 +00:00
mistachkin
fdf9f045b7
Fix several header file comments. No changes to code.
...
FossilOrigin-Name: dd6eb5d1eb4d50023a008fac116497ede29600c1
2014-05-05 17:43:28 +00:00
dan
0d3a4085e5
Fix a race condition in the sorter code.
...
FossilOrigin-Name: 2d2edfe58db101d42a96772b856e6e55b401aab6
2014-05-05 15:58:40 +00:00
dan
d94d4ee7bd
Add tests so that the "coverage-sorter" test permutation covers all branches in vdbesort.c. Fix a few minor problems in the same file.
...
FossilOrigin-Name: bde28b702dabd02269e333535cc41481351c5efc
2014-05-05 09:08:54 +00:00
dan
f7f425d600
Add an extra fault-injection test to sortfault.test. Remove an unreachable branch from vdbesort.c.
...
FossilOrigin-Name: a33a366ba8a0da81ddd895d552a348441ef8529a
2014-05-03 20:43:13 +00:00
dan
e18e90ebaf
Fix a race condition in the sorter.
...
FossilOrigin-Name: 32ccf3ae18531682dfd039fa8df6ad9a907ac455
2014-05-03 19:33:00 +00:00
dan
0d51def29e
Fix a problem in the sorter causing it to return spurious SQLITE_NOMEM errors when configured to use memsys3 or memsys5.
...
FossilOrigin-Name: 3a66c4e1bf311d38668dfcdcd77867feff6db7bd
2014-05-03 14:28:14 +00:00
drh
2fc7bc08bd
Get SQLITE_MUTEX_STATIC_APP1 and _APP2 working for the debugMutex
...
implementation.
FossilOrigin-Name: f49ba1c926c63ee1c4609930138389fca182c845
2014-05-03 13:53:37 +00:00
drh
7bd3c89114
Add two new static mutexes, SQLITE_MUTEX_STATIC_APP1 and _APP2, for use by
...
the application program. First intended use is in test programs for the
memory allocation logic where one does not want to allocating a _FAST
or _RECURSIVE mutex since that would involve using the memory allocation
system under test.
FossilOrigin-Name: 13686035dd1cf67ad9c6d282ab13c3259e7273d1
2014-05-03 12:00:01 +00:00
drh
a09c8855b7
Add the SQLITE_DEFAULT_WORKER_THREADS compile-time option.
...
Fix a NULL-pointer dereference that can occur following OOM.
FossilOrigin-Name: e0dea89b3e9f295f80210fcca007681bf1b08692
2014-05-03 11:22:09 +00:00
mistachkin
72de9addc7
Enhance the Win32 VFS I/O retry logic.
...
FossilOrigin-Name: 4760504396bcf44528eb8de9ed7aa5d9659c54b6
2014-05-02 22:39:54 +00:00
mistachkin
b91ca38514
Merge updates from trunk.
...
FossilOrigin-Name: 598a3875ce98015e9a38db54bd0cb6290424c3d8
2014-05-02 21:42:31 +00:00
mistachkin
4a11505be9
Merge updates from trunk.
...
FossilOrigin-Name: c4d1d8a0db48f523d1624f2468261c171152c0f7
2014-05-02 21:38:02 +00:00
mistachkin
e500747cfe
Fix typo in Windows makefile. Make sure the WaitForSingleObjectEx system call is always available.
...
FossilOrigin-Name: d7ed529fa2aa5cb13edaabca2acaad06dffef569
2014-05-02 19:12:37 +00:00
drh
84de690b4f
Do not run the vdbeRecordCompareDebug() assert if pKeyInfo->db is NULL since
...
in that case there would be no way to check for a memory allocation failure.
FossilOrigin-Name: 63ed2d6acb82be8a74dbf6a61388be6da6113985
2014-05-02 18:46:52 +00:00
dan
2ae56f50ce
Merge orderby-planning with this branch.
...
FossilOrigin-Name: d9549de31741239ece060e448b592ce8fc5b8042
2014-05-02 18:05:38 +00:00
drh
79211e194d
Simplify assert() statements used to verify correct operation of
...
record comparison routines.
FossilOrigin-Name: 3300d62dcbe74842cf86ca436959fe4e77a89f84
2014-05-02 17:33:16 +00:00
dan
a7bf23c6b5
Fix some broken asserts in btree.c and vdbeaux.c that may fail following an OOM error.
...
FossilOrigin-Name: e15f47064bef431c0afd8bf93eb4e160c23ad562
2014-05-02 17:12:41 +00:00
drh
c7f6c148d9
Failure to extend a temp file for use with mmap() in vdbesort.c is benign.
...
FossilOrigin-Name: d4d396387d373bd1e82eda2c7c2e7ca35ec099c4
2014-05-02 16:22:55 +00:00
dan
012e133772
Remove a faulty assert() from vdbesort.c.
...
FossilOrigin-Name: d95d68aa1d14b750888d50068380cc107f9070df
2014-05-02 16:03:57 +00:00
drh
7a0fd192cc
Fix a faulty assert() statement.
...
FossilOrigin-Name: 9196ce407379ca3b151b601b98848771e5cb4e8f
2014-05-02 15:25:24 +00:00
dan
a153643b07
Fix a broken test case in fuzz.test.
...
FossilOrigin-Name: faa469355eabb2c407f24638b090725448aac37f
2014-05-02 14:54:56 +00:00
drh
fb0d6e56d6
Merge latest trunk enhancements and fixes into the orderby-planning branch.
...
FossilOrigin-Name: 84862d3a095629d20c8e7b8a16f4dc26cd41ab6d
2014-05-02 13:09:06 +00:00
drh
e724d3d26a
Add a comment explaining why WhereLoop cost adjustments are omitted for
...
skip-scan loops.
FossilOrigin-Name: 3bc43594aaeee9225c0590677fcce480bedcb37b
2014-05-02 00:09:40 +00:00
dan
3852413246
Fix an obscure problem to do with temp register allocation that could occur if more than one simple SELECT within a compound SELECT uses a partial sort.
...
FossilOrigin-Name: 427409ae106cdab7892a6b50fe30c5f52de5addc
2014-05-01 20:26:48 +00:00
drh
c5f246eb37
Add #ifdefs for test coverage. Add a testcase().
...
FossilOrigin-Name: be2702ce35c713b33c9b7689643b45fb0de6af2a
2014-05-01 20:24:21 +00:00
dan
e03d76254c
Update a test case in wal2.test that explicitly corrupts a checksum in the wal file to account for the fact that the first byte of said checksum may initially be 0xFF.
...
FossilOrigin-Name: 2b935bdea1452505f36dc8c7aad49e6c42f4eceb
2014-05-01 10:19:16 +00:00
drh
57fe136b23
Take out the special handling of nolock=true in os_win.c and add it to
...
pager.c, so that it works for all VFSes. Add the pPager->noLock boolean
for clarity.
FossilOrigin-Name: 725c1c14be331bce9bf074960dbfa7b6d4c1ba87
2014-05-01 01:49:22 +00:00
drh
48cdabcb1a
Avoid unnecessary xUnlock operations on temp file.
...
FossilOrigin-Name: 1829c38c3233c8cb194fae6d560d35a8916b1348
2014-05-01 01:20:05 +00:00
drh
d1ae96d39e
Add the immutable=TRUE query parameter and SQLITE_IOCAP_IMMUTABLE, either
...
of which prevents locking of the database and omits tests for existance
of journal files.
FossilOrigin-Name: 71f152c85d79ebd9ca48bc9c4c71fc4debaf2437
2014-05-01 01:13:08 +00:00
drh
fb4c9242a5
Merge in all recent changes and enhancements from trunk.
...
FossilOrigin-Name: 84243f844417f888ab731841f7dbf95749f6e034
2014-04-30 20:32:41 +00:00
dan
5da73e1a09
Fix a problem in calculating the costs of "OR" scans.
...
FossilOrigin-Name: 9bbca48b42e4fe16f2188e18dc736da30a96435c
2014-04-30 18:11:55 +00:00
dan
4243e27f22
Modify the way the costs of various query plans are estimated. If the user supplies a likelihood() value (or equivalent) on an indexed WHERE constraint, use it to estimate the number of index rows visited.
...
FossilOrigin-Name: 90e36676476e8db00658772e6c938242f766d306
2014-04-30 15:22:25 +00:00
dan
8164722c58
Add text to the header comment of whereLoopAddBtree() describing how the costs of various b-tree loops are estimated.
...
FossilOrigin-Name: 05e6e16cb28c9ffb4596bd2ef81f687c5403ecbb
2014-04-30 15:00:16 +00:00
dan
75525cbe24
Update a couple of test cases to account for the fact that this branch prefers an index scan and partial sort over a full-table scan and full external sort.
...
FossilOrigin-Name: 9b975bf33cd8fc28c64183a9642bf9fb436a4746
2014-04-30 14:53:21 +00:00
dan
4a6b8a05cd
Fix a couple of out-of-date comments in where.c.
...
FossilOrigin-Name: eefeda32d54efbbdf7d20b719299eda48b891fae
2014-04-30 14:47:01 +00:00