drh
018d1a4929
Test coverage improvements. (CVS 2215)
...
FossilOrigin-Name: 92f9d2b2f480fccfa6e8b70a1d19058b92a4ea8f
2005-01-15 01:52:31 +00:00
drh
49d642dba8
Allow GROUP BY on aggregate queries only. Ticket #1039 . (CVS 2176)
...
FossilOrigin-Name: 8ef2c644ebce851d7a3e0db3b2266fc2519485cd
2005-01-03 02:26:54 +00:00
drh
e6f85e71e9
Fix ticket #1046 by removing code and simplifying the query optimizer.
...
Remarkably, this simplification also makes the optimizer do a better job.
Ticket #1051 was fixed as a side-effect. (CVS 2172)
FossilOrigin-Name: 5fd1f4711885e3dd6fb2c2700287f78bb0ea178a
2004-12-25 01:03:13 +00:00
drh
be5fd4906d
Make sure LIMITs are handled correctly on UNION operators. Ticket #1035 . (CVS 2166)
...
FossilOrigin-Name: ece0085f86bd715c95a6c59f41b4a97de2555faf
2004-12-16 21:09:16 +00:00
drh
e4e7207248
More work on the implementation of cursors, but they are still not
...
functioning. (CVS 2142)
FossilOrigin-Name: 8b61d1ae1ca469b80f2b344d550c3b363448b193
2004-11-23 01:47:30 +00:00
drh
b6c29897eb
Add initial infrastructure for cursors. In where.c, optimize out clauses
...
of the form "ORDER BY rowid" if a table scan is being performed. Do a
reverse table scan if "ORDER BY rowid DESC" is present. (CVS 2141)
FossilOrigin-Name: fc8c1393c86017a816beb52725b68af3b973f979
2004-11-22 19:12:19 +00:00
danielk1977
299b187d76
Back out changes allowing writes to tables that have open cursors. (CVS 2133)
...
FossilOrigin-Name: 91acd87e52509a8f78894d0f4b625b54376cac21
2004-11-22 10:02:10 +00:00
danielk1977
ed326d7047
Perform deletes in a single pass. (CVS 2104)
...
FossilOrigin-Name: a2e1c35b327e33684ab19e5f65727c42c7b2949c
2004-11-16 15:50:19 +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
ae29ffbe23
Code cleanup: get rid of the sqlite3SetNString utility function. (CVS 1984)
...
FossilOrigin-Name: 9ef4c24a9acc2128891303de1ffd2ef4509d779c
2004-09-25 14:39:18 +00:00
drh
94a11211f5
Code simplifications and size reductions. (CVS 1983)
...
FossilOrigin-Name: cb631a135da92fd689ee40a8b7e2695a510eb765
2004-09-25 13:12:14 +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
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
91bb0eedd1
Optimizations on the SELECT code generator. (CVS 1926)
...
FossilOrigin-Name: 9c411c3c8dde2061c98513a413ef58c5c2de45af
2004-09-01 03:06:34 +00:00
drh
8cdbf83690
Corrections to transient table handling in compound select statments.
...
Tickets #826 and #875 . (CVS 1912)
FossilOrigin-Name: 9cc765be4611a248cfcce1243fd1bbeaf5202968
2004-08-29 16:25:03 +00:00
drh
fbc4ee7b70
Progress toward fixing iproblems with compound selects. (CVS 1911)
...
FossilOrigin-Name: 307478593d5d96b79386da222c7742ea2eaa5467
2004-08-29 01:31:05 +00:00
drh
290c19482e
Optimizations to the code generator. (CVS 1899)
...
FossilOrigin-Name: bd6649c5aae1bf182610eb267b546c297a34481d
2004-08-21 17:54:45 +00:00
drh
adfa3daf49
Honor the ORDER BY clause in a subquery that is the right-hand side of an IN
...
operator. Ticket #827 . (CVS 1871)
FossilOrigin-Name: 76fe68cff6ce75dada510544b063dc1069eb2e0e
2004-07-26 23:32:26 +00:00
drh
cf55b7aef7
Handle quotes on the table name in TABLE.* terms in SELECT statements.
...
Ticket #680 . (CVS 1833)
FossilOrigin-Name: 826b6797a9f08c69b9378cb403d746e91a54dcde
2004-07-20 01:45:19 +00:00
drh
2c61c070d2
Correct handling of views on tables with quoted column names. Ticket #756 . (CVS 1826)
...
FossilOrigin-Name: 8ac5a8ad5eec381585adb6812fc39a1a30aee4c1
2004-07-20 00:20:23 +00:00
drh
bab39e1358
Refinements to the LIMIT patch (1823) for ticket #749 . (CVS 1825)
...
FossilOrigin-Name: 9d4f43f030438b3e7358032de2e04132b80e04a8
2004-07-19 23:38:11 +00:00
drh
ea48eb2eef
LIMIT occurs after DISTINCT. Ticket #749 . (CVS 1823)
...
FossilOrigin-Name: e6bc8aa80824a9156e78fc99b5ac7045b97d29c3
2004-07-19 23:16:38 +00:00
drh
1af3fdb4dc
An improved fix for the min() problem of ticket #800 . (CVS 1804)
...
FossilOrigin-Name: b6e8b7a13cd9f90e2f7d963d9ddbe591571f3a27
2004-07-18 21:33:01 +00:00
drh
9eb516c0eb
min() ignores NULL values. Ticket #800 . (CVS 1802)
...
FossilOrigin-Name: 166234a2b61e1d6a501e48dde1caec0a02bec90b
2004-07-18 20:52:32 +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
00e279d9f7
Update sqlite3_column_decltype() to return NULL as the declartion type for
...
an expression that is not a column reference. (CVS 1646)
FossilOrigin-Name: ee9dffd986621490af7bd45c7fe070bb7da8c357
2004-06-21 07:36:32 +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
ededfd5e83
Remove redundant opcodes OP_MakeKey and OP_MakeIdxKey. (CVS 1612)
...
FossilOrigin-Name: a71a9ff114f2162696d8d37fbc87b315568f6dcb
2004-06-17 07:53:01 +00:00
danielk1977
742f947b1d
Trivial modifications to prevent compiler warnings. (CVS 1607)
...
FossilOrigin-Name: 7974c9a6f5ed86f02176376d99d909c43a4ae455
2004-06-16 12:02:43 +00:00
danielk1977
fbcd585fe6
(1) Vdbe makes a copy of column types. (2) Don't invalidate other cursors
...
when a statement or transaction is rolled back. (3) Update capi2.test for
the new API. (CVS 1597)
FossilOrigin-Name: 4f5e2530829ef91753b083b5f2a1d7332e311cb6
2004-06-15 02:44:18 +00:00
danielk1977
d8123366c4
(1) Modifications to the user-function interface and (2) Internal changes
...
to automatically created indices. (CVS 1575)
FossilOrigin-Name: 5903f53828b5d282b33e27813417e4317c9ecf0b
2004-06-12 09:25:12 +00:00
danielk1977
ce2663ccc8
Have the vdbe aggregator use a btree table instead of a hash table. (CVS 1569)
...
FossilOrigin-Name: 8d56118f64dbaf8c8006266fa7026f900a4a16bd
2004-06-11 13:19:21 +00:00
danielk1977
dc1bdc4f9d
Fix various collation sequence issues. (CVS 1568)
...
FossilOrigin-Name: 66835ee67051027456a536e33b2f88a741654525
2004-06-11 10:51:27 +00:00
danielk1977
7cedc8d4d6
Add the sqlite3_collation_needed() API and fix some error handling cases
...
involving unknown collation sequences. (CVS 1562)
FossilOrigin-Name: edf069b9f4044ed2a80962c7722052bf1b80bf45
2004-06-10 10:50:08 +00:00
danielk1977
0202b29ef7
Some progress on user-defined collation sequences. (CVS 1544)
...
FossilOrigin-Name: c634e71f1909819fb55c728bc410e5cc390428e3
2004-06-09 09:55:16 +00:00
danielk1977
517eb64616
Tables created with the CREATE TABLE <tbl> AS SELECT ... syntax now inherit
...
column declaration types from the SELECT statement. (CVS 1538)
FossilOrigin-Name: 31c1668dbc2b84438a5b78b0270f58b37b03791d
2004-06-07 10:00:31 +00:00
drh
a2fce64acc
Critical bugs fixed in btree.c. Incompatible file format change. Unrelated
...
comment fix in select.c (CVS 1530)
FossilOrigin-Name: cb1ffabf86996ab20dfffcb5f133fa9a9b56bbe2
2004-06-05 00:01:44 +00:00
danielk1977
0f69c1e3ec
Transform OP_HexBlob and OP_String8 to OP_Blob and OP_String the first time they are executed. (CVS 1492)
...
FossilOrigin-Name: 3225de8902b0e7e60c4d9f3a5ef51bc74f57d364
2004-05-29 11:24:50 +00:00
danielk1977
76d505baad
Fix a bug in the sqlite3_column_decltype() API. (CVS 1486)
...
FossilOrigin-Name: c8a40218c20cf5d0abad330e8fa59ca4c36e7608
2004-05-28 13:13:02 +00:00
danielk1977
61de0d1b99
Add API functions sqlite3_open_varargs(), sqlite3_open16_varargs() and
...
sqlite3_complete16(). (CVS 1479)
FossilOrigin-Name: 203af2b2e3a25f4fe0e128e350c21834cad0bd7f
2004-05-27 23:56:16 +00:00
danielk1977
f93bbbea47
A few more bugfixes. Test cases pass now. (CVS 1472)
...
FossilOrigin-Name: c9e3015faffb650d8dbf1f7f95a7057a36361bac
2004-05-27 10:30:52 +00:00
drh
f9b596ebc0
Remove dataType and includeTypes flags from function definitions. Added new
...
P3_FUNCDEF type for P3 arguments on opcodes. Fixes to several user functions.
28 tests fail now. (CVS 1464)
FossilOrigin-Name: 36e031625995b2f7baf7654d771ca8fb764a0085
2004-05-26 16:54:42 +00:00
danielk1977
3cf8606395
Add some tests for the new API. Many more to come. (CVS 1462)
...
FossilOrigin-Name: d5659f2ee6788e0205fb5e03eeaf64e6c0aa9bed
2004-05-26 10:11:05 +00:00
danielk1977
6590493d53
Use the new form of the sqlite3_create_function() API. (CVS 1460)
...
FossilOrigin-Name: 0317bef4b0c219ca2888c90553201e53230fb360
2004-05-26 06:18:37 +00:00
danielk1977
22322fd42b
Move the sqlite3_exec() function to legacy.c. (CVS 1455)
...
FossilOrigin-Name: 9385ad5ca82c82d9ef699102ca0b53661d02a052
2004-05-25 23:35:17 +00:00
drh
ce665cf60e
Eliminate the OP_SortMakeRec and OP_SortCallback opcodes. Sort using the
...
standard record format. (CVS 1426)
FossilOrigin-Name: 25643a0137d395572f16cfec3ab3327d913138ba
2004-05-21 03:01:58 +00:00
drh
736c22b803
Most sorting problems are fixed. Dead code has been removed. 3 test failures
...
remain but will be fixed by the new function API once it gets implemented. (CVS 1425)
FossilOrigin-Name: 3b55095e036d68886d007239333bbf90acd15692
2004-05-21 02:14:24 +00:00
drh
ffbc30884c
Sorting bug fixes. Now only 17 tests fail. (CVS 1422)
...
FossilOrigin-Name: 0736b7e8401f587f8b412602d029ef9bd69425f6
2004-05-21 01:29:06 +00:00