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
danielk1977
488af09972
Add some crash-tests for savepoint. Fix a bug revealed by these tests. (CVS 6043)
...
FossilOrigin-Name: 6f36c16678b6e3baa5a9d9ceba1a756a8034f3e1
2008-12-19 16:31:11 +00:00
danielk1977
d34c03a946
Add the file ext/fts3/README.syntax, containing documentation describing the two query syntaxes now supported by fts3. (CVS 6042)
...
FossilOrigin-Name: ed81ad5a5d22304a4d96e778e8e9094f74c461c0
2008-12-19 11:37:38 +00:00
drh
233a531ba7
Fix the Oracle and MS-Sql command-line terminator logic in the CLI.
...
Ticket #3544 . (CVS 6041)
FossilOrigin-Name: dcc8935fa0ccf86648c22818823bf1daef8f3939
2008-12-18 22:25:13 +00:00
danielk1977
34cf35dac4
Increase test coverage of new savepoint code. (CVS 6040)
...
FossilOrigin-Name: d915718d0b346982d686d131a159b67e28fc02a8
2008-12-18 18:31:38 +00:00
danielk1977
12dd54962d
Add savepoint2.test, a file containing savepoint tests similar to tests in trans.test and avtrans.test. And a few savepoint bug fixes. (CVS 6039)
...
FossilOrigin-Name: 98a53d91f6c0c2692d3b56687fdaba8eeab0959d
2008-12-18 15:45:07 +00:00
danielk1977
78d41832fc
Fix a bug in icuOpen() in fts2. (CVS 6038)
...
FossilOrigin-Name: b9c722bd96b44e0fabd1564ddd982d2aabb7047c
2008-12-18 05:30:26 +00:00
drh
700a22612b
Update the WHERE clause processing infrastructure in preparation for adding
...
multi-index OR evaluation. (CVS 6037)
FossilOrigin-Name: 78401b33febf678cfeec2a35514eb4172de420ab
2008-12-17 19:22:15 +00:00
danielk1977
fd7f045225
Add the savepoint feature. This feature is largely untested at this point. (CVS 6036)
...
FossilOrigin-Name: 34b56600ec0c5cd7b5faab265750252bc9850e3e
2008-12-17 17:30:26 +00:00
danielk1977
f0f9f75443
Fix some strict-aliasing problems in fts3_expr.c. (CVS 6035)
...
FossilOrigin-Name: 20a4ca5d361ecbb982129171f10cccac4f5ad093
2008-12-17 15:49:51 +00:00
danielk1977
33e8903540
Modify fts3 to support a more complex expression syntax that allows parenthesis. The new syntax is not entirely backwards compatible, so is disabled by default. Use -DSQLITE_ENABLE_FTS3_PARENTHESIS to enable it. (CVS 6034)
...
FossilOrigin-Name: 7389b9ecb80294569845c40a23e0c832d07f7a45
2008-12-17 15:18:17 +00:00
drh
66f7d87bfc
Version 3.6.7 (CVS 6033)
...
FossilOrigin-Name: f4f40370fb83d677df3fbf2c51c4bb4a3e5ccc7a
2008-12-16 18:15:58 +00:00
shane
153015969b
Fix a compile error in an assert() and a warning with MSVC builds. (CVS 6032)
...
FossilOrigin-Name: 8b8f6a6ab597e06e60557ab56c6ee7f8522ed570
2008-12-16 17:20:38 +00:00
drh
66e8008404
Make sure the memory returned from sqlite3ScratchMalloc() is 8-byte aligned.
...
Ticket #3542 . (CVS 6031)
FossilOrigin-Name: 13b56b7ff97c3abc116dae934f6d1330bbb7762d
2008-12-16 13:46:29 +00:00
drh
49c3d5735d
New hyperlinks added to C interface documentation. No changes to working code. (CVS 6030)
...
FossilOrigin-Name: 230cb68e07ec791fa4a46dee8506716d52a99426
2008-12-15 22:51:38 +00:00
drh
a4835e9a45
Add test cases that verify evaluation of randomly generated SQL expressions. (CVS 6029)
...
FossilOrigin-Name: 4685ffccd37456fc527a7f7178885a060b474ad8
2008-12-15 16:33:29 +00:00
drh
e99fa2af71
Convert the "~" and "NOT" operators to be two-address instructions.
...
Ticket #3541 . (CVS 6028)
FossilOrigin-Name: ea9b747efb22fd3f679c3ef86ed51986c5ad9436
2008-12-15 15:27:51 +00:00
danielk1977
01ecbeeb57
Add the example from #3359 to the test suite. (CVS 6027)
...
FossilOrigin-Name: 84f8417c0794d3e5cec88f59ea71a7d557044409
2008-12-14 14:45:20 +00:00
drh
e13fab3ccf
Fix the name of the source algorithm in the comments of the script generators
...
for the recently checked-in test cases for integer boundary-value testing. (CVS 6026)
FossilOrigin-Name: adba0f3c01ba2407466d0120c411c398218bdaeb
2008-12-14 02:55:16 +00:00
drh
0dc5124391
Add many new integer boundary value tests. Ticket #3536 . (CVS 6025)
...
FossilOrigin-Name: 45277238d355caa1fbeea67c6c6d1a8f231eabda
2008-12-12 19:19:22 +00:00
drh
959403f894
Rework the rowid lookup logic in the query optimizer to fix various
...
boundary value problems. Ticket #3536 . Renamed the OP_MoveXX opcodes
to OP_SeekXX. (CVS 6024)
FossilOrigin-Name: e545490a2828f7f703172dda6d2b9f3342dc134a
2008-12-12 17:56:16 +00:00
drh
bfbfadb43a
Previous change to the OP_ForceInt opcode did not work correctly when the
...
input is a negative floating point value. This change is the fix.
Ticket #3536 . (CVS 6023)
FossilOrigin-Name: f6c50f357c302907a5398c551a5c596f7d305031
2008-12-11 20:03:22 +00:00
drh
b952676e08
Make sure the OP_ForceInt vdbe opcode does not cause a rowid overflow.
...
Ticket #3536 . Tests to verify this change will be checked in separately. (CVS 6022)
FossilOrigin-Name: 6a049c6595550c123e77199cf7f3898bfcf40c86
2008-12-11 19:50:18 +00:00