danielk1977
758bc07c43
Add a couple of extra tests for the fts3 expression parser to improve mcdc coverage. (CVS 6093)
...
FossilOrigin-Name: 13146b34935d339d7b8379083e024647af07e2c1
2009-01-01 07:42:49 +00:00
danielk1977
5973e6a30b
Add pseudo-random tests of the fts3 expression parser. Revise the fix in (6091). (CVS 6092)
...
FossilOrigin-Name: 11c2d4686197fb3f0d601651d5bbb3492af8f0dd
2009-01-01 07:08:54 +00:00
danielk1977
49b4b4d84a
Fix a bug parsing "<expr> AND (abc NEAR def)" in fts3_expr.c. (CVS 6091)
...
FossilOrigin-Name: d1a6a2edd799d65ff88510df951e909919e35b6b
2009-01-01 04:19:51 +00:00
drh
f3d20c04a2
Avoid surplus bytes at the end of the keyword string table.
...
Add testcase() macros to make sure all keywords are used during
testing. (CVS 6090)
FossilOrigin-Name: 73958060aaf641d93bede3a42851e5b3451f5432
2008-12-31 21:52:40 +00:00
drh
42128b9e33
Fix the name in the documentation of the compile-time macro for
...
enabling FTS3 parenthesis processing. (CVS 6089)
FossilOrigin-Name: ac8258da6ecd3ea37f394dc3b48834eb57832cf4
2008-12-31 19:27:53 +00:00
drh
757b178100
Fix the FTS3 expression parser so that it works in the amalgamation when
...
FTS3 is disabled. (CVS 6088)
FossilOrigin-Name: 7e238e8604b9a9f786d84a47d21c6b42f1585755
2008-12-31 16:27:58 +00:00
drh
aeba020bea
Fix the FTS3 module with parenthesis syntax so that it will work in
...
the amalgamation. (CVS 6087)
FossilOrigin-Name: c2b9891fc05ec05b270f108f61ab81b2df874e01
2008-12-31 16:01:04 +00:00
drh
04bbcd5ce9
Fix a bug in the multi-index OR cost estimator. Remove leftover "breakpoint"
...
commands from test scripts. (CVS 6086)
FossilOrigin-Name: b090d5736d7eaec17a39d3133e1587b1d2a42acb
2008-12-30 17:55:00 +00:00
drh
eb9441eb06
Add LEFT JOIN test cases for multi-index OR in where9.test. (CVS 6085)
...
FossilOrigin-Name: 96f3b62914adde34079f08428b4e2fe81c193612
2008-12-30 16:35:53 +00:00
drh
46129af9fb
Get EXPLAIN QUERY PLAN working with the multi-index OR optimization.
...
Added new test script "where9.test". (CVS 6084)
FossilOrigin-Name: 4b6460221011e02bedb724169e8e4793e539e65a
2008-12-30 16:18:47 +00:00
danielk1977
13da67e5aa
Add further pseudo-randomly generated test cases to where8.test. (CVS 6083)
...
FossilOrigin-Name: e01f6ef9d981d50a70c05edc4ef8135dbc473ba1
2008-12-30 16:13:04 +00:00
danielk1977
c1071e53e7
Fix a bug in where8.test causing a tcl exception. (CVS 6082)
...
FossilOrigin-Name: 495b569a3921042c36667a415c1353201760fa17
2008-12-30 15:51:40 +00:00
danielk1977
9357416a25
Add a few more tests to where8.test. (CVS 6081)
...
FossilOrigin-Name: ac28aa8b618d59628c5b8fc6fe649ec14f554b11
2008-12-30 15:26:29 +00:00
drh
239080fbd5
Still more test cases in where7.test. (CVS 6080)
...
FossilOrigin-Name: eb9ba5fe70df56ee00828f7dbaf71ae6f825737d
2008-12-30 14:40:06 +00:00
drh
1cfdce1c45
Add many new test cases to where7.test. (CVS 6079)
...
FossilOrigin-Name: 174985831f9c8f5c393556d3248b01852573abc7
2008-12-30 14:14:03 +00:00
danielk1977
6e10b39078
Do not run savepoint4.test (crash simulation tests) in permutations.test. It slows things down too much. (CVS 6078)
...
FossilOrigin-Name: 2df02b543edd77282aabff08327c3ab102139a24
2008-12-30 13:21:50 +00:00
danielk1977
5f0ff5d527
Add a couple of extra tests for the "WHERE ... OR" optimization. (CVS 6077)
...
FossilOrigin-Name: 35c87585b81866e73a58adffe6af79ddcac57cf6
2008-12-30 12:00:12 +00:00
danielk1977
992347f2ed
Fix a bug in where.c causing a malfunction when an INDEXED BY clause specified an unusable index on other than the leftmost table in the FROM clause. Ticket #3560 . (CVS 6076)
...
FossilOrigin-Name: f8ff0212129ce602a1e1e9ad702c47b9302f2f21
2008-12-30 09:45:45 +00:00
danielk1977
d597e08b23
Fix a bug in README.tokenizers. Ticket #3559 . (CVS 6075)
...
FossilOrigin-Name: b8898d132e84888dc7c51b2f1ab67f78cc21f31b
2008-12-30 06:36:50 +00:00
danielk1977
ab9b703fde
Invoke the authorization callback when compiling SAVEPOINT, ROLLBACK TO and RELEASE commands. (CVS 6074)
...
FossilOrigin-Name: e49807b16f7f86d3f2290d6c1f7562f3db6330f9
2008-12-30 06:24:58 +00:00
drh
954701a054
Always make sure WhereClause objects are initialized to zero when they
...
are first allocated. (CVS 6073)
FossilOrigin-Name: 7d0ae55d6b2d263382f034eb89bbc368fab6a9bc
2008-12-29 23:45:07 +00:00
danielk1977
fdc4019b46
Add test file where8.test. (CVS 6072)
...
FossilOrigin-Name: bff460ec2c3e250de034a6b34312b897bb2f3749
2008-12-29 18:33:32 +00:00
danielk1977
381a4a4882
Remove an old variable declaration that was commented out using a C++ comment. (CVS 6071)
...
FossilOrigin-Name: 0b972f14f00340cbd4e310dea6d1a4f1c05f5628
2008-12-29 14:51:05 +00:00
danielk1977
f73ab8b8a9
Set the OPFLG_IN1 flag on a couple of extra opcodes. (CVS 6070)
...
FossilOrigin-Name: 03d0350441ef5fa5a9f22fcb0b760200614cf9f9
2008-12-29 10:39:53 +00:00
drh
ca8c4667a8
Multi-index OR optimizer response to ORDER BY rowid.
...
But fix in sqlite3_stmt_status(): report a full table scan
when "ORDER BY rowid" is used without constraints. (CVS 6069)
FossilOrigin-Name: 3464d369d3b6899ec726cf5b42b68b1dac2ba982
2008-12-28 20:47:02 +00:00
drh
294352578e
Optimize WHERE clauses that constain AND, BETWEEN, and LIKE terms as operands
...
of an OR. (CVS 6068)
FossilOrigin-Name: 67cf24b30e087796cfb0fccf47328e72ade5ecdc
2008-12-28 18:35:08 +00:00
drh
6df2acd216
Simplify the VM code that implements WHERE claues. (CVS 6067)
...
FossilOrigin-Name: fa95f843e179a38f663978d675607c4c3037928d
2008-12-28 16:55:25 +00:00
danielk1977
3460d19c85
Fix a problem with savepoint and incremental-vacuum. (CVS 6066)
...
FossilOrigin-Name: 08352f9ea9d2a1759320efc46e418079000855cb
2008-12-27 15:23:13 +00:00
danielk1977
45783d0148
Reset the column cache before coding each step of a trigger program. Candidate fix for #3554 . (CVS 6065)
...
FossilOrigin-Name: a1b1f6cd7d2c060bd75ce39347e1220b872806ed
2008-12-26 07:56:39 +00:00
danielk1977
8044294743
Fix a virtual table related assert() that can fail following a malloc failure. (CVS 6064)
...
FossilOrigin-Name: c6fd3b8f29927c0fc634f82885f144c78f0105d9
2008-12-24 11:25:39 +00:00
danielk1977
a641748220
Fix a couple of problems in test file test_journal.c that were causing segfaults when running all.test. (CVS 6063)
...
FossilOrigin-Name: 416c9efb49ba207a9a79d06d0b13854695a8876c
2008-12-24 09:30:22 +00:00
drh
23d04d5a20
Continuing improvements to the multi-index OR-clause optimizer. Added a
...
few simple test cases. (CVS 6062)
FossilOrigin-Name: 55d4f493e7df8515574a75caec9967d6c71b6012
2008-12-23 23:56:22 +00:00
danielk1977
67ddef6922
Fix a problem with the savepoint code and in-memory journals. (CVS 6061)
...
FossilOrigin-Name: 26ceebf38e7ae7bbda3284995b03f829a2d2493f
2008-12-23 19:15:56 +00:00
drh
3368a24e62
Fix an OOM problem in where.c. (CVS 6060)
...
FossilOrigin-Name: d2105f617eeb04c8177546c45bf6c63e72757f91
2008-12-23 16:23:04 +00:00
drh
30df00983e
Make sure nOverflow is always cleared when a page is released. (CVS 6059)
...
FossilOrigin-Name: 8d0f724477422db05ed46e58ce40a720107384f0
2008-12-23 15:58:06 +00:00
drh
dd5f5a6231
Multi-index OR-clause optimization now works for simple tests. There are
...
no test scripts for it yet, though. And it is disabled by default, pending
further testing and optimization. We need a lot of both. (CVS 6058)
FossilOrigin-Name: d77a702358deddfa9987147999d06a235e730fa9
2008-12-23 13:35:23 +00:00
danielk1977
1f58153a9a
Add a test to savepoint.test that tests that nothing goes wrong if an incremental vacuum occurs inside a savepoint. (CVS 6057)
...
FossilOrigin-Name: fc4f0621535e27eceb0b4b900a8c59dc06e84487
2008-12-23 11:46:28 +00:00
danielk1977
ae74e03e03
In sqlite3AddColumn(), use local variable 'db' instead of 'pParse->db'. (CVS 6056)
...
FossilOrigin-Name: 0c53a4c2da31f91947f1347f1d33d0c83b843d26
2008-12-23 11:11:51 +00:00
danielk1977
a4124bdfb7
Fix a couple of assert() failures that can occur in btree.c and pager.c. (CVS 6055)
...
FossilOrigin-Name: ae44e7482476478c8eeacfb80b282f17894530e5
2008-12-23 10:37:47 +00:00
danielk1977
7974759cb4
Fix a reference counting bug in rtree. Ticket #3549 . (CVS 6054)
...
FossilOrigin-Name: bbdc0e9f2481f8d59e05ea282b615f97e09fb471
2008-12-22 15:04:32 +00:00
danielk1977
8a7adb0dc0
Changes to test scripts so that veryquick.test runs with SQLITE_TEMP_STORE=3 defined. Also a fix to stop the same switch causing a crash in the savepoint code. (CVS 6053)
...
FossilOrigin-Name: ee0e6eae9f984472e44d7ee8f195c6e5d33f2efd
2008-12-22 11:43:35 +00:00
danielk1977
f3107512f7
Add a case to permutations.test to run tests with the test_journal.c backend installed. Also many fixes to test_journal.c and one quite obscure fix to pager.c. (CVS 6052)
...
FossilOrigin-Name: bb177e3072ab61d0af7af91660ebe4dafa487b42
2008-12-22 10:58:46 +00:00
danielk1977
852e232922
Fix a variable type to prevent a warning in the proxy-locking code. (CVS 6051)
...
FossilOrigin-Name: d9595b961800a13c141bebdb8c0a67377f30efad
2008-12-22 03:36:59 +00:00
drh
111a6a7d47
Continue refactoring where.c in preparation for installing OR-clause
...
optimizations. (CVS 6050)
FossilOrigin-Name: 778e91ddb834f6084ecdf3909692b54bb7da8f6d
2008-12-21 03:51:16 +00:00
danielk1977
a0fc72967e
Add a vfs backend that detects problems like the one addressed by (6043) and (6047). (CVS 6049)
...
FossilOrigin-Name: 49172e487610268662c39fc4038032779a41c47f
2008-12-20 18:33:59 +00:00
drh
7f1e8a071f
Do not use long long constants in code. Ticket #3547 . (CVS 6048)
...
FossilOrigin-Name: 51b3bfc3b9628ca4ec754fa7f23aef7302f890ff
2008-12-20 13:18:50 +00:00
danielk1977
ecfef98536
Fix the crash-followed-by-corruption bug revealed by savepoint4.test. This is actually the same bug as was fixed by (6043). The fix was not entirely correct. (CVS 6047)
...
FossilOrigin-Name: 688336266f0aa5630f4f550ae3787a64f39f9cfa
2008-12-20 08:39:57 +00:00
drh
3a5990ab44
Specify type "void" in the parameter list of functions that take no parameters.
...
Tickets #3545 and #3546 . (CVS 6046)
FossilOrigin-Name: c2228bd14ae54b17450f64357bf835d08c447250
2008-12-20 02:14:39 +00:00
drh
1a58fe0290
Enhanced analysis of OR terms in a WHERE clause. Another step toward being
...
able to use indices with OR-connected WHERE clause terms. (CVS 6045)
FossilOrigin-Name: c3f7aa019c613e18457f090685725dd8a6a336b9
2008-12-20 02:06:13 +00:00
danielk1977
47e23024b1
Add extra crash test cases that stress the savepoint mechanism to savepoint4.test. Currently, these tests are causing database corruption which (obviously) needs to be fixed. (CVS 6044)
...
FossilOrigin-Name: e06a968aa5b17ce12ea179b36a99ad74d274fd2c
2008-12-19 18:45:52 +00:00