danielk1977
a21c6b6fe0
Modifications and bugfixes so that the test suite passes with the TCL statement cache turned on. (CVS 2271)
...
FossilOrigin-Name: d5233e0747789dea04d35a8350b408321d23a64d
2005-01-24 10:25:59 +00:00
drh
fb7e7651ca
Change the TCL interface so that it can cache VMs and reuse them without
...
recompiling. But for now leave the cache turned off by default. (CVS 2269)
FossilOrigin-Name: 8db6bfef52c1f35afdb8b60cba34f6807a5917f4
2005-01-24 00:28:42 +00:00
drh
f4d173ae14
Fix a bug in change counting that comes up when sqlite3_finalize() is
...
called right after sqlite3_reset(). (CVS 2266)
FossilOrigin-Name: 1a64295e055d083539e05f069df6f1bea12e14b2
2005-01-23 19:04:42 +00:00
drh
178286b5df
ATTACH and DETACH cause prepared statements to expire.
...
sqlite3_finalize() can now be called right after sqlite3_reset(). (CVS 2265)
FossilOrigin-Name: 6c631b86e5e166f650d3f7d53c773aa859391c2b
2005-01-23 13:14:55 +00:00
drh
d89bd007ba
Add the experimental sqlite3_expired() API. (CVS 2263)
...
FossilOrigin-Name: df648d50c0696cf7ada2fe5973d285b494891964
2005-01-22 03:03:54 +00:00
drh
fe2093d73e
Bug fixes and enhancements entered while on jury recess. (CVS 2246)
...
FossilOrigin-Name: 38401dfbd5e3b50dd4e7a11562a7770347cebdf4
2005-01-20 22:48:47 +00:00
danielk1977
aca790ace3
Test cases to improve coverage of pager.c. (CVS 2205)
...
FossilOrigin-Name: 0428a1480126f7e73dc1e24b6fbfa185d2d83dd3
2005-01-13 11:07:52 +00:00
danielk1977
8b60e0f142
Tests to improve coverage of vdbeaux.c. (CVS 2201)
...
FossilOrigin-Name: 2b3e21ce2e8126ec2851751546094c3a2c831942
2005-01-12 09:10:39 +00:00
drh
c5cdca613a
Improved test coverage for vdbeaux.c. (CVS 2195)
...
FossilOrigin-Name: 3f46cd7767cf7c48dd1de7ae1c4104d6d1a609be
2005-01-11 16:54:14 +00:00
drh
81db88e630
Remove the unused sqlite3_context.isStep element. (CVS 2156)
...
FossilOrigin-Name: 7b20f2b71f679e72b6cb3b78ccb31b4e7c4bd48b
2004-12-07 12:29:17 +00:00
danielk1977
03aded4924
Have tests pass when SQLITE_OMIT_MEMORYDB is defined. (CVS 2131)
...
FossilOrigin-Name: 9df837c03939cdcb31856ac17b2425a6dd92d7b2
2004-11-22 05:26:27 +00:00
drh
4794f73524
Create table now works with sqlite3NestedParse. This changed uncovered
...
a latent bug in xprintf which is also fixed. (CVS 2069)
FossilOrigin-Name: b0506bdd701339d63166ada065445776dd499588
2004-11-05 17:17:50 +00:00
drh
b7f9164e98
Insert #ifdefs that can optionally remove features at compiletime resulting
...
in a database engine with a smaller footprint. (CVS 2034)
FossilOrigin-Name: be661acfa849bb0d5692797dd221f5a8a457f8ad
2004-10-31 02:22:47 +00:00
drh
5719628afb
Convert many constants to have type "const". (CVS 2006)
...
FossilOrigin-Name: d790c84c5a889928d07f5394fffef0cbb8d5f214
2004-10-06 15:41:16 +00:00
drh
86f43308d6
Rearrange memory allocation in sqlite3VdbeMakeReady to try to work around
...
some byte-alignment problems on Sparc. (CVS 2002)
FossilOrigin-Name: f623d6e74fb5f6f70a22c06278b2bb1b4b7f9b85
2004-10-05 17:37:36 +00:00
drh
c60d04464f
Allow functions to be created when there are outstanding VMs.
...
(Ticket #926 ) Fix problems with sqlite3_errcode(). Add tests for
sqlite3_errcode(). (CVS 1989)
FossilOrigin-Name: d0f1dc5898382258b283308c2cce55a8bc378ee4
2004-09-30 13:43:13 +00:00
drh
ae29ffbe23
Code cleanup: get rid of the sqlite3SetNString utility function. (CVS 1984)
...
FossilOrigin-Name: 9ef4c24a9acc2128891303de1ffd2ef4509d779c
2004-09-25 14:39:18 +00:00
drh
76ff3a0e09
Optimizations to vdbeaux.c and printf.c (CVS 1980)
...
FossilOrigin-Name: eabc77c99b3e78b4c620a1736d9acfa6cb1e7b67
2004-09-24 22:32:30 +00:00
drh
59c98a6f2b
Improvements to the debugging code. (CVS 1979)
...
FossilOrigin-Name: bdc3bb070f7f29713b7bb9a6454a7ecbee6cf36d
2004-09-24 19:39:26 +00:00
drh
ad6d94607f
Add comments to unused P3 fields of selected instructions when NDEBUG is
...
not defined. This makes VDBE program dumps more readable during debugging. (CVS 1973)
FossilOrigin-Name: 4871c77f8fce36ff230e1f026f4e4e49492515e9
2004-09-19 02:15:24 +00:00
drh
344737f60a
Merge the ListPush and ListPop VDBE opcodes into ContextPush and ContextPop. (CVS 1972)
...
FossilOrigin-Name: eb9b501ad8b0fa0fd63a67ece05fe142d6a19114
2004-09-19 00:50:20 +00:00
drh
c16a03b54b
The callback on sqlite3_trace() is invoked the first time sqlite3_step()
...
is called after sqlite3_prepare() or sqlite3_reset(). Ticket #900 . (CVS 1960)
FossilOrigin-Name: 0cc2f40e6afa157ead45140c4e28a9a33c469b73
2004-09-15 13:38:10 +00:00
drh
03c8988076
Always cast 0 to (char*)0 when it is an argument in a varargs function. (CVS 1948)
...
FossilOrigin-Name: a1f532520c16a1f4b4285cd522774669292fb234
2004-09-08 15:09:40 +00:00
drh
9bb575fd72
Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3
...
connection now *must* be called "sqlite3". You cannot call it "sqlite".
This might break existing code. (CVS 1941)
FossilOrigin-Name: 3ddf5a9d1c480a2e3aa32685879063b11afddbe1
2004-09-06 17:24:11 +00:00
drh
92f02c31d4
Transactions commit on the last sqlite3_step(), not on sqlite3_finalize().
...
This allows the sqlite3_step() to return SQLITE_BUSY if the commit is
blocked by a lock. Ticket #885 . (CVS 1928)
FossilOrigin-Name: d1b29156558f1c576002cdb2544dffaa693da39b
2004-09-02 14:57:08 +00:00
drh
290c19482e
Optimizations to the code generator. (CVS 1899)
...
FossilOrigin-Name: bd6649c5aae1bf182610eb267b546c297a34481d
2004-08-21 17:54:45 +00:00
drh
895d747226
Add support for named wildcards in SQL statements. (CVS 1897)
...
FossilOrigin-Name: d3be0b7c5a39c02b9b2d6d85f1595d591984a569
2004-08-20 16:02:39 +00:00
drh
4c755c0f53
Make sure the argument to ctype.h macros is always an unsigned character.
...
Ticket #839 . (CVS 1881)
FossilOrigin-Name: b065973898c06a81c69b70b3fa91c79334bd9b9a
2004-08-08 20:22:17 +00:00
drh
3f7d4e49d8
Fix more problems with deferred execution of CREATE. Still need to do DROP.
...
There is now a memory leak. (CVS 1865)
FossilOrigin-Name: 6db3f122aad25b5226670ce682b7263d55c0d301
2004-07-24 14:35:58 +00:00
drh
376deb182a
Add the crashtest target to Makefile.in. Add LL suffix to long long constants
...
in the vdbe. Comment changes to vdbeaux.c. (CVS 1780)
FossilOrigin-Name: 42553001954356c942b874e95277efe235ef7692
2004-06-30 11:41:55 +00:00
drh
91b48aa1af
When a statement causes a ROLLBACK due to an ON CONFLICT clause, other active
...
VMs abort. (CVS 1778)
FossilOrigin-Name: 0fedf74e30026afe2c8caacff3d62cf5c1b1f528
2004-06-30 11:14:18 +00:00
danielk1977
e0d4b060db
Fix a bunch of harmless warnings. (CVS 1749)
...
FossilOrigin-Name: fae7c6e004aa4752fd3db09a42bfdb900861b3c0
2004-06-28 01:11:46 +00:00
danielk1977
fe587031cf
Fix unitialised variable in sqlite3VdbeFinalize(). (CVS 1747)
...
FossilOrigin-Name: 9501587944f1009aa0b4fa431bb19e7ec993a077
2004-06-27 23:50:21 +00:00
drh
6a179ea796
Remove unused routines from vdbeaux.c. Improve test coverage. (CVS 1746)
...
FossilOrigin-Name: 792b3c75e7764bab1473c0d6efc76f1164c943bf
2004-06-27 21:31:39 +00:00
danielk1977
b5548a8b20
Fix a problem where a file was not being closed after a malloc() failure. (CVS 1741)
...
FossilOrigin-Name: 3c8512bc549e10ee131cb7f2d4e74d96e9de74a0
2004-06-26 13:51:33 +00:00
danielk1977
40b38dcdf8
Remove the 'nMaster' argument from various pager and btree functions. (CVS 1737)
...
FossilOrigin-Name: 4e20720984e1fd6822ead785d758374d2704b7fb
2004-06-26 08:38:24 +00:00
drh
1b743be858
Be careful to initialize the Mem.xDel field to zero for static Mems. (CVS 1671)
...
FossilOrigin-Name: e17ea666b1eb1df12a1d4d78bda2e025e2aa30bd
2004-06-22 22:04:46 +00:00
drh
645f63ed02
Fix some segfaults that could have occurred after a malloc() failure. (CVS 1661)
...
FossilOrigin-Name: 80151e728101c3cd5a8cf36cca2bfa661b21c746
2004-06-22 13:22:40 +00:00
danielk1977
e302663615
Add os_test.c. Not activated yet. (CVS 1655)
...
FossilOrigin-Name: d16b863849d1aa887fe403e25153b1e9df6b837e
2004-06-22 11:29:02 +00:00
drh
da71ce1623
Fix an uninitialized variable. The variable was harmless, but pedantic
...
error checking in MSVC raised an exception on it. (CVS 1651)
FossilOrigin-Name: afc398c2ca97ff165ea8242a5ffb8b6374b7fa8f
2004-06-21 18:14:45 +00:00
danielk1977
e159fdf21c
Avoid opening a temp table for aggregate queries with no GROUP BY clause. (CVS 1649)
...
FossilOrigin-Name: 4d02df63496091a1e643601f84313f42130d6282
2004-06-21 10:45:06 +00:00
danielk1977
9e6db7d70f
Ensure sqlite3ErrorMsg() is used to report errors during compilation,
...
sqlite3Error() during execution. Also remove unused param from
sqlite3VdbeReset() and Finalize(). (CVS 1647)
FossilOrigin-Name: 7a33daef5b49b1f2d89f27e0063372fe4f1702c8
2004-06-21 08:18:51 +00:00
danielk1977
b28af71a22
Update sqlite3_changes() to match the documentation and add
...
sqlite3_total_changes(). (CVS 1645)
FossilOrigin-Name: ae2f4a0943854fedbbb6fab1dc3aaf972722ed95
2004-06-21 06:50:26 +00:00
drh
f92c7ff74a
Clear up another zero-length array. This seems to fix the segfault in
...
func-13.4 too. (CVS 1641)
FossilOrigin-Name: 70680a34b4b617286d92730bd3042b8b569b3371
2004-06-19 15:40:23 +00:00
drh
a99db3b6ac
Omit the sqlite3VdbeCode() routine. Use sqlite3NameFromToken() more to
...
reduce the amount of code. (CVS 1639)
FossilOrigin-Name: 99d0436e0ee1c917b2b7bbf005f05288b535648a
2004-06-19 14:49:12 +00:00
danielk1977
ec8450f6cb
Remove the unused 'next_cookie' mechanism. (CVS 1634)
...
FossilOrigin-Name: c94a9759ca6346a8c32f388a7aa1f0f139d6abc2
2004-06-19 09:35:36 +00:00
danielk1977
96d81f99d4
Update sqlite3_close() API to match documentation. (CVS 1630)
...
FossilOrigin-Name: 61819740fe8916892afe502196bb8b75a51f81e8
2004-06-19 03:33:57 +00:00
danielk1977
eac7a362f6
Fix two more memory leaks. (CVS 1603)
...
FossilOrigin-Name: 98b48704a1ce983677cdb269c24f7bca4ed606f7
2004-06-16 07:45:24 +00:00
danielk1977
e00484002f
Assorted memory leak fixes. (CVS 1600)
...
FossilOrigin-Name: 07b90f3690768e852384fbbde0ba59e69e24d1da
2004-06-15 16:51:01 +00:00
danielk1977
b20e56b451
Memory leak fixes for tests in file select1.test. (CVS 1599)
...
FossilOrigin-Name: 59db58ebd30cd7c79c32f5a725620e740eff661d
2004-06-15 13:36:30 +00:00