drh
af30469d67
Get the build working with -DSQLITE_OMIT_UTF16=1. Ticket #2314 . (CVS 3865)
...
FossilOrigin-Name: 25c1c7aaa8ef203120c2c242cf72ce4750f78abd
2007-04-23 23:56:31 +00:00
danielk1977
7e29e9561c
Fix a bug whereby sqlite3_prepare_v2() could return both an out-of-memory error and a valid statement handle. (CVS 3858)
...
FossilOrigin-Name: 8795d11c3c5bb39d34bc5194621ce97097a320e7
2007-04-19 11:09:01 +00:00
drh
538f570cd1
Fix multiple performance regressions (ticket #2298 among them)
...
and add tests to make sure they do not come back. (CVS 3839)
FossilOrigin-Name: 32bb2d5859906b4fb0f6083eedd7f3a81b9cf5e2
2007-04-13 02:14:30 +00:00
drh
f53454438a
Fix an obscure pager refcnt leak that occurs following a transient I/O
...
error. (CVS 3829)
FossilOrigin-Name: ce6f56ece8eab743d20cd2c0a84b4a266c4da2ff
2007-04-09 12:45:02 +00:00
drh
1e9daa6ab5
Changes to test scripts to support alternative configurations. (CVS 3824)
...
FossilOrigin-Name: 3471a2269fb6b3769b59b70992e6da3bdebea7df
2007-04-06 21:42:22 +00:00
drh
c6ba55f4e0
New testfixture command: sqlite3_pager_refcounts. Returns a list of
...
integers which is the pager refcount for each pager in the database. (CVS 3815)
FossilOrigin-Name: 7338e68e0fd9263236f12f8911cb8293747dd1a4
2007-04-05 17:36:18 +00:00
danielk1977
cd1aa9000f
Fix for #2281 . This was a problem with the test-case only. (CVS 3795)
...
FossilOrigin-Name: c036db6251ca4671fc3388a4f37955c18adeca1d
2007-04-02 12:29:01 +00:00
drh
b3738b6c85
Improved test coverage for printf.c. (CVS 3780)
...
FossilOrigin-Name: c2badb208ff1207a1471410965947893b070ea50
2007-03-31 15:02:49 +00:00
drh
fdbcdee5ff
The -DSQLITE_OMIT_ATTACH=1 option now omits both the ATTACH and VACUUM
...
commands. Ticket #2268 .
The regression test suite depends on both of these commands
and will not run if compiled with this option. (CVS 3727)
FossilOrigin-Name: cbebfb89603044e48b3a87b79d1eefbbc5b4c8a5
2007-03-27 14:44:50 +00:00
drh
4f0c587819
Modify sources to that they can be combined into a single sqlite3.c source
...
file. Eliminate all type-pruned pointer warnings. (CVS 3722)
FossilOrigin-Name: 0b832e218ec12b0eb559e407d80aba6709e2ea85
2007-03-26 22:05:01 +00:00
drh
dd73521bc2
Additional tests and some improvements to the INSERT transfer
...
optimization. More testing is needed. (CVS 3661)
FossilOrigin-Name: 830985814345f71ba2def3c206e36aabe9e1ee7c
2007-02-24 13:53:05 +00:00
danielk1977
d7263927f7
Set the MEM_Term flag when an internal string has a nul-terminator appended to it. Fix for #2213 . (CVS 3627)
...
FossilOrigin-Name: fc969ad991e5114c3612f4796e342a6db2d79cd5
2007-02-05 14:21:47 +00:00
drh
3c23a88562
When an automatic re-prepare occurs, take care not to reset the internal
...
schema symbol table. Ticket #2156 . This change also includes some debugging
enhancements. (CVS 3578)
FossilOrigin-Name: 43fe7fc1c38f8d9b3c1346cb1d890c2e25cefe15
2007-01-09 14:01:13 +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
b62c335ed6
Add performance tests to the test suite. (CVS 3516)
...
FossilOrigin-Name: 270c745dffad7aa24f8707720b3d68ad7a6b2749
2006-11-23 09:39:16 +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
shess
a26cf57782
fts2 support for testing. These are a prelude to adding some test
...
scripts. (CVS 3480)
FossilOrigin-Name: 004ad1943f8c5933ee9584a57b2de9d421470d3c
2006-10-19 20:27:58 +00:00
drh
4ac285a1c2
Add support for extended result codes - additional result information
...
carried in the higher bits of the integer return codes. This must be
enabled using the sqlite3_extended_result_code() API. Only a few extra
result codes are currently defined. (CVS 3422)
FossilOrigin-Name: ba579ddc4361fc6e8ea66f9385770d70dfe94751
2006-09-15 07:28:50 +00:00
drh
235a818e61
Remove unused malloc failure test. (Ticket #1976 )
...
Also include fixes for other problems
discovered while investigating ticket #1976 . (CVS 3415)
FossilOrigin-Name: f4ab546b2e8105422fb1baa2b86e688b5d19f20e
2006-09-13 19:21:28 +00:00
drh
a2a9d18869
Add some simple test cases for the OR and NOT logic of the fts1 module.
...
Fix lots of bugs discovered while developing these test cases. (CVS 3400)
FossilOrigin-Name: 70bcff024b44d1b40afac6eba959fa89fb993147
2006-09-10 03:34:06 +00:00
drh
f0313813ec
Make sure strings returned by sqlite3_value_text() and sqlite3_value_text16()
...
are always '\000'-terminated. (CVS 3391)
FossilOrigin-Name: 2c63588b45f4e1ab9b9f1b72c901f3800433424a
2006-09-04 15:53:53 +00:00
drh
80788d8b65
Test for busted TCL builds that do not support 64-bit integers and print
...
a warning message to users that test failures may be a result of the bad
TCL build and not some problem with SQLite. Ticket #1953 . (CVS 3386)
FossilOrigin-Name: ca864ee913ea5ae88761e617bcac300ffa339369
2006-09-02 14:50:23 +00:00
drh
3086765b6f
Change sqlite3_busy_timeout so that it checks for an invalid database
...
pointer. (CVS 3320)
FossilOrigin-Name: 225a9597b21bde7666451fc2eb7695dc35c438bb
2006-07-06 10:59:57 +00:00
drh
f9cb7f58a7
Move the sqlite3_sleep() and sqlite3_clear_bindings() interfaces into the
...
main library and make this official. (CVS 3316)
FossilOrigin-Name: eb3442c44ef1dbf8895195bb08fbeeea315b44c1
2006-06-27 20:06:44 +00:00
drh
c2e87a3e85
The ability to load extensions is turned off by default. It must be
...
enabled by calling sqlite3_enable_load_extension() before it will work.
This prevents security problems in legacy applications. Ticket #1863 . (CVS 3311)
FossilOrigin-Name: 4692319ccf28b0ebe64d5c5d189f444034fe0cb2
2006-06-27 15:16:14 +00:00
drh
ff91c45404
All tests pass even if compiled with -DSQLITE_DEFAULT_FILE_FORMAT=1. (CVS 3308)
...
FossilOrigin-Name: 8a49311d2f50cf2ca24776cabcb8ec7418325cb1
2006-06-27 12:51:12 +00:00
danielk1977
926aab2274
In test code, always use sqlite3_free() instead of free() to free error messages returned by sqlite3_exec(). (CVS 3303)
...
FossilOrigin-Name: 6521ee5f320e47f8fbd7d6b23929fab431023483
2006-06-27 07:34:40 +00:00
danielk1977
4b2688ab31
Modifications so that compilation and testing with the various OMIT macros defined works. (CVS 3276)
...
FossilOrigin-Name: c6ea353bd9f5fe6c9cc3349d2034ada283f9c80e
2006-06-20 11:01:07 +00:00
danielk1977
69e777f330
Add some tests for sqlite3_load_extension(). (CVS 3239)
...
FossilOrigin-Name: 402a77c43d4e4dcd2e1197cfaaa2ed51249a1b8f
2006-06-14 10:38:02 +00:00
drh
b9bb7c187e
Progress toward CREATE VIRTUAL TABLE. Still not even close to working... (CVS 3211)
...
FossilOrigin-Name: 898ec36b4102aaa03979f8f5c510936e57e2ae48
2006-06-11 23:41:55 +00:00
drh
05a8298338
Increase test coverage to above 98%. (CVS 3144)
...
FossilOrigin-Name: 8ae6ccc715b081cd422e847cd9e5cc22b04d8512
2006-03-19 13:00:25 +00:00
drh
3752785f93
Fix some compiler warnings. (CVS 3140)
...
FossilOrigin-Name: 6c5175bc0f98e4ce715b099394f3fdc878ed82e8
2006-03-16 16:19:56 +00:00
drh
7d9bd4e19e
Or the SQLITE_UTF16_ALIGNED with the encoding field in
...
sqlite3_create_collation and UTF16 strings will always be aligned
on an even byte boundary when passed into the comparison function. (CVS 3103)
FossilOrigin-Name: 7a1701e8c562087d364dff28cd7cad7ca4cdb5ae
2006-02-16 18:16:36 +00:00
danielk1977
4b1ae99d01
Add a symbol P3_TRANSIENT to pass to VdbeSetColName() to make it copy the string parameter up to the first 0 byte. (CVS 3070)
...
FossilOrigin-Name: 6ebb8f9bb2f6a3f7fde19267727aa4e2d878a416
2006-02-10 03:06:10 +00:00
danielk1977
955de52c9c
Add the column_origin_name() etc. APIs. (CVS 3069)
...
FossilOrigin-Name: 82f502cdc1fead3bf7e3190d5c9db3aee6919ed4
2006-02-10 02:27:42 +00:00
danielk1977
deb802cd83
Add the sqlite3_table_column_meta() API. (CVS 3062)
...
FossilOrigin-Name: 1ac72f68c0e9fd63decc97c166f49b405a9d323c
2006-02-09 13:43:28 +00:00
danielk1977
161fb79619
General test coverage improvements. (CVS 3022)
...
FossilOrigin-Name: 153940af5af4f775fa3b1784931d3fd1e41764c5
2006-01-24 10:58:21 +00:00
danielk1977
a1686c9a3b
Fixes for OMIT_UTF16 and OMIT_COMPOUND (CVS 2993)
...
FossilOrigin-Name: f58bbdc0ac6e618686c598aaafb3a41b972e078e
2006-01-23 07:52:37 +00:00
drh
90669c1dca
Fix and test the processing of sqlite3_result_error() withing aggregate
...
functions. Allow errors to come from the step function (a new
capability). Ticket #1632 . (CVS 2981)
FossilOrigin-Name: fd4a6bb1ac94d085dda247799c0a5c64aaeec046
2006-01-20 15:45:36 +00:00
danielk1977
07cb560b23
Handle some of the IO error conditions that may occur in a shared-cache context. (CVS 2980)
...
FossilOrigin-Name: 97491d4eb5fc24d8f5cc7605db844359ecc6a818
2006-01-20 10:55:05 +00:00
drh
dab97c1c8f
Fix the #ifdef around sqlite3OutstandingMallocs() in test1.c. (CVS 2978)
...
FossilOrigin-Name: 218c6184c8edec22f9b56b3c9446d27fda9c1e00
2006-01-19 11:28:06 +00:00
danielk1977
191c3e7db0
Fix a bug with internally saving cursors open on index tables. Also increase coverage of util.c and btree.c. (CVS 2976)
...
FossilOrigin-Name: a628d84d3185fb7742cc929e758bfd59c811ca0b
2006-01-19 07:18:14 +00:00
danielk1977
76e8d1a292
Include the ThreadData structure in internal malloc() testing. Also fixes for revealed bugs. (CVS 2974)
...
FossilOrigin-Name: c7b9d50d0a975912776aaa2b870308652f77e1e6
2006-01-18 18:22:43 +00:00
danielk1977
9e12800dec
Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972)
...
FossilOrigin-Name: ac090f2ab3b5a792c2fdf897e10060f263e0d408
2006-01-18 16:51:35 +00:00
danielk1977
950f054cec
Handle malloc() failures that occur in open16() and errmsg16(). (CVS 2967)
...
FossilOrigin-Name: 86eab9e53db8d7fecc789fe3d8cd8d7be3196fed
2006-01-18 05:51:57 +00:00
danielk1977
9a30cf653f
Handle malloc() failures that occur inside create_collation() calls. (CVS 2966)
...
FossilOrigin-Name: 95c5903f368413019af83aa73263e0e9d1204b62
2006-01-18 04:26:07 +00:00
danielk1977
771151b67f
Various fixes that allow the malloc() failure tests to pass again. (CVS 2963)
...
FossilOrigin-Name: 0505405fb9ae1068b7976718efbf2aabd07592d4
2006-01-17 13:21:40 +00:00
danielk1977
8212defca2
Fix problems compiling with memory-management enabled. Ticket #1619 . (CVS 2960)
...
FossilOrigin-Name: 36b03259654ffa9b14ebe1093984b29e9efbd56c
2006-01-16 15:32:23 +00:00
drh
64b1bea3ba
Add tests and fix bugs in the new cross-thread lock resolution code.
...
When an unlock fails, do not leak file descriptors (ticket #1611 ).
But we really ought to report SQLITE_MISUSE or some other error instead
of just returning SQLITE_OK. (CVS 2945)
FossilOrigin-Name: f68e05cb2be65fad43fac823b2a9c53b6d2e797d
2006-01-15 02:30:57 +00:00
drh
029b44bdd3
Documentation updates. Fix to date.c. But most importantly: database
...
connections are now allowed to change threads as long as they are not
holding a lock. (CVS 2944)
FossilOrigin-Name: 03c422ecb508dd84dfafc8b7a0b790a43f5dadda
2006-01-15 00:13:15 +00:00