Commit Graph

3125 Commits

Author SHA1 Message Date
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
drh
a5cc357747 Do not strip windows DLLs because this prevents them from being relocatable.
Ticket #1474. (CVS 3160)

FossilOrigin-Name: 94054cd997a67541547cf593bfbba7da4f9e31ce
2006-04-02 11:57:12 +00:00
drh
41b070ed8b Remove mention of the REVERSE collating sequence from the documentation. (CVS 3159)
FossilOrigin-Name: bd6876a1a946a9b266b31d776081464de7c7f437
2006-04-01 14:38:41 +00:00
drh
e4df0e7497 Properly record the names of triggers even if the name is quoted.
Ticket #1737. (CVS 3158)

FossilOrigin-Name: 4ba280ddd66d5cbf617263d6300b7582f65d47a9
2006-03-29 00:24:06 +00:00
drh
27436af790 Compile-time option to use only 32-bit integers. (CVS 3157)
FossilOrigin-Name: aedadfc3e47efa28ff81d7789b54fba9fcc128db
2006-03-28 23:57:17 +00:00
drh
4dd238a51d Join optimizer enhancements. (CVS 3156)
FossilOrigin-Name: 0039888f9132dc7461af4ae448292a0ce9adf804
2006-03-28 23:55:57 +00:00
drh
7aa8f8588b Extra asserts to prove that certain reported errors in btree.c are not really
errors. (CVS 3155)

FossilOrigin-Name: c64542d0e8efd6daecb037009474f4448793e4c0
2006-03-28 00:24:44 +00:00
drh
d8f50c4957 Work around a bug in GCC 4.0.2. (CVS 3154)
FossilOrigin-Name: fe0920c7922bfdbefbc0107fb9170d98bec2dcef
2006-03-26 20:49:17 +00:00
drh
923782530b SQLite now always chooses the column names for compound selects using
the left-most select.  This makes SQLite work like other SQL database,
but it also is a change from historical behavior and may break some
scripts.  Ticket #1721. (CVS 3153)

FossilOrigin-Name: 80cda9f7ce83f2de6cd2fdaf6150bbc35b670fee
2006-03-26 01:21:22 +00:00
drh
229caa369a Add code to report an error on a recursive trigger, but leave it
commented out - turning it on will likely break a lot of code. (CVS 3152)

FossilOrigin-Name: c83ec81d53f756660cafbbdaf9cf92e9e4bab4ad
2006-03-25 15:52:19 +00:00
drh
dad23147ca Add a note to the API documentation emphasizing that the filename argument
to sqlite3_open() must be UTF-8.  Tickets #1713, #1533. (CVS 3151)

FossilOrigin-Name: b0111f43e4f82f0c3144d1e6348d9e5fae504d95
2006-03-25 14:03:42 +00:00
drh
6205d4a47b Make sure the rootpage values in the symbol table are correctly updated
when dropping tables and indices in autocommit mode.  Ticket #1728. (CVS 3150)

FossilOrigin-Name: 1c582dd11304f4421da2fa451f52b313b541270e
2006-03-24 03:36:26 +00:00
drh
d698bc15ef Improvements to comments in build.c. (CVS 3149)
FossilOrigin-Name: 986208a364ce0ba81456b54e6561a277fb19309c
2006-03-23 23:33:26 +00:00
drh
5229ae4df5 Get autovacuum and in-memory databases working together. Ticket #1727. (CVS 3148)
FossilOrigin-Name: 21446df6420df00468867f1131c28604a1ae91a3
2006-03-23 23:29:04 +00:00
drh
b912b2889c Use the pread()/pwrite() interface on Posix if compiled with -DUSE_PREAD=1.
Note that on Linux this is slower and does not work for large files. (CVS 3147)

FossilOrigin-Name: 5a24f61981df4d8b696f03372eba2d37228906d9
2006-03-23 22:42:20 +00:00
drh
4eeb1ffa97 Improvements to comments. No changes to code. (CVS 3146)
FossilOrigin-Name: 01e164da67fde3a89abeadd5973ead7a74e23a51
2006-03-23 14:03:00 +00:00
drh
a154dcd706 Get the build to run with -DSQLITE_OMIT_SHARED_CACHE. (CVS 3145)
FossilOrigin-Name: 15e3b183bc554f729ce99c7daa5e36cdbcfa93fa
2006-03-22 22:10:07 +00:00
drh
05a8298338 Increase test coverage to above 98%. (CVS 3144)
FossilOrigin-Name: 8ae6ccc715b081cd422e847cd9e5cc22b04d8512
2006-03-19 13:00:25 +00:00
drh
f8875400e4 Miscellaneous code cleanup. (CVS 3143)
FossilOrigin-Name: 8f60139f688903f0e635b0a904ab9ca401fbe71f
2006-03-17 13:56:34 +00:00
drh
b73857ff4d Code and comment cleanup for the sorting optimization of the previous check-in. (CVS 3142)
FossilOrigin-Name: f3fbe72733b49264a6e0a91bf65c7fd80c7b65ea
2006-03-17 00:25:59 +00:00
drh
cdd536f0fd Much faster sorting when there are a large number of columns in the
result set. (CVS 3141)

FossilOrigin-Name: 6b3717aeb4ac45a433f2a30bdd0264ed728676e1
2006-03-17 00:04:03 +00:00
drh
3752785f93 Fix some compiler warnings. (CVS 3140)
FossilOrigin-Name: 6c5175bc0f98e4ce715b099394f3fdc878ed82e8
2006-03-16 16:19:56 +00:00