Commit Graph

3497 Commits

Author SHA1 Message Date
drh ba92a2ebad Get threadtest2.c working again after being long neglected. (CVS 3562)
FossilOrigin-Name: 06216d0d3be38bfabda9f5f450a5eaccd20b52b9
2007-01-05 01:58:26 +00:00
drh 92895268a4 Fix a test case that changed due to (3560). Ticket #2143 (CVS 3561)
FossilOrigin-Name: c28664d314b8caa2844072ee9e5a50901996dc1e
2007-01-05 00:14:27 +00:00
drh 25403650c3 Fix the user_version and schema_version pragmas so that they set a result
column name.  Ticket #2143. (CVS 3560)

FossilOrigin-Name: f81c4227c26a4d43993904ab05c1eb9f988e3b66
2007-01-04 22:13:41 +00:00
drh e61c769620 Fix the trigger4 test so that it runs on windows. (CVS 3559)
FossilOrigin-Name: 5e4e65ea15c51e75e9f003fbfde3fe87e22b889b
2007-01-04 22:13:02 +00:00
drh e6d9b33208 Put a missing double-quote into the changes.html page. (CVS 3558)
FossilOrigin-Name: 277f8faae4f014b0162713369b074520b628a465
2007-01-04 18:01:41 +00:00
drh 21e2bede43 Version 3.3.9 (CVS 3557)
FossilOrigin-Name: 8bf19a6a41ad1235b7baae28957538e800de9a80
2007-01-04 17:01:19 +00:00
drh 1d9b796f8c Increase the version number to 3.3.9. Documentation changes prior to the
release of version 3.3.9. (CVS 3556)

FossilOrigin-Name: 7e2832978f69cad105699259247581514ee7bd33
2007-01-04 16:37:40 +00:00
drh 15c9ffcd3f Disable the alter2.test on utf16 since the results of that test only
work for utf8. (CVS 3555)

FossilOrigin-Name: 87f350f35be64cdaa128bde35fbe93251b107025
2007-01-04 16:37:03 +00:00
drh c2ee76cb1c Fix a memory leak introduced by the latest changes to pager.c. (CVS 3554)
FossilOrigin-Name: 8cad5d671be9be3f7dd7dab99ad65c0fa21931ad
2007-01-04 14:58:14 +00:00
drh 5de872d520 Reactivate disabled "alter2" tests. (CVS 3553)
FossilOrigin-Name: 093467a099bb205897a58c1eeb734e1d13fba405
2007-01-04 14:36:01 +00:00
drh 89c69d00bd Fix for ticket #2141. (CVS 3552)
FossilOrigin-Name: 70f5f3b85f30bbec0ddc59ba364e1229c09ed636
2007-01-04 01:20:28 +00:00
drh 0bc5370cac Add a comment to vdbe.c to explain the use of an uninitialized variable. (CVS 3551)
FossilOrigin-Name: 1773eb7badf105b0e23316d4236903049c354c71
2007-01-04 01:20:11 +00:00
drh dddb2f23e2 Clean up memory leaks and uninitialized variables detected by valgrind.
Identify all tests where we deliberately derefence freed memory by adding
a "-misuse" tag. (CVS 3550)

FossilOrigin-Name: 70a862702d6dfcfe73bdeef8f0502c6c50e32a3a
2007-01-03 23:37:28 +00:00
drh bafda0962e Additional changes in the pager and os interface layers to fix problems that
might be contributing to recently observed database corruption. (CVS 3549)

FossilOrigin-Name: a593d5743eab12c0f93a7bc436f0d69dfab0c387
2007-01-03 23:36:22 +00:00
drh 1aa2d8b55b Make sure that the database size cache in the pager is invalidated whenever
the database is unlocked.  A stale value in the database size cache can
result in database corruption on a heavily loaded system running
autovacuum. (CVS 3548)

FossilOrigin-Name: 6806b9ecb5e3b90e793c5862404e76485df33b25
2007-01-03 15:34:29 +00:00
drh 588f5bc31b Update the vtab_err test to check for -DSQLITE_MEMDEBUG=1 and skip the tests
if missing.  Pager is more careful to clear its file size cache.  Remove
an assert() in VDBE that might fail on a corrupt database file. (CVS 3547)

FossilOrigin-Name: bf1afd016ad71dac90e58540122108f92e77ce3d
2007-01-02 18:41:54 +00:00
pweilbacher 4fffb4f0ef OS/2 change: add safeguard to be able to use SQLite loaded into high memory on OS/2 when compiled with GCC 3.3 or later. Currently, this is only used when building within the Mozilla source tree. (CVS 3546)
FossilOrigin-Name: 720189b8fafa61e5b712b409e76c368079b4bf96
2006-12-22 20:33:13 +00:00
drh abc19b11e1 Disable extension loading by default. At some point we should change
the configure script to detect the presence of dlopen() automatically
and add the appropriate library to the link.  But that requires a
working version of autoconf, which I do not have.  Ticket #2124. (CVS 3545)

FossilOrigin-Name: 87a9ee077aa53f1677667983f4566d61ea68b500
2006-12-21 22:38:23 +00:00
drh 584c094ba4 More fixes to the microsoft code-page nightmare... (CVS 3544)
FossilOrigin-Name: 0b47d88060069781e7e184806d6ecaeff9b9e5d1
2006-12-21 03:20:40 +00:00
drh 2a4d54b2cd Use GetProcAddressA() on wince. Ticket #2123 (CVS 3543)
FossilOrigin-Name: e3dddd1cef5877c009852fd7f484973843e26e00
2006-12-21 02:21:56 +00:00
drh c96d49892c Reduce the number of utf8->unicode conversions required in wince. Ticket #2122 (CVS 3542)
FossilOrigin-Name: 6d2ff0962dff0477fe2af0323032dc16337f42ab
2006-12-21 01:37:39 +00:00
drh 761df87ea5 Move the shared-library loading routines into the OS portability layer,
thus enabling the os_win.c code to handle the character encoding
confusion of win95/nt/ce.  Ticket #2023. (CVS 3541)

FossilOrigin-Name: a1bcc6de578992b28924c1cf974ea58251454e2d
2006-12-21 01:29:22 +00:00
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