drh
4db38a7092
All regression tests now pass with the new bounded-memory sort code.
...
There is still lots of opportunity for optimization, however. (CVS 2654)
FossilOrigin-Name: 81259a01f1e85ba50a1d017b1282bf841b16f0a5
2005-09-01 12:16:28 +00:00
drh
0342b1f542
Sorting is now done using a sorting index rather than loading the entire
...
result set into memory and doing a merge sort. The old merge sort technique
was a carry-over from SQLite version 1. The new method uses a bounded amount
of memory and scales to much larger result sets. There are still errors:
some 39 regression tests fail. (CVS 2653)
FossilOrigin-Name: 09db0a24241f9248584250d1728117b8a3159626
2005-09-01 03:07:44 +00:00
drh
bfd6b03554
Improvements to the formatting and layout of the code in the previous checkin. (CVS 2636)
...
FossilOrigin-Name: 73b430de0c0f3cd230861fc1a53691818f17de0d
2005-08-28 01:38:44 +00:00
drh
de941c605e
Add an assert to verify that floating point values and integers use the
...
same byte order. Add a comment to the SELECT code generator. (CVS 2635)
FossilOrigin-Name: 07b4892149a436dbd904c781b46e3b9a82a7a744
2005-08-28 01:34:21 +00:00
drh
2c8997b9a5
Disable synchronous writes to the master journal when PRAGMA synchronous=OFF
...
for all database files. Ticket #1375 . (CVS 2630)
FossilOrigin-Name: 644b96aa23de7e828280d35785db840a4fa9413d
2005-08-27 16:36:48 +00:00
drh
fc23314a0b
More test coverage enhancements. (CVS 2600)
...
FossilOrigin-Name: 0b6cd5acc0ede3367623f40ccfaa96116e686824
2005-08-19 01:07:15 +00:00
drh
91124b3545
Comment fixes. No changes to the underlying code. (CVS 2598)
...
FossilOrigin-Name: b865e243ee772f009dbf466d69525f2cdef78c0e
2005-08-18 18:15:05 +00:00
drh
55ef4d9758
The case_sensitive_like pragma added.
...
Test cases added for the LIKE optimization. (CVS 2592)
FossilOrigin-Name: 72ee21c05e618b6f46f5460f8c85779c72fe32d7
2005-08-14 01:20:37 +00:00
drh
d2687b7731
Optimize LIKE and GLOB operators in the WHERE clause. Code passes all
...
regression tests but still needs additional tests. (CVS 2581)
FossilOrigin-Name: 3edbe8d6217fd1180883e6b9f1e5b9011a39f80d
2005-08-12 22:56:09 +00:00
drh
a01f79df49
Replace OP_List with OP_Fifo. This is the first step toward allowing
...
recursive delete triggers and later foreign keys with cascading deletes. (CVS 2538)
FossilOrigin-Name: 94c120bb782fed53142317d1755e70c858930486
2005-07-08 13:07:59 +00:00
drh
8d904f058b
Fix an NDEBUG versus SQLITE_DEBUG confusion issue. (CVS 2516)
...
FossilOrigin-Name: 833c016023e9e17c226fdd722dcb10bc51ab6f9e
2005-06-14 17:47:58 +00:00
drh
f0863fe568
Update older opcode names to be more meaningful in light of the latest
...
code design. (CVS 2506)
FossilOrigin-Name: 36f2da1f8d8d434f861ecad55c9d86549751c954
2005-06-12 21:35:51 +00:00
drh
3844990cfc
Do not open a statement journal unless absolutely necessary. (CVS 2499)
...
FossilOrigin-Name: 989573a53b58c1e959ad276119298ba2ea7448e6
2005-06-07 01:43:41 +00:00
danielk1977
44ee5bf795
Minor changes to help build and test SSE. (CVS 2487)
...
FossilOrigin-Name: 3ac4a212bd70abb94d24830c73f7121df51125c7
2005-05-27 09:41:12 +00:00
danielk1977
1f723bd904
Fix minor problems with the SSE hooks. (CVS 2483)
...
FossilOrigin-Name: 3516ca29da5f28adc1fd4da42ca5551d154b6320
2005-05-26 12:37:29 +00:00
drh
3c68582188
Speed improvements as described by tickets #1257 and #1258 . These changes
...
help some but are nowhere near the 23% claimed in the tickets. (CVS 2469)
FossilOrigin-Name: 3fa177c54a8589dcfa0bfad0ca124cb73b363f18
2005-05-21 18:32:18 +00:00
danielk1977
1f55c05660
Always use a more specific type (P3_FUNCDEF) instead of P3_POINTER as the
...
P3 type of a vdbe instruction. (CVS 2463)
FossilOrigin-Name: 79a41674be2c0a1990598428d8b1e9d09d3ea389
2005-05-19 08:42:59 +00:00
drh
b47d45ccbf
Correctly store large integers. Ticket #1212 . (CVS 2445)
...
FossilOrigin-Name: 00e20690bb8cc6522c9c48f36f0c3336ae007827
2005-04-15 12:04:34 +00:00
drh
495c09a49a
Make the ORDER BY clause return equal elements in the same order they were
...
seen (a stable sort). It was returning them in exactly the reverse order. (CVS 2439)
FossilOrigin-Name: e8391491a68018406e30c2a699a4cab9e0de092c
2005-04-01 10:47:40 +00:00
drh
9a7e60865d
Add a "const" declaration to a constant. Fix a typo in a comment. (CVS 2438)
...
FossilOrigin-Name: 67aaa269068ea6b6f784979c09b3deb091928563
2005-03-31 22:26:19 +00:00
danielk1977
7a5147c5c9
Change 'stack' to the more descriptive 'no-push' in vdbe.c. (CVS 2429)
...
FossilOrigin-Name: 7e54d3c7289c091d449844d21b923e553f1d1f5f
2005-03-29 13:07:00 +00:00
danielk1977
bc04f8529d
Reduce the space allocated for the runtime virtual machine stack. (CVS 2428)
...
FossilOrigin-Name: 7d6818da33a87076d1faf35ffc15a3aada0533b3
2005-03-29 08:26:13 +00:00
danielk1977
634f298c89
Modifications to reduce memory consumption. (CVS 2422)
...
FossilOrigin-Name: 0fd5ce4eefdc429ce0493f15d0dba9e8a3a0b0e2
2005-03-28 08:44:07 +00:00
drh
47b4b29b12
Preparations for the release of version 3.2.0. (CVS 2400)
...
FossilOrigin-Name: 90a00e90663749e5d1f8e28709dfbe981f8afc8b
2005-03-19 14:45:48 +00:00
danielk1977
d5d565235b
Fix some memory leaks that can occur if a memory allocation fails. (CVS 2388)
...
FossilOrigin-Name: 9a358fc33d726d0b5782bf65b50f61f2bd096d56
2005-03-16 12:15:20 +00:00
danielk1977
aee18ef8e2
Support for a future ALTER TABLE command to add columns with default values. (CVS 2367)
...
FossilOrigin-Name: 9d5abc1ddf6da37563c12d5a0401b89bb4e51c59
2005-03-09 12:26:50 +00:00
danielk1977
b3bce66232
Modify sub-query handling. Tickets #1083 and #1084 . (CVS 2286)
...
FossilOrigin-Name: b1b50f315873a8614920d1e3af4a07fb29a7ff6a
2005-01-29 08:32:43 +00:00
drh
536065afef
Propagate detected database corruption up through the call stack. (CVS 2279)
...
FossilOrigin-Name: 2c54aba5ba781f4da1f14ed7a3986b6dc17728d7
2005-01-26 21:55:31 +00:00
drh
5742b63e4a
An optimization to sqlite3VdbeSerialType(). (CVS 2278)
...
FossilOrigin-Name: db36773830cc81c38b78d1776a495d49475523be
2005-01-26 17:47:02 +00:00
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