drh
ec4d88fab5
Change a parameter type from "int" to "DWORD" in the windows interface.
...
Ticket #2122 . (CVS 3540)
FossilOrigin-Name: cca1eb3dfaa67d64ced3e49e7ddbd8db27a5526a
2006-12-21 00:46:42 +00:00
drh
644a5299aa
The xFilter method is not optional. (CVS 3539)
...
FossilOrigin-Name: 6fdbd3bc91559ed95314842c0df33adbf276913e
2006-12-20 14:53:38 +00:00
drh
3f87d2a37e
Initialize a variable to avoid compiler warnings and human confusion.
...
Ticket #2117 . (CVS 3538)
FossilOrigin-Name: 951af8d5c57d665ee2ad3ee09ce34c023aa9e771
2006-12-20 14:31:24 +00:00
drh
3c7a1580c9
Patch to get extension loading working on wince. Ticket #2023 . (CVS 3537)
...
FossilOrigin-Name: a81f3ddfd0626ae642c5ffd27a23c568d06f58dc
2006-12-20 03:37:34 +00:00
drh
cc19254de9
The query optimizer does a better job of optimizing out ORDER BY clauses
...
that contain the rowid or which use indices that contain the rowid.
Ticket #2116 . (CVS 3536)
FossilOrigin-Name: f245f5c2c2d337fe6458824beb7f9e721837765f
2006-12-20 03:24:19 +00:00
drh
2b7acc3551
Allow constraint names on DEFAULT values in a table definition.
...
Ticket #2109 . (CVS 3535)
FossilOrigin-Name: 893d58c23da2a9b900a13eaa5202d94429862136
2006-12-20 02:15:00 +00:00
drh
f533acc0a7
Build without warnings and pass all tests with SQLITE_OMIT_LOAD_EXTENSION.
...
Ticket #2113 . (CVS 3534)
FossilOrigin-Name: c3d118b40811b201e4a98b62549c5439d7d5098d
2006-12-19 18:57:11 +00:00
drh
cf68ae91ea
Fix a typo in shell.c. Ticket #2111 . (CVS 3533)
...
FossilOrigin-Name: 6f8a56231c4d0d990c54365f0ff0544bd8b3caf8
2006-12-19 18:47:41 +00:00
drh
9404d50e3b
Use sqlite3_mprintf() instead of strdup() to reduce libc dependencies.
...
Ticket #2114 . (CVS 3532)
FossilOrigin-Name: bf4a78cb315c0b1fca31c6f596ff0a8ece96860f
2006-12-19 18:46:08 +00:00
drh
d3627afc47
Speed improvement: do not journal or rollback pages that are pulled out of
...
the freelist. (CVS 3531)
FossilOrigin-Name: 4dffc4c3c9c4ccc024669cec204c68e953333563
2006-12-18 18:34:51 +00:00
drh
73aa096f36
Updates to the "Distinctive Features" document. (CVS 3530)
...
FossilOrigin-Name: c734585e1a801bec2d393d000c323ba842c2292d
2006-12-18 14:12:21 +00:00
drh
61dfc31d80
Query optimizer enhancement: In "FROM a,b,c left join d" allow the C table
...
to be reordered with A and B. This used to be the case but the capability
was removed by (3203) and (3052) in response to ticket #1652 . This change
restores the capability. (CVS 3529)
FossilOrigin-Name: 7393c81b8cb9d4344ae744de9eabcb3af64f1db8
2006-12-16 16:25:15 +00:00
drh
f0fa1c1b9f
Fix a bug in lemon that leads to an assertion fault given an invalid
...
grammar. The bug and this fix do not effect on SQLite. Ticket #2107 . (CVS 3528)
FossilOrigin-Name: f2ad230f6dce98d664370d77845b5f585de20f08
2006-12-14 01:06:22 +00:00
drh
736c7d4b2c
Change the table_info pragma so that it returns NULL for the default
...
value if there is no default value. Ticket #2078 . (CVS 3527)
FossilOrigin-Name: 5f21c3a5f02b4f2c4550f5904e9d0e1e2eafb0f3
2006-11-30 13:06:37 +00:00
drh
741f70633d
Improvements to the new performance tests. (CVS 3526)
...
FossilOrigin-Name: 27f56c20514030e009fc3aa7e060d2e6276ddb83
2006-11-30 13:06:00 +00:00
drh
1468438a8e
Fix indentation typo in btree.c. (CVS 3525)
...
FossilOrigin-Name: 5d61486f0fbd21ef992879b39d4e563fbfe46596
2006-11-30 13:05:29 +00:00
shess
f7912aff8a
Drop a couple variables which are no longer used anywhere. (CVS 3524)
...
FossilOrigin-Name: 08c2cc0e0782cfaca89947a01b7ea4474dbe71aa
2006-11-29 23:41:10 +00:00
shess
d53f898f51
Test that terms longer than interior nodes work correctly. A bug
...
prior to fts2.c r1.10 meant that such large terms caused an eventual
stack overflow. (CVS 3523)
FossilOrigin-Name: 66581162daa188d23078c9d21fd5b2563d4d238a
2006-11-29 21:03:00 +00:00
drh
abcddedb37
Added the speed1.test script (CVS 3522)
...
FossilOrigin-Name: 30355dfbd920f3b6a78110aaf370371f620324b7
2006-11-29 20:52:59 +00:00
shess
5c327dbb46
http://www.sqlite.org/cvstrac/tktview?tn=2046
...
The virtual table interface allows for a cursor to field multiple
xFilter() calls. For instance, if a join is done with a virtual
table, there could be a call for each row which potentially matches.
Unfortunately, fulltextFilter() assumes that it has a fresh cursor,
and overwrites a prepared statement and a malloc'ed pointer, resulting
in unfinalized statements and a memory leak.
This change hacks the code to manually clean up offending items in
fulltextFilter(), emphasis on "hacks", since it's a fragile fix
insofar as future additions to fulltext_cursor could continue to have
the problem. (CVS 3521)
FossilOrigin-Name: 18142fdb6d1f5bfdbb1155274502b9a602885fcb
2006-11-29 05:17:28 +00:00
shess
7e3d0c2d2f
Delta-encode terms in interior nodes. While experiments have shown
...
that this is of marginal utility when encoding terms resulting from
regular English text, it turns out to be very useful when encoding
inputs with very large terms. (CVS 3520)
FossilOrigin-Name: c8151a998ec2423b417566823dc9957c7d5d782c
2006-11-29 01:02:03 +00:00
drh
3590f15775
Improvements to the speed tests recently added to the test suite. (CVS 3519)
...
FossilOrigin-Name: 272c1a6e61d053121b5412564948dad4366b5727
2006-11-23 21:09:10 +00:00
drh
2fca7fef28
Fix a typo in the OMIT_AUTORIZATION in expr.c. (CVS 3518)
...
FossilOrigin-Name: 3dea7fbefdadb269e58ae76bb9a7281c96d8b15b
2006-11-23 11:59:13 +00:00
drh
600123299e
Make the pager sector size configurable at compile-time. (CVS 3517)
...
FossilOrigin-Name: 6221cf4f52e79f53043b7c10daedf2755d8fb167
2006-11-23 11:58:44 +00:00
drh
b62c335ed6
Add performance tests to the test suite. (CVS 3516)
...
FossilOrigin-Name: 270c745dffad7aa24f8707720b3d68ad7a6b2749
2006-11-23 09:39:16 +00:00
drh
45e29d8a1e
Fix the ".dump" command in the shell. Ticket #2072 . Also ticket #2065 . (CVS 3515)
...
FossilOrigin-Name: 9fdc249609a4745715a2bf49bbf1376ea243a20a
2006-11-20 16:21:10 +00:00
drh
c28e3a1828
Make sure VACUUM cleans up after itself. Ticket #2071 . (CVS 3514)
...
FossilOrigin-Name: 2fdc147d0059dcdfff2da33bd9fedb0bee057aa1
2006-11-18 20:20:21 +00:00
shess
f72442be68
Store minimal terms in interior nodes. Whenever there's a break
...
between leaf nodes, instead of storing the entire leftmost term of the
rightmost child, store only that portion of the leftmost term
necessary to distinguish it from the rightmost term of the leftmost
child. (CVS 3513)
FossilOrigin-Name: f6e0b080dcfaf554b2c05df5e7d4db69d012fba3
2006-11-18 00:12:44 +00:00
shess
9e6a561554
Refactoring groundwork for coming work on interior nodes. Change
...
LeafWriter to use empty data buffer (instead of empty term) to detect
an empty block. Code to validate interior nodes. Moderate revisions
to leaf-node and doclist validation. Recast leafWriterStep() in terms
of LeafWriterStepMerge(). (CVS 3512)
FossilOrigin-Name: f30771d5c7ef2b502af95d81a18796b75271ada4
2006-11-17 21:12:15 +00:00
shess
de163af26e
Delta-encode docids. This is good for around 22% reduction in index
...
size with DL_POSITIONS. It improves performance about 5%-6%. (CVS 3511)
FossilOrigin-Name: 9b6d413d751d962b67cb4e3a208efe61581cb822
2006-11-13 21:09:24 +00:00
shess
debbcdfead
Require a minimum fanout for interior nodes. This prevents cases
...
where excessively large terms keep the tree from finding a single
root. A downside is that this could result in large interior nodes in
the presence of large terms, which may be prone to fragmentation,
though if the nodes were smaller that would translate into more levels
in the tree, which would also have that problem. (CVS 3510)
FossilOrigin-Name: 64b7e3406134ac4891113b9bb432ad97504268bb
2006-11-13 21:00:54 +00:00
shess
545311eeca
Allow backing tables to be missing on dropping fts table. Fixes
...
http://www.sqlite.org/cvstrac/tktview?tn=1992,35 . (CVS 3509)
FossilOrigin-Name: 9628a61a6f33b7bec3455086534b76437d2622b4
2006-11-13 20:15:27 +00:00
aswift
448aa6f71a
The uninitialized file descriptor from the unixFile structure is passed to sqlite3DetectLockingStyle in allocateUnixFile rather than the file descriptor passed in. This was causing the locking detection on NFS file systems to behave somewhat randomly and the result was locks were not respected and data loss could occur. (CVS 3508)
...
FossilOrigin-Name: b9dd16ef3df0785d8d0eea9a6f2ad580a7289834
2006-11-11 01:31:58 +00:00
drh
1fe336f69c
Update the documentation to talk about the new sqlite3_prepare_v2() API. (CVS 3507)
...
FossilOrigin-Name: d9e14b6121a7b6786cccafd6e1e83474554632aa
2006-11-09 15:18:00 +00:00
drh
b900aaf34a
First cut at adding the sqlite3_prepare_v2() API. Test cases added, but
...
more testing would be useful. Still need to update the documentation. (CVS 3506)
FossilOrigin-Name: f1efae9224170c9155afcf17ab3ee769a557b874
2006-11-09 00:24:53 +00:00
drh
47ad6840f5
Make the .exit and .quit commands work again in the shell. Ticket #2056 . (CVS 3505)
...
FossilOrigin-Name: f39978ef13e986a16ee322ee84ab9bd38ffc5a8b
2006-11-08 12:25:42 +00:00
drh
f4fa85826f
Fix a typo in os_win.c. Ticket #2055 . (CVS 3504)
...
FossilOrigin-Name: d309680ec7a806d181b601e0105aebf1e33bfb81
2006-11-07 15:02:07 +00:00
drh
551b77365e
Use the difference between the SQLITE_IOERR_SHORT_READ and SQLITE_IOERR_READ
...
returns from sqlite3OsRead() to make decisions about what to do with the
error. (CVS 3503)
FossilOrigin-Name: 6324ea811eec1200cee89e6f377368eaf2fcda77
2006-11-06 21:20:25 +00:00
drh
382765866b
Fix a bug in the optimizer that was causing it to miss an OR optimization
...
opportunity. (CVS 3502)
FossilOrigin-Name: 9bf153b54c6e9ba16914dedd9e2949f32d7550ea
2006-11-06 15:10:05 +00:00
drh
0a9e376c55
Modify Makefile.in to install sqlite3ext.h. (CVS 3501)
...
FossilOrigin-Name: 35c8c4781736d45019d8b823b8517c24622d3313
2006-11-01 12:20:16 +00:00
drh
e804cebacc
Remove dead code from btree.c. Ticket #2050 . (CVS 3500)
...
FossilOrigin-Name: dbd0125c62457681689db48e1f0a752767855773
2006-11-01 12:08:40 +00:00
drh
fd288f3549
Change the default temp file prefix to be "sqlite" spelled backwards.
...
Tickets #2049 et al. (CVS 3499)
FossilOrigin-Name: a19ce5c1c4e86d141f7e04af6babeb2ecb75b523
2006-10-31 21:27:33 +00:00
drh
79de864cd1
Change the default prefix for temporary files so that it no longer
...
contains the text "sqlite". In this way, perhaps we will not get so
many false bug reports such as ticket #2049 , #1989 , and #1841 . (CVS 3498)
FossilOrigin-Name: 7ce48000bb0dafda8a171bfc040dfe2300f84ed2
2006-10-31 21:16:48 +00:00
shess
aedbce0376
Fix a pair of memory leaks. These were turned up by running valgrind
...
memcheck with various 10k doc insert, update, delete, and query tests. (CVS 3497)
FossilOrigin-Name: 3cd9b64b96018f69163ad0be0b5c07dd1be6abc6
2006-10-31 18:13:42 +00:00
drh
2e7568f237
Make the command-line shell ".dump" command more resilient in the face of
...
database corruption. (CVS 3496)
FossilOrigin-Name: ebd44f0b5e229b990910bb44565de9a5c06cb5bc
2006-10-31 18:08:27 +00:00
drh
371de5ad8b
Changes to support non-ASCII characters in win95 filenames.
...
Ticket #2047 . (CVS 3495)
FossilOrigin-Name: 9fa3ae584ae4936696fd2f23a64697f0409ef313
2006-10-30 13:37:22 +00:00
drh
50b3996899
Enhance the optimizer so that IS NULL can use an available index. (CVS 3494)
...
FossilOrigin-Name: 64762a9d582e4655d6bc5989d8e0ad773d659a7d
2006-10-28 00:28:09 +00:00
drh
89b5cad3c2
Fix the ".dump" command in the command-line shell so that it shows
...
TRIGGERs and VIEWs. Ticket #2044 . (CVS 3493)
FossilOrigin-Name: 58171a41f706dd2fab1da5d83d2176d0103643fb
2006-10-27 14:21:54 +00:00
drh
0660e26efe
Changes directed toward optimizing IS NULL terms in WHERE clauses. (CVS 3492)
...
FossilOrigin-Name: 4d336e9ef5f65b95959e7d01cd0357d46e9b1fa5
2006-10-27 14:06:57 +00:00
drh
c49f44eff1
Bring CVS output into more commonly accepted practice. Tickets #2030 , #1573 .
...
Add command-line options -bail and ".bail" commands. Default behavior is
to continue after encountering an error. Ticket #2045 . (CVS 3491)
FossilOrigin-Name: 517712d6fbc5ba5299942a54852298030f4d3381
2006-10-26 18:15:42 +00:00