drh
355ef36114
Naming the join columns in the result set of a natural join does not result
...
in an "ambiguous column name" error. Ticket #1217 . (CVS 2494)
FossilOrigin-Name: 265fb6079c0a4b7a93f063939436db494ff1d56c
2005-06-06 16:59:24 +00:00
drh
97903fef77
Remove the config.h file from the build. Ticket #1224 . (CVS 2480)
...
FossilOrigin-Name: 3e64f1ab417f371e9875915303b898c5b45f0807
2005-05-24 20:19:57 +00:00
danielk1977
fd9a0a45a7
Move a few things around to make building without the parser easier. (CVS 2479)
...
FossilOrigin-Name: 5fadb464eb77b4b998d8555f83401769960ea904
2005-05-24 12:01:00 +00:00
drh
b71090fdfb
The REGEXP operator is recognized. It tries to invoke a function named
...
regexp() which does not exist in the native build. But users who want to
can add an appropriate regexp() function using sqlite3_create_function(). (CVS 2478)
FossilOrigin-Name: 42a626ace126f730f33ecb6c41ac5679d6766a31
2005-05-23 17:26:51 +00:00
drh
15ccce1c0d
Make sure that the use of a double-quoted string literal does not trick
...
the optimizer into using a correlated subquery when a static
subquery would suffice. (CVS 2477)
FossilOrigin-Name: ef4059e3afa1a61a9e59df00cdfedc57d8df9fec
2005-05-23 15:06:39 +00:00
drh
f8db1bc03b
Remove some vestigal code. Add the experimental sqlite3_transfer_bindings()
...
API. (CVS 2446)
FossilOrigin-Name: 88b39436f00d645cdb6333a7413c698c42227d3f
2005-04-22 02:38:37 +00:00
danielk1977
e94ddc9e43
Assorted fixes to the handling of various malloc() failures. (CVS 2413)
...
FossilOrigin-Name: e7844a01c248e8d9204ea9214bec84c81dc07f32
2005-03-21 03:53:38 +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
a1cb183d04
Fix a problem with sub-queries and the flattening optimization. Also handle an extra case of database corruption. (CVS 2324)
...
FossilOrigin-Name: f7858d8830cdd0f57b8f9bc73068d29a7062b8ac
2005-02-12 08:59:55 +00:00
danielk1977
a58fdfb162
Fix for correlated subqueries where the parent is an aggregate. Ticket #1105 . (CVS 2318)
...
FossilOrigin-Name: f0d3ca10c5bccf8fca7143028ebb3e604c0e3f20
2005-02-08 07:50:40 +00:00
danielk1977
a2dc3b1a5e
Allow expressions (including variables) in LIMIT and OFFSET clauses. Ticket #1096 . (CVS 2316)
...
FossilOrigin-Name: 515e5033a5482f55e7edb66d69ff3da7e234ff2e
2005-02-05 12:48:48 +00:00
danielk1977
6a67fe8edf
Remove code for SQL cursors. (CVS 2312)
...
FossilOrigin-Name: 2eb90870556c90b8d85da3d5eb7554f74ec922c2
2005-02-04 04:07:16 +00:00
danielk1977
6c18b6e0f4
Have the optimization introduced in (2170) deal with OP_NullRow as well as OP_Column and OP_Recno. Fix for #1086 . (CVS 2290)
...
FossilOrigin-Name: 356d31e03fe856642c5637f5ea5665947ff681fc
2005-01-30 09:17:58 +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
danielk1977
940fac9dc5
Minor changes to avoid warnings on some compilers. (CVS 2267)
...
FossilOrigin-Name: 4daf1d1f9d4d32397d785d660394c5579c296b1f
2005-01-23 22:41:37 +00:00
danielk1977
93758c8dcc
Exclude a few more lines of code using OMIT macros. (CVS 2253)
...
FossilOrigin-Name: c6fc49e61033419e78b6b10638d57f4942087961
2005-01-21 08:13:14 +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
drh
51522cd34a
Added the SQLITE_OMIT_SUBQUERY compile-time option and the EXISTS operator.
...
Regression tests are currently failing with an assertion fault. (CVS 2245)
FossilOrigin-Name: d30fdf0f2c24cb74b48fab9b83fba4e4b2fe878a
2005-01-20 13:36:19 +00:00
danielk1977
5338a5f74d
Remove a few more lines of code when SQLITE_OMIT_** macros are defined. (CVS 2244)
...
FossilOrigin-Name: 417bbba93ad7ed5c03d9db6afc12e170155bd152
2005-01-20 13:03:10 +00:00
drh
3119bc421a
Expression generator bug fix. (CVS 2239)
...
FossilOrigin-Name: 39cf97a902523b1e3953da8fca6983119700d682
2005-01-20 01:51:25 +00:00
drh
1398ad3639
Continued refactoring of the name resolution logic and query optimizer. (CVS 2236)
...
FossilOrigin-Name: d8b2a7e09187564fe66a2b4bf0992c6a017146cf
2005-01-19 23:24:50 +00:00
drh
79d5f63fa2
CREATE TABLE ... AS ... uses short names for columns. Ticket #1036 . (CVS 2232)
...
FossilOrigin-Name: b1d4c42d2be07adda68d31c570ba7cf8b115c3ad
2005-01-18 17:20:10 +00:00
drh
73b211abed
Refinements to the name resolution logic. Change the name of the
...
keywordhash.c file to keywordhash.h. (CVS 2229)
FossilOrigin-Name: 0142ae6f0004bf18a1c2d8e49c09d2a9a27d6369
2005-01-18 04:00:42 +00:00
drh
626a879a25
Infrastructure changes to handle name resolution differently. This is needed
...
to fix various long-standing problems with column names in joins. It will
also make the implementation of correlated subqueries easier. (CVS 2228)
FossilOrigin-Name: 4a7534396a72ccb300303df28798bb2c50293782
2005-01-17 22:08:19 +00:00
drh
018d1a4929
Test coverage improvements. (CVS 2215)
...
FossilOrigin-Name: 92f9d2b2f480fccfa6e8b70a1d19058b92a4ea8f
2005-01-15 01:52:31 +00:00
danielk1977
2c3365493b
Fixes to 'configure' build system. Also extra coverage for main.c. (CVS 2204)
...
FossilOrigin-Name: 8378455f32c3010ccc28181048c746ecb8a9fa67
2005-01-13 02:14:23 +00:00
drh
51669863a8
Improvements to the query optimizer. This is a work in progress. (CVS 2169)
...
FossilOrigin-Name: 9b86993ff721b577b920c7c67fb41d3d4355fe88
2004-12-18 18:40:26 +00:00
drh
2530378003
Only evaluate expressions once for UPDATE and INSERT statements that
...
have BEFORE triggers. Fix for ticket #980 . (CVS 2158)
FossilOrigin-Name: 4852186aca3be6ea40069b6831079197e5fa757a
2004-12-07 15:41:48 +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
drh
b9ecf6fa8e
Avoid excess heap usage when copying expressions. Ticket #979 . (CVS 2127)
...
FossilOrigin-Name: d10560c75244daebe55da5630ef7e7b84ba7f77a
2004-11-20 20:44:13 +00:00
drh
73c42a1386
Fix segfaults that might occur after a malloc failure. (CVS 2119)
...
FossilOrigin-Name: 368774487e7a0266465f5a1c2701c9b14573d26c
2004-11-20 18:13:10 +00:00
drh
2958a4e6a5
Autoincrement code installed. Simple smoke-testing only. No regression
...
tests developed yet. (CVS 2091)
FossilOrigin-Name: 8fde833c812b91c5a574208a70b5f92b9d4b0a87
2004-11-12 03:56:15 +00:00
danielk1977
7977a17f06
Port the "DEFAULT CURRENT_TIME" etc. functionality from an earlier fork of sqlite. (CVS 2082)
...
FossilOrigin-Name: 0d27c8ff48f327ad82dd5b5b3b47b8d221f119b7
2004-11-09 12:44:37 +00:00
drh
4e0cff6080
More use of sqlite3NestedParse. This version of the code does not work. (CVS 2060)
...
FossilOrigin-Name: ac2d5a605c873cac68bfde4bbe3797608a47b21e
2004-11-05 05:10:28 +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
f2bc013c70
Save about 800 bytes of code space by aligning TK_ and OP_ constants so that
...
we do not have to translate between them. (CVS 1998)
FossilOrigin-Name: 4c817e3f293a9c1365e632f7dc13ae440263332a
2004-10-04 13:19:23 +00:00
drh
94a11211f5
Code simplifications and size reductions. (CVS 1983)
...
FossilOrigin-Name: cb631a135da92fd689ee40a8b7e2695a510eb765
2004-09-25 13:12:14 +00:00
drh
145716b323
Fix for tickets #912 and #922 . Problem introduced by check-in (1973). (CVS 1975)
...
FossilOrigin-Name: 9001e2220d2e35b81a9b7dc70c012f94bb6db679
2004-09-24 12:24:06 +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
fa6bc0000f
Wildcards with the same name map into the same variable number. New
...
api sqlite3_bind_parameter_index() added to map wildcard names into
wildcard index numbers. Support for "?nnn" wildcards. (CVS 1945)
FossilOrigin-Name: 435b3f301fbb6953adc974c7f03589b06e9114c3
2004-09-07 16:19:52 +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
855eb1cf02
Simplifications and optimizations. Also: disable the corrupt.test for now. (CVS 1924)
...
FossilOrigin-Name: 8fd65e704888a8e2f4a712a94fd0e3f866c10ef3
2004-08-31 13:45:11 +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
71c697ef4d
Fix problems in the handling of malloc failures. (CVS 1882)
...
FossilOrigin-Name: 81d91d14cf2352fc7981b361ac9af99b3cbbc9e8
2004-08-08 23:39:19 +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