Commit Graph

3146 Commits

Author SHA1 Message Date
drh
e09daa90ac Basic parsing of CREATE VIRTUAL TABLE statements. (CVS 3210)
FossilOrigin-Name: 66370cb99bd93abb33e1e8433672da45e1795f78
2006-06-10 13:29:31 +00:00
drh
a543c82d75 In the shell, make sure the database is opened before trying to do
an ".import".  Bug reported on the mailing list. (CVS 3209)

FossilOrigin-Name: 39e3427813135601a7417c96e55b410fa89ac1f5
2006-06-08 16:10:14 +00:00
drh
f1952c5d27 Unload shared libraries when a database connection closes. (CVS 3208)
FossilOrigin-Name: 327e6909c9d35b651ab6f3a1a270022b354538c6
2006-06-08 15:48:00 +00:00
drh
1e397f8fb4 New shell command ".load" and the sqlite3_load_extension() API allow
new SQL functions and collating sequences to be loaded at run-time from
a DLL or shared library. (CVS 3207)

FossilOrigin-Name: 4ca932d3ae9bb97b819b5baf6fd3e1cebda9e0e2
2006-06-08 15:28:43 +00:00
drh
2705912804 Version 3.3.6 (CVS 3206)
FossilOrigin-Name: c11cb07e4b3f0b815a7099c8d201b3473869cba2
2006-06-06 13:34:16 +00:00
drh
600e201757 Changes in preparation for version 3.3.6. (CVS 3205)
FossilOrigin-Name: b2e11e02902d6fa8fc2fb95cda4810e837d6861e
2006-06-06 12:38:50 +00:00
drh
151e3e1a70 Command "sqlite3 -version" returns 0 instead of 1. Ticket #1771. (CVS 3204)
FossilOrigin-Name: fd0fae4835a7d16b0186827b756c44bc984b42dc
2006-06-06 12:32:21 +00:00
drh
df26fd5edd In joins of the form "A left B, C" make sure they are not transformed into
"A left C, B".  Ticket #1830.  See also #1652. (CVS 3203)

FossilOrigin-Name: 2baa983653796e16d36739e37b0be1672bf59a92
2006-06-06 11:45:54 +00:00
drh
59e63a6b30 Add comments to the changes of check-in (3200). (CVS 3202)
FossilOrigin-Name: 697498d4e86a42d7063417a9549ad04aaf4db31c
2006-06-04 23:31:48 +00:00
drh
2871bd0cab Fix a windows portability problem in trans.test. (CVS 3201)
FossilOrigin-Name: f2538dfdb608b7f849bfc5fac0ec9d0d8dece4c7
2006-06-04 23:20:10 +00:00
drh
eb4fa52a45 Changes to help SQLite cope with virus scanners and other programs that
open journal files for reading and thus prevent SQLite from deleting
them in order to commit a transaction. (CVS 3200)

FossilOrigin-Name: f32dbe47ffd1e7e5695f02bf4263d80bea177ffb
2006-06-04 23:02:20 +00:00
drh
f52fd0bc11 Remove unused variables from vdbe.c. (CVS 3199)
FossilOrigin-Name: d54750aefba0accd66f928e55ae52fe074f2b8da
2006-06-03 18:04:17 +00:00
drh
60a1e4b6ce Added support for OS/2. Ticket #1817 (CVS 3198)
FossilOrigin-Name: 373246c2d1edaec1ce248ff875db48ce51d896f9
2006-06-03 18:02:15 +00:00
drh
eb741d5dd2 Do not record blank lines in the command-line editing history of the shell. (CVS 3197)
FossilOrigin-Name: 0eabda82cd0d476a7e05ba4b027b819318aef9c3
2006-06-03 17:37:25 +00:00
drh
94d57e3924 The windows driver always allows other processes to write the database file
even if it only has read permission on the file.  This is an experimental
checkin - we still have not determined that this change is safe.  Ticket #1803. (CVS 3196)

FossilOrigin-Name: 4bf03c3bbc1303ed9b4059917e8d6a613b1510f3
2006-06-02 12:40:08 +00:00
drh
09b172fa31 Fix typo in lang_analyze.html. (CVS 3195)
FossilOrigin-Name: fba8ce8c383fa8e66bc2dd5a354f411ad2b83c6d
2006-05-31 11:12:01 +00:00
drh
c55cd6ad9a Clarify the operation of sqlite3_last_insert_rowid() in the documentation. (CVS 3194)
FossilOrigin-Name: 9e0b83b81f13277b9da877bdd96c544ec66533f0
2006-05-27 11:15:47 +00:00
drh
f8888bb22a Allow SQL statements to be executed from within a progress callback.
Be warned, however, that the progress callback might be called
recursively in this case.  It is up to the program to disable the
progress callback to prevent recursive invocations.
Ticket #1827. (CVS 3193)

FossilOrigin-Name: ffc4730c05ea64b8c32f64b323db9b96b26bcb88
2006-05-26 19:57:19 +00:00
drh
86dac2b6be Syntax errors override errors from the code generator, not the other
way around. (CVS 3192)

FossilOrigin-Name: 5031ffc665782e7b300c498fb8be168443505add
2006-05-25 12:17:31 +00:00
drh
ea063f5bb1 Handle NULL database names in ATTACH and DETACH as if they were empty
strings.  Ticket #1825. (CVS 3191)

FossilOrigin-Name: 79a818bb05bc95c4c83375a679955dd18659b2b8
2006-05-25 11:52:37 +00:00
drh
f012ea3b00 When opening a new connection on a shared cache, be careful not to
overwrite the encoding flag on the shared cache.  Ticket #1824. (CVS 3190)

FossilOrigin-Name: c8e5ceedee087098c04e3b6b8b82710de0563e77
2006-05-24 12:43:26 +00:00
drh
9c0cb0e893 Additional tests for ticket #1821. (CVS 3189)
FossilOrigin-Name: b93e3fb02aeff7fe6cae56c3a45c43ffdb2f030b
2006-05-23 23:25:09 +00:00
drh
8159a35f46 Fix type coercion rules for the IN operator. Ticket #1821. (CVS 3188)
FossilOrigin-Name: 6e5a49762166a942e1b2c3beae8a30c07187eb10
2006-05-23 23:22:29 +00:00
drh
c44135657c If an sqlite3_mprintf() call uses a disallowed internal-use-only conversion
character, then abort the call with a -1 error code.  Ticket #1818. (CVS 3187)

FossilOrigin-Name: 9d7297b9ef6ca2f35116e37f993bb029cf03d4f0
2006-05-22 22:04:00 +00:00
drh
db5138885b Adjust the default weights on indices so that an index that matches more
terms of the where clause wins (by default) over one that matches fewer.
Ticket #1808. (CVS 3186)

FossilOrigin-Name: 249b579f83b2922e3e03037186a9402af951e6d1
2006-05-11 23:14:59 +00:00
drh
2886cc0783 Fix documentation typo: The name of the competing database engine is
"Firebird", not "Firefox". (CVS 3185)

FossilOrigin-Name: 8be6a39d7108839b0fb298a2d536d68ebca86d66
2006-05-11 13:33:14 +00:00
drh
ffe0f8901e Correctly handle multi-column indices where multiple columns are constrained
by IN operators with subqueries on the right-hand side.  Ticket #1807. (CVS 3184)

FossilOrigin-Name: b16541ba5e6a9514f9f317888117c68b6818f9cb
2006-05-11 13:26:25 +00:00
drh
c806d8570e Fix comments on the implementation of the SUM() function. (CVS 3183)
FossilOrigin-Name: a8909f3e5fc67ac1ba7d1abd7fb0f4004fec5984
2006-05-11 13:25:39 +00:00
drh
c1f4494e65 Out-of-memory checks added to tclsqlite.c and shell.c. Tickets #1805 and #1806. (CVS 3182)
FossilOrigin-Name: 364031d6e512b992a7147bbc8e046c20c0c5335a
2006-05-10 14:39:13 +00:00
drh
f3a5888dde Fix error processing in Lemon. SQLite does not use this feature of lemon
so it is uneffected. (CVS 3181)

FossilOrigin-Name: 864cac960390a31c240d34ffd62bb084ab780267
2006-05-08 15:14:19 +00:00
drh
8ca0c724b5 Automatically increase the size of the pager hash table as the number
of in-memory pages increases.  Tickets #1790 and #1799. (CVS 3180)

FossilOrigin-Name: ef8e9886f40c8528604264308f5e4734ae6706c5
2006-05-07 17:49:38 +00:00
drh
a28ca908e3 Fix a typo on a webpage. Ticket #1792. (CVS 3179)
FossilOrigin-Name: 2702205277f45aadd2f07d51f71af4efd266228f
2006-05-03 23:39:36 +00:00
drh
605ad8fb69 Faster :memory: database COMMITs. Ticket #1790. (CVS 3178)
FossilOrigin-Name: 8f820e435272c0a4861421508c7e6f2979c2750f
2006-05-03 23:34:05 +00:00
drh
f42bacc2f1 Get LIMIT 0 working on subqueries. Ticket #1784. (CVS 3177)
FossilOrigin-Name: 7f3ef7ddba22d69a23e656836ba76738c9652b4d
2006-04-26 17:39:34 +00:00
drh
e2b3909d63 Additional information about index sorting in EXPLAIN QUERY PLAN. (CVS 3176)
FossilOrigin-Name: 39dd969527a107b2a6bb94dfc35d93850917faa8
2006-04-21 09:38:36 +00:00
drh
cdc35e9343 Remove a superfluous call to access() in the unix driver. Error spotted
by Coverity. (CVS 3175)

FossilOrigin-Name: 4f195aa1ebef5129e6f912e78b3d5f97b393a06c
2006-04-19 01:24:53 +00:00
drh
a49b8611b9 Allocate enough memory for the worst-case UTF-16 to UTF-8 conversion.
Ticket #1773. (CVS 3174)

FossilOrigin-Name: 2a0120c0f06d17185ede773729d97c93f90923ff
2006-04-16 12:05:03 +00:00
drh
18e87cff0a Allow constant terms in the ORDER BY or GROUP BY clauses. Ticket #1768. (CVS 3173)
FossilOrigin-Name: d83e0230c0c4909cb035e266beffc0967526d9c1
2006-04-11 14:16:21 +00:00
drh
a06ab2ca23 Follow-up to check-in (3164). Make sure SQLITE_NOMEM is returned after
a memory allocation failure.  It is not sufficent to return an "out of memory"
error message.  The return code needs to be SQLITE_NOMEM. (CVS 3172)

FossilOrigin-Name: 9d95750e8556aef20a637a815652d547ed2f887c
2006-04-10 13:37:47 +00:00
drh
15abd02897 Variable declarations should come before code. Ticket #1763. (CVS 3171)
FossilOrigin-Name: 9682f84401f7e21630246e1c37351425b78b7afa
2006-04-08 19:14:53 +00:00
drh
f07e7d502e Reorder code so that it compiles with SQLITE_OMIT_MEMORYDB. Ticket #1754. (CVS 3170)
FossilOrigin-Name: 1929e37d5e691f9d2bec01deb7bdbbbb6f5ace01
2006-04-07 13:54:46 +00:00
drh
30bcf5dbaf Return the correct declared column type, origin column name, origin database
name, etc. from aggregate queries.  Ticket #1726 and #1755. (CVS 3169)

FossilOrigin-Name: e64809f0ae98ce9d152cf030cae72bf3df3e2403
2006-04-07 13:50:37 +00:00
drh
502b962b2d Avoid the use of atof(). Ticket #1756. (CVS 3168)
FossilOrigin-Name: 76aef93c3e113b0077f534a437a339be2b15ca3d
2006-04-07 13:26:42 +00:00
drh
c65ff65f55 Version 3.3.5 (CVS 3167)
FossilOrigin-Name: a091a61d8832ad3454231f480ec605101bb9363a
2006-04-05 13:16:48 +00:00
drh
bdb754bd12 Fix typos in the previous check-in. (CVS 3166)
FossilOrigin-Name: 119ec402281c142359cfe5ccf1416bf69eed103f
2006-04-05 12:50:08 +00:00
drh
9100726972 Preparing for the release of version 3.3.5. (CVS 3165)
FossilOrigin-Name: 159fb92bd5290098986709f5d9ff8183e9059d53
2006-04-05 12:15:11 +00:00
drh
6103fe972e Make sure SQLITE_NOMEM is reported out on a malloc failure in an ATTACH
even if the malloc failure reports within a nested calls to sqlite3_prepare(). (CVS 3164)

FossilOrigin-Name: 3538a4e30fb5131b461bb0cf72cada63e9724e14
2006-04-05 11:57:37 +00:00
drh
9d578358ee Add documentation on new sqlite_authorizer callback types. Ticket #1744. (CVS 3163)
FossilOrigin-Name: fdbff3f145296d5dcba8987c25629e27353e2ab0
2006-04-05 01:08:35 +00:00
drh
401361b8b6 Documentation typos. Tickets #1749 and #1750. (CVS 3162)
FossilOrigin-Name: 51b35ace203a33f6f04f1139ca8ab652c5c76f9a
2006-04-05 01:02:08 +00:00
drh
9b8f447b36 Changes to get SQLite running on machines that use the EBCDIC character set. (CVS 3161)
FossilOrigin-Name: 4342b4997199241cafd6120c6abda665770e270c
2006-04-04 01:54:55 +00:00