Commit Graph

3277 Commits

Author SHA1 Message Date
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
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
drh
3bc0e05c61 Make provisions in the code to support Provisions to support caching of
serialized statements in the SSE extension. (CVS 3139)

FossilOrigin-Name: 5048fae04227857c064c0ba48eb11bedeb467df0
2006-03-16 14:05:14 +00:00
drh
fd2d26bb7d Performance improvement in sqlite3VdbeAddOp(). (CVS 3138)
FossilOrigin-Name: 6bcbe8fcad35de6e9b90e7776bd262fdf7cbc28e
2006-03-15 22:44:36 +00:00
drh
aa01c7e2cd Fix CHECK constraints to use alternative conflict resolution. Ticket #1717. (CVS 3137)
FossilOrigin-Name: c0d20fa97f94313e6b7ee5b4baa236ef5b664d76
2006-03-15 16:26:10 +00:00
drh
afed086386 Set and clear the full_column_name flag using direct invocation rather than
the execsql tcl command so that the select1 test works with the serialized
statement extension. (CVS 3136)

FossilOrigin-Name: 4d70013a6a42a58bc7af3a87bf79c131a0070e96
2006-03-14 13:10:42 +00:00
drh
fe9a9145d1 Move the PENDING_PAGE to a very large value if disk I/O is omitted. (CVS 3135)
FossilOrigin-Name: f07181739f82b0d23f934f51b97e67c32efe6f42
2006-03-14 12:59:10 +00:00
drh
91171cde62 Make sure sqlite3FindCollSeq() returns NULL after a malloc() failure. (CVS 3134)
FossilOrigin-Name: 0e05355f3ca795f0ab959553e6c9462e5483c3b2
2006-03-14 11:08:27 +00:00
drh
03b808a694 Get parserless builds working again. (CVS 3133)
FossilOrigin-Name: 5ddc09a5e4d81a73228cd8038c6dc345b1fdf4af
2006-03-13 15:06:05 +00:00
drh
aa701b2827 Fix documentation to show the correct return type from sqlite3_db_handle().
Ticket #1716. (CVS 3132)

FossilOrigin-Name: f4fb047d0a0939ab6a25b75999501f5956e9f67c
2006-03-13 14:31:39 +00:00
drh
cfed7bce7e Changes to get the Serialized Statement Extension working again. (CVS 3131)
FossilOrigin-Name: 255fdbe6fa31ce276a8e6511af4ec6c36a741c20
2006-03-13 14:28:05 +00:00
drh
8aa34ae0b1 Additional changes due to Coverity scans. (CVS 3130)
FossilOrigin-Name: a69f697d50124f2c0c654d56390ae83a4ac5e9e8
2006-03-13 12:54:09 +00:00
drh
ff3b170023 Add an assert() to demonstrate that Klockworks is wrong about an aleged bug. (CVS 3129)
FossilOrigin-Name: 0910022be3ec8ce540e0e6adce2eed7a7cd28fd3
2006-03-11 12:04:18 +00:00
drh
643054c18b Correct names returned from a query against a view. Ticket #1709, #1688, #1711. (CVS 3128)
FossilOrigin-Name: 36830fafa405c9eae4795045efc6843394c67555
2006-03-09 17:28:12 +00:00
drh
86b7f57555 Remove all reference to EXTERN from tclsqlite.c. Ticket #1687. (CVS 3127)
FossilOrigin-Name: b4d3e0d528c7d17fa3d05956a188cd4d431204b2
2006-03-06 23:30:51 +00:00
drh
43617e9ab9 Code changes resulting from Coverity analysis.
http://scan.coverity.com/  Found 1 potential segfault in sqlite3_mprintf().
Also 2 failures to fclose() following a malloc() failure.  And lots of
cases where unnecessary conditionals could be removed from the code. (CVS 3126)

FossilOrigin-Name: e510e6dd9d6261f33b853af3b32d155b9d6b63b3
2006-03-06 20:55:46 +00:00
drh
c001c58a72 Pager performance enhancements. (CVS 3125)
FossilOrigin-Name: 9c26570743d878dee963e37728969fb30a2fb436
2006-03-06 18:23:16 +00:00
drh
f1d83a7134 Fix typo in documentation. Ticket #1578. (CVS 3124)
FossilOrigin-Name: cb2e009f1748e8c4945e85a3d36b4435003412f0
2006-03-03 21:39:54 +00:00
drh
b806798865 EXPLAIN sets the length of its text return values correctly. Ticket #1583. (CVS 3123)
FossilOrigin-Name: 34b560e81170b33b766a6a7cd462a227425c15d9
2006-03-03 21:38:03 +00:00
drh
bfa8b1020b The table_info pragma shows column affinity as "" if there is no column
affinity.  Ticket #1570. (CVS 3122)

FossilOrigin-Name: 5cae8d63d9c83f481bd2fbbcfed69df631062651
2006-03-03 21:20:16 +00:00
drh
91c839b86e Make sure the default busy handler uses usleep() when available.
Ticket #1684. (CVS 3121)

FossilOrigin-Name: 43e5462608819e9c2c8bcb4860d4c2d6ecda600c
2006-03-03 20:54:41 +00:00
drh
eae3a0d8c4 The --enable-debug option on configure enables verbose explain and vdbe_trace.
Ticket #1680. (CVS 3120)

FossilOrigin-Name: ee2f706800849a95cc74a08ba0f25d3728dbe3ec
2006-03-03 20:37:52 +00:00
drh
27ed1d90f6 Fix tclsqlite.c to better support Mingw. Ticket #1687. (CVS 3119)
FossilOrigin-Name: da0e843c05fc708d48e396aaab00fb6247180b51
2006-03-03 20:32:18 +00:00
drh
57bacb2282 Ignore leading spaces on text to numeric conversions. Ticket #1662.
Fixes to test cases broken by the recent changes to round(). (CVS 3118)

FossilOrigin-Name: cdca3383c54b33aeafbbdbbb4ae7c90796cf66e5
2006-03-03 19:12:29 +00:00
drh
41714d6f83 Allow WHERE clause terms on the left table of a LEFT OUTER JOIN to
contain aggregate subqueries.  Ticket #1697. (CVS 3117)

FossilOrigin-Name: a286e54e26f9a364127649eeea160d5fa8928faf
2006-03-02 04:44:23 +00:00
drh
d589a92a26 Change the ROUND() function to return a REAL value instead of TEXT.
Ticket #1699. (CVS 3116)

FossilOrigin-Name: 9dbadfb2111f7d7f971e1832db3992ed5851d8b1
2006-03-02 03:02:48 +00:00
drh
e3dd8bb5be Reduce the size of a memory allocation in the windows driver to the
minimum needed.  Ticket #1690. (CVS 3115)

FossilOrigin-Name: 1fe9ca078b77b79ac738a095d8d4c82ae0926286
2006-02-27 23:44:35 +00:00
drh
3e450ec254 Add a test to make sure parser stack overflow is detected and reported. (CVS 3114)
FossilOrigin-Name: 201ab3b5238c4afeb9a9f254f9ed3632b106066d
2006-02-27 23:19:20 +00:00
drh
187e4c6ac9 The parser now permits very large triggers - triggers with 10000 or more
statements. (CVS 3113)

FossilOrigin-Name: b4fa96d0e92182cd8792e88b4540b95912bb9f95
2006-02-27 22:22:27 +00:00
drh
8fc3345f29 Detect stack overflow in the parser and report an error. (CVS 3112)
FossilOrigin-Name: bd2c38f4670d1243284f2431b5e0712a6d1de1d7
2006-02-27 21:58:07 +00:00
drh
580eeaf348 Additional compiler warnings suppressed. (CVS 3111)
FossilOrigin-Name: a359b1817e85a9c5f31085817ae70e3e0b8ac7a7
2006-02-24 03:09:37 +00:00
drh
74161705f1 Remove unused parameters on internal APIs. Suppress warnings from
CodeWarrior. (CVS 3110)

FossilOrigin-Name: 4b22e4b847f8d5c29830baea541194ef3a0c4811
2006-02-24 02:53:49 +00:00
drh
874abbed68 Make sure the random() function always returns a value that can be passed
to abs(). (CVS 3109)

FossilOrigin-Name: 5d2e7ea01989fc9ba2c79d192760bc29f8cab463
2006-02-23 21:51:12 +00:00
drh
52fc849a3c Detect integer overflow in the abs() function. The random() function
now provides 64 bits of randomness instead of just 32.  Fix bugs in
testing logic of test4.c. (CVS 3108)

FossilOrigin-Name: 942c509595a2a300e798e6b048ad7fc3bc54af43
2006-02-23 21:43:55 +00:00
drh
fcce93f62c New compile-time option SQLITE_SECURE_DELETE takes care to overwrite deleted data with zeros. (CVS 3107)
FossilOrigin-Name: 614fac906807b8c75e04effc01666874d13ce636
2006-02-22 03:08:32 +00:00
drh
e134ff1ea8 Always generate code, even if it is a no-op, for CREATE and DROP statements
that use the IF EXISTS or IF NOT EXISTS clause. (CVS 3106)

FossilOrigin-Name: f8173e6aea8e90f64f5907f3f7ff4f34281f40da
2006-02-18 16:36:45 +00:00
danielk1977
8ae59d5233 Fix bug preventing compliation without MEMDEBUG when ENABLE_MEMORY_MANAGE is defined. (CVS 3105)
FossilOrigin-Name: 76912b33b1a15ee4baea9f7c8685933b4d551e91
2006-02-17 15:01:36 +00:00
danielk1977
ddfb2f036a Ensure temp db is open before executing a pragma like "temp.cachesize = xxx". Fix for #1682. (CVS 3104)
FossilOrigin-Name: 1e4644b2369547da65fcaa9a3c8ddd206a3c82ae
2006-02-17 12:25:14 +00:00
drh
7d9bd4e19e Or the SQLITE_UTF16_ALIGNED with the encoding field in
sqlite3_create_collation and UTF16 strings will always be aligned
on an even byte boundary when passed into the comparison function. (CVS 3103)

FossilOrigin-Name: 7a1701e8c562087d364dff28cd7cad7ca4cdb5ae
2006-02-16 18:16:36 +00:00
drh
7e310a420b Fix more typos in the file format document. (CVS 3102)
FossilOrigin-Name: d7495be8060fe9e8fa2d2f81e215833d7085888b
2006-02-16 00:32:37 +00:00
drh
6f1fcdf80a Fix a typo in the file format document. (CVS 3101)
FossilOrigin-Name: fac0d202e1d9fcc33dc69006a369034ee003e183
2006-02-16 00:31:01 +00:00
drh
e8c1513254 Get the build working again. Fix for check-in (3093) (CVS 3100)
FossilOrigin-Name: 4e6b74b290282fd10fae97df8dfa643a1b7ef0c6
2006-02-15 21:19:01 +00:00
drh
8ba2b34883 Mention the NOT unary operator in the documentation. (CVS 3099)
FossilOrigin-Name: 3eca2d98683eb1b3b99604b07337347ad45e42f6
2006-02-15 17:30:31 +00:00
drh
94e4f82f4a Update the configure script to use AC_HELP_STRING. (CVS 3098)
FossilOrigin-Name: 92be79debf328b9b2aac6509ed1dd94528306d3b
2006-02-15 02:00:25 +00:00
danielk1977
16825cbebb test_async.c: Writer-thread should not relinquish mutex when writing a file for which only one file handle is open (fixes bug introduced in (3093)). (CVS 3097)
FossilOrigin-Name: f0c45b7eab219ee812dbd2eb5e1c39fdf52a0ff2
2006-02-14 14:46:41 +00:00
danielk1977
2d9fcaa61c Account for a malloc failure in the asynchronous writer thread in test_async.c (CVS 3096)
FossilOrigin-Name: 2f2a8a69cb380dc30b85a792c369020fec3c79a5
2006-02-14 14:02:08 +00:00
danielk1977
bf623f25cd Fix bug in test_async.c version of OsFileSize(). (CVS 3095)
FossilOrigin-Name: 239e53b4f29b4faf2dbdc2aebd2332ad25b14286
2006-02-14 13:48:33 +00:00
danielk1977
be29bfc0b5 Add simple io error tests for test_async.c. (CVS 3094)
FossilOrigin-Name: 528dfb71801bb7b8a66944db6f32cc3dc0054118
2006-02-14 13:25:43 +00:00
danielk1977
750b03e543 Changes so that test_async.c works with memory management turned on. (CVS 3093)
FossilOrigin-Name: f4150c29df2774b4422d4296d913cdbcee62c859
2006-02-14 10:48:39 +00:00
drh
4eb9a9792a Disable the /./ and /../ collapser logic in sqlite3OsFullPathname under Unix. (CVS 3092)
FossilOrigin-Name: 111a426b3e2fae77c9e6c3cd903fd80652b23720
2006-02-13 18:42:21 +00:00
drh
97bbdc0aa2 Fix a bug in the handling of sqlite3OsTruncate by the test_async.c demo.
Added trans.test to the suite of tests for asychronous I/O. (CVS 3091)

FossilOrigin-Name: 5b16c43542194d6c736bf7aadaaa7f31ff12af31
2006-02-13 18:35:06 +00:00
drh
89ea93121d Add in-process file locking to test_async.c. The unix implementation of
sqlite3OsFullPathname() now attempts to remove /./ and /../ elements from
the path. (CVS 3090)

FossilOrigin-Name: 42379c623073eb541d053c2dff9f49087fb290f8
2006-02-13 17:03:47 +00:00
drh
99681dbbdb Fix a deadlock problem on the sqlite3async_wait test interface. Improvements
to tracing in test_async.c. (CVS 3089)

FossilOrigin-Name: 58c6d501385c6f7656290e8451e28be3fc45843f
2006-02-13 15:29:32 +00:00
drh
fc8748a772 Improvements to the TRACE macro in test_async.c. (CVS 3088)
FossilOrigin-Name: 4c6dfec54fc128644e066c04902433f8df30672e
2006-02-13 14:49:38 +00:00
drh
4b74b26052 I/O errors shut down all processing on the same file in test_async.c. (CVS 3087)
FossilOrigin-Name: 4366e7121703a18ebb799dfa4f168b3b2508604e
2006-02-13 13:50:55 +00:00
drh
4452838a65 Fix overlapping read logic in the test_async.c demonstration. (CVS 3086)
FossilOrigin-Name: ad25127b067b3135694ddb0de552aad981640669
2006-02-13 13:30:19 +00:00
drh
5c32354cb7 Fix a memory leak in test_async.c. (CVS 3085)
FossilOrigin-Name: 904ffa4dfb60e00b01db17049de2f4934537f3d8
2006-02-13 13:23:57 +00:00
drh
8c08e86187 I give up. SUM() now throws an error on integer overflow. Those of us
who think this is goofy can use TOTAL() instead.
Tickets #1664, #1669, #1670, #1674. (CVS 3084)

FossilOrigin-Name: 1c3e6002cd9fd5d30e197448c4d98cdd59163cac
2006-02-11 17:34:00 +00:00
drh
b151ac0015 Version 3.3.4 (CVS 3083)
FossilOrigin-Name: 033aaab67f3759f2f65d047ecbc027de9b37d7a7
2006-02-11 02:12:00 +00:00
drh
e9565a6d94 Fix typo in os_unix.c. (CVS 3082)
FossilOrigin-Name: c0e987bcfa899c073d54fbd5a3606c704b8bc3d9
2006-02-11 02:03:52 +00:00
drh
71a355e379 Prepare for the release of 3.3.4. (CVS 3081)
FossilOrigin-Name: 951f3322c0eac4ae311c84f2d15f2c264f5c473a
2006-02-11 01:56:54 +00:00
drh
ac530b1ab4 Add support and documentation for the fullfsync pragma. Also include
some other unrelated documentation updates. (CVS 3080)

FossilOrigin-Name: f2069d0bf3161591535e68b7389792e9cb7fe043
2006-02-11 01:25:50 +00:00
drh
78aecb7250 Make sure pointers are always aligned to 8-bytes when creating internal
Index structures. (CVS 3079)

FossilOrigin-Name: d20a33ac2a29a3410fa28078dd122d87d8fca4fe
2006-02-10 18:08:09 +00:00
drh
0ac0719087 Clean up pointer misuse in vdbe.c. (CVS 3078)
FossilOrigin-Name: 9e82b927490bc152f61c4ee3e95b6d08ea16c858
2006-02-10 14:02:07 +00:00
danielk1977
12f5e2018d Minor test file modifications for builds compiled with OMIT options. (CVS 3077)
FossilOrigin-Name: c468aa349db4e6571711bf94781b88aa3c811d03
2006-02-10 13:33:30 +00:00
danielk1977
ad2dccde5f Add documentation for new APIs. (CVS 3076)
FossilOrigin-Name: 84c2a5c4d753d1e39136ac7e80ac816442af0a49
2006-02-10 13:14:20 +00:00
drh
6a3d670205 More comments on the unix locking code. Ticket #1672. (CVS 3075)
FossilOrigin-Name: 4b6f5688843ebe39f6bd3e863666a44d486fbe0f
2006-02-10 13:11:32 +00:00
danielk1977
ff293cad83 Add trivial tests to increase coverage of sqlite3_table_column_metadata(). (CVS 3074)
FossilOrigin-Name: 424ce5ecd0aa9860afb73180e4d09987f3a9300a
2006-02-10 12:48:55 +00:00
danielk1977
266664ddef Work around the case where the pending-byte page is also a a pointer-map page. Ticket #1667. (CVS 3073)
FossilOrigin-Name: 5ea87fbbe09279e70d3a22b8cd9994befffeac53
2006-02-10 08:24:21 +00:00
danielk1977
1787ccabed Fix the origin APIs so that they correctly handle views and subqueries that cannot be flattened. (CVS 3072)
FossilOrigin-Name: 5e8611e13de08d704cea6c9c4466c3af842a7a1a
2006-02-10 07:07:14 +00:00
drh
5c11123df8 Fix deadlock problem in the unix mutex. Ticket #1672. (CVS 3071)
FossilOrigin-Name: a6c30be214bb575f9ecfa299b7a597d21e3d3aca
2006-02-10 04:33:12 +00:00
danielk1977
4b1ae99d01 Add a symbol P3_TRANSIENT to pass to VdbeSetColName() to make it copy the string parameter up to the first 0 byte. (CVS 3070)
FossilOrigin-Name: 6ebb8f9bb2f6a3f7fde19267727aa4e2d878a416
2006-02-10 03:06:10 +00:00
danielk1977
955de52c9c Add the column_origin_name() etc. APIs. (CVS 3069)
FossilOrigin-Name: 82f502cdc1fead3bf7e3190d5c9db3aee6919ed4
2006-02-10 02:27:42 +00:00
drh
86631a5ad1 Ignore errors when when calling fsync() on a directory. Ticket #1657. (CVS 3068)
FossilOrigin-Name: d54d3b82c468b7e6dd39aac6aac56b26b3918c37
2006-02-09 23:05:51 +00:00
drh
0b2a5eeae9 Allow '@' to introduce host parameter names for compatibility with
MS SQL Server.  Ticket #1671. (CVS 3067)

FossilOrigin-Name: 0738ef818d4023a5159b6bee0a65f0b83d01c1d5
2006-02-09 22:24:41 +00:00
drh
29d7210819 SUM never gives an error. An integer result is returned for exact results
and a floating point result is returned for approximate results.
Tickets #1664, #1669, and #1670. (CVS 3066)

FossilOrigin-Name: 9e04f8fdf1ec0dc36effb55c05d075b3b4777fef
2006-02-09 22:13:41 +00:00
drh
cf85a51c2a Deprecate the sqlite3_aggregate_count() API. Make sure all aggregate counters
are 64 bits.  Remove unused StdDev structure from func.c.  Ticket #1669. (CVS 3065)

FossilOrigin-Name: 44bd7ba432123ec77904b862d11521f4ab96d2cf
2006-02-09 18:35:29 +00:00
drh
76c730c18f Integer overflow in SUM causes an exception. Ticket #1669. (CVS 3064)
FossilOrigin-Name: c72b946198128cbceb12dffbdf4706d9fda0fd72
2006-02-09 17:47:42 +00:00
drh
9f6696ac9f Back out check-in (3058) - it breaks too much application code. (CVS 3063)
FossilOrigin-Name: 731f1e3245fafbda24355d5bdc5b249c4229305f
2006-02-09 16:52:23 +00:00
danielk1977
deb802cd83 Add the sqlite3_table_column_meta() API. (CVS 3062)
FossilOrigin-Name: 1ac72f68c0e9fd63decc97c166f49b405a9d323c
2006-02-09 13:43:28 +00:00
drh
fc6ad39cf8 Avoid overflowing the 48-bit mantissa of a floating point number when
summing large integers in the SUM() function.  Ticket #1664. (CVS 3061)

FossilOrigin-Name: a9169e879de5d5e4192d1681bc3e119fb83e739c
2006-02-09 13:38:19 +00:00
drh
ff22e18b3c Correctly handle COLLATE clauses in tables being modified by an
ALTER TABLE ADD COLUMN command.  Ticket #1665. (CVS 3060)

FossilOrigin-Name: baef2f66be164910881278ea527d2be75ac2e944
2006-02-09 02:56:02 +00:00
drh
6a714ded6c Use 64-bit integers in sqlite3_analyzer. Ticket #1666. (CVS 3059)
FossilOrigin-Name: 8b3068aca7b28d2b6c326f632bb9fe9b4940792d
2006-02-09 02:41:07 +00:00
drh
f7eece6cd9 Add "autoinc" and "collseq" columns to the table_info() pragma. (CVS 3058)
FossilOrigin-Name: 7940a590abb4262c17922fb2dae1d9688279b2ef
2006-02-06 21:34:27 +00:00
drh
4440597187 Keep correct track of the amount of outstanding memory even when the
system memory allocator returns a different number of bytes than
requested.  Ticket #1660. (CVS 3057)

FossilOrigin-Name: 6f5eb74fd93a78ccdc2ddee0936ad4c5b2813720
2006-02-06 21:22:30 +00:00
danielk1977
ab63989d42 Update the per-thread bytes allocated counter with the number of bytes actually allocated, not the number requested. Ticket #1660. (CVS 3056)
FossilOrigin-Name: 3f0a0ff1973079956506daaba9b21912fc76982b
2006-02-06 13:59:42 +00:00
drh
fb8de2dc07 Detect circularly defined views and issue an error message. Ticket #1658. (CVS 3055)
FossilOrigin-Name: f5341529d0cdbd63ce4c33606858158b6093969a
2006-02-05 18:55:20 +00:00
drh
144f20cbc8 Typecast to silence (incorrect) compiler warning. (CVS 3054)
FossilOrigin-Name: 3a04fc45ccc31f2009be812a9c9057844cf4ae3b
2006-02-01 14:39:53 +00:00
drh
0e819f9032 Always register BINARY collating sequences for UTF-16BE and UTF-16LE both.
Formerly we were only registering the native byte order by default.
Ticket #1654.  Note:  There may still be problems with collating sequence
synthesis. (CVS 3053)

FossilOrigin-Name: 3861377bd93453161dfe78a8c1d7a9f919108c8f
2006-02-01 13:50:41 +00:00
drh
570b935c2a In joins of the form: "A, B left C" make sure that the reordering optimization
does not put table A after table C.  Ticket #1652. (CVS 3052)

FossilOrigin-Name: 248b9be93d9532e31c640432b75c3310e180acb3
2006-02-01 02:45:02 +00:00
drh
8e2e2a1624 Added support for the -enable-thread-override-lock option on the
configure script. (CVS 3051)

FossilOrigin-Name: 82f558bd11ddb20792fbc9f579b40ad38d7f6af5
2006-02-01 01:55:17 +00:00
drh
5062d3a048 Add the SQLITE_THREADS_OVERRIDE_LOCKS compile-time option that disables
the run-time test to see if threads can override each others locks on unix. (CVS 3050)

FossilOrigin-Name: e83a19e8cb6d721b02502925b362f2e86b2de742
2006-01-31 23:03:35 +00:00
drh
15b9a15a8d Patches to support linux on embedded platforms. (CVS 3049)
FossilOrigin-Name: a088eb6d6eda70d89add1e5d95be5efda6c0de67
2006-01-31 20:49:13 +00:00
drh
0850b5374c Fix some pointless warnings from overly-pedantic compilers. (CVS 3048)
FossilOrigin-Name: b922c8e45f9a7799583d8b42875b27032fd71422
2006-01-31 19:31:43 +00:00
drh
5e6078bdba 3rd parameter to sqlite3_prepare() should be -1 if the string length is
unknown.  Passing in zero causes a zero-length SQL statement to be
prepared, which is a no-op.  Ticket #1651.  This bug introduced by the
fix for ticket #1650. (CVS 3047)

FossilOrigin-Name: 1e68ac590d9edd3784cd7afd6705a30f01740d0d
2006-01-31 19:07:22 +00:00
drh
99049b194a Version 3.3.3 (CVS 3046)
FossilOrigin-Name: 10a3f5654616cfe5b245f1348249101a7d956222
2006-01-31 16:21:13 +00:00
drh
4e15354c38 Put in the correct release date for version 3.3.3. (CVS 3045)
FossilOrigin-Name: 1133a84039e6a81855445b5309b36136f0a7d149
2006-01-31 16:20:50 +00:00
drh
7aae9943f5 Fix an problem in the test scripts that was show false failures under
windows. (CVS 3044)

FossilOrigin-Name: 0cf4e3c6e767cab7e145c50f1fa7097844ad5abc
2006-01-31 15:19:45 +00:00
drh
81f2ccdce9 Authorization callback on the ALTER TABLE ADD COLUMN command.
Ticket #1479. (CVS 3043)

FossilOrigin-Name: 461f586973431438bb074aa3077f705e9b1b80da
2006-01-31 14:28:44 +00:00
drh
77e96d142a Remove support for the non-standard ON CONFLICT clause on CREATE INDEX.
Ticket #1486.  The ON CONFLICT clause has never worked on CREATE INDEX so
removing it should not break anything. (CVS 3042)

FossilOrigin-Name: 669bcf5ab694359485ab30913d8d9e4926f41789
2006-01-30 23:04:51 +00:00
drh
3caf58ea65 Memory DB works with autovacuum. (CVS 3041)
FossilOrigin-Name: 34dff874a2bf8331be87310809ba11d813fadb7d
2006-01-30 22:48:44 +00:00
drh
9051a420d6 Make sure the 3rd parameter to sqlite3_prepare() is honored. Ticket #1650. (CVS 3040)
FossilOrigin-Name: 9d53cc880fd2aa3bd4b4a59f666b57b0b7864e8f
2006-01-30 22:35:43 +00:00
drh
f28b266d43 Clarify that the nBytes parameter to sqlite3_prepare is always the
number of bytes and never the number of characters.  Ticket #1646. (CVS 3039)

FossilOrigin-Name: 8efc8c57103cab61bc06842391744bec69c24428
2006-01-30 22:12:31 +00:00
drh
f04902e8f6 Documentation updates in preparation for the release of 3.3.3 stable. (CVS 3038)
FossilOrigin-Name: 6537b5713a9541ec5712ae2564a801a07f93f4c8
2006-01-30 16:20:29 +00:00
danielk1977
8f238103ed Add a couple of extra test cases for #1644. (CVS 3037)
FossilOrigin-Name: e10d229ff21ac884dda24f0ff936aaeb36ff9a3f
2006-01-30 15:41:53 +00:00
drh
fd426c6611 Expire all prepared statements whenever there is a change to the schema
of the TEMP database.  Ticket #1644. (CVS 3036)

FossilOrigin-Name: 4cd4efaf5ef40a07e76fba3073bbd2600ca7e327
2006-01-30 15:34:22 +00:00
drh
afa5f68091 Fix bug with CHECK constraints contain an IN operator. Ticket #1645. (CVS 3035)
FossilOrigin-Name: 944df310ce8d32798135c70becee7845676520ae
2006-01-30 14:36:59 +00:00
danielk1977
4d5238f0c0 Fix a couple of (harmless) intel compiler warnings. (CVS 3034)
FossilOrigin-Name: 2e23231f0c10b2bba9e08ea47859e2c0ffa84c76
2006-01-27 06:32:00 +00:00
drh
0ed4fcdcac Enhanced comments on the opcode.h building script. (CVS 3033)
FossilOrigin-Name: 7ccebf68eb1f707c2349004ae33575b484cc31a2
2006-01-26 14:29:58 +00:00
danielk1977
8c831cdd2e Fix an error in the collation sequence examples in datatype3.html. Ticket #1641. (CVS 3032)
FossilOrigin-Name: 1658ea53c929f26741d788d170368d37ae5fd105
2006-01-26 13:25:08 +00:00
danielk1977
9dfa60bf8c Add omittest.tcl script to automate testing compile-time OMIT symbols. (CVS 3031)
FossilOrigin-Name: 540d28a7d355d846cedfc21fb5156379fec830ce
2006-01-26 13:11:36 +00:00
danielk1977
ace3eb21b4 Handle a malloc() failure in resizeOpArray(). (CVS 3030)
FossilOrigin-Name: 5cecb4527b40c245cc6f3d6ce9f33466045d1469
2006-01-26 10:35:04 +00:00
drh
f248e21136 Minor comment changes and code optimizations. (CVS 3029)
FossilOrigin-Name: 9e55dcd1a57f2b6ad5b267e8fa58c58b266dc8c7
2006-01-25 22:50:38 +00:00
drh
2d02a67db3 Rename files using for testing only so that their name begins with "test". (CVS 3028)
FossilOrigin-Name: e4e6a205e4f7c14aae31f26f42a143fce143db1c
2006-01-25 15:55:37 +00:00
danielk1977
8d34dfd656 Handle errors in saving cursor positions during a rollback by aborting all active statements. (CVS 3027)
FossilOrigin-Name: 5df9f022bfb22976f22b996bda169635354b825c
2006-01-24 16:37:57 +00:00
danielk1977
2b8c13e7a7 Save the position of any open cursors before a rollback. (CVS 3026)
FossilOrigin-Name: 32d45bcf746e7e926b8cc8bd038d66e7c2ec6562
2006-01-24 14:21:24 +00:00
danielk1977
f2fa8310f9 Return code was being dropped because of overridden variable in OP_IsUnique. Fix this and the test logic problem that hid it. (CVS 3025)
FossilOrigin-Name: c30705a00d7d9d61fb9cb47a1019b1a186d690a7
2006-01-24 13:09:33 +00:00
danielk1977
f011300000 Rename some variables to avoid hiding others. Also add "static" to two function signatures that were missing it. (CVS 3024)
FossilOrigin-Name: d86f18a4277ebffb644ba2e574e0b697c8bbf8e4
2006-01-24 12:09:17 +00:00
danielk1977
7246f5b9cb Coverage improvements for main.c. (CVS 3023)
FossilOrigin-Name: 50964ef9b0159bfdcd7eae88b0806957cab184dc
2006-01-24 11:30:27 +00:00
danielk1977
161fb79619 General test coverage improvements. (CVS 3022)
FossilOrigin-Name: 153940af5af4f775fa3b1784931d3fd1e41764c5
2006-01-24 10:58:21 +00:00
drh
a7531c699a Sqlite3_analyzer reports an error if it runs into trouble. (CVS 3021)
FossilOrigin-Name: 388b9262281308d0a9dd16e2fb3df3425c2a491a
2006-01-24 02:19:53 +00:00
drh
5bd719351a Update the publish scripts to correctly build the TCL DLL for windows. (CVS 3020)
FossilOrigin-Name: 5254874a96acf89fe5f76c1628057b73ce66de4c
2006-01-24 02:00:32 +00:00
drh
e09ca2ce83 Version 3.3.2 (beta) (CVS 3019)
FossilOrigin-Name: 1fdde6c5061ceb14baa43402652bdd24e3fa85df
2006-01-24 00:40:03 +00:00
drh
80d56827fe More test script changes to get it to run without -DSQLITE_MEMDEBUG. (CVS 3018)
FossilOrigin-Name: 0ede5e496bc779e96f05602bebadd10f8a208d48
2006-01-24 00:15:15 +00:00
drh
5de03d6cfa Change the release date for version 3.3.2 to January 24. (CVS 3017)
FossilOrigin-Name: 7a2617f6a5990dc711cacc993d7a91e4d7b6a815
2006-01-23 23:53:17 +00:00
drh
7b3822b36b Disable shared-cache OOM tests if not compiled with -DSQLITE_MEMDEBUG. (CVS 3016)
FossilOrigin-Name: 2d896667e460dcdaf83d18bd03050e917d54edc7
2006-01-23 23:49:34 +00:00
drh
36a5005946 Bug fix in the WinCE bindings. (CVS 3015)
FossilOrigin-Name: c57922838a31b45f69ba14ae13df8a612884cb4b
2006-01-23 22:15:07 +00:00
drh
2a3e4a714c More progress toward getting SQLITE_OMIT_FLOATING_POINT to pass tests.
Ticket #1621. (CVS 3014)

FossilOrigin-Name: b52674e5642a9d26b15a5d5c2a6716febaef130a
2006-01-23 21:44:53 +00:00
drh
c693e9e693 Fix the shared pager tests so that they work under windows. (CVS 3013)
FossilOrigin-Name: 4a1a9f3e9df6588bcd4da13456790fbbc58f66de
2006-01-23 21:38:03 +00:00
drh
1b91c729b5 Progress toward getting SQLITE_OMIT_FLOATING_POINT to pass all tests.
Ticket #1621 (CVS 3012)

FossilOrigin-Name: c4c90965c98c591f601cd69c70351c20ba37218a
2006-01-23 21:37:32 +00:00
drh
a86a5b6c7e Bug fix in cases where a compound select has an ORDER BY clause with
multiple terms. (CVS 3011)

FossilOrigin-Name: 4f56949bd69fed6167fa2ae115d0251e8369d796
2006-01-23 18:42:21 +00:00
drh
92915541f0 Add documentation on the IF NOT EXISTS clause to CREATE statements.
Ticket #1608. (CVS 3010)

FossilOrigin-Name: d4e4ba132a94e729ffd220e0ca942cfda87b3a76
2006-01-23 18:14:21 +00:00
drh
f1878b4ada Makefile changes so that builds work on Solaris. Ticket #1604. (CVS 3009)
FossilOrigin-Name: 7addf70445d46cab148496ba2f27ab3764b70f66
2006-01-23 18:06:52 +00:00
drh
c490e7dc92 Bug fix in the ROWID generation logic of the VDBE. I think this
is a benign bug - it never causes a real fault.  But I am not certain. (CVS 3008)

FossilOrigin-Name: dfe282386896967832826d130323c3ff11532873
2006-01-23 17:43:53 +00:00
drh
be1f84c021 Get I/O error tests working on windows. (CVS 3007)
FossilOrigin-Name: 2ef8b85db7607eb0989c5ecf49cc554fa13d894f
2006-01-23 16:25:22 +00:00
drh
2f1a4d106d Fix uninitialized variable in os_unix.c. (CVS 3006)
FossilOrigin-Name: 892e644d20b9d132cf29242a9bca0116ebe6968f
2006-01-23 16:24:54 +00:00
danielk1977
7d3a666f2c Add "#ifndef NDEBUG" around sqlite3pager_iswriteable() (only used in assert() expressions). Also set the internal page number of a page to zero if it fails to initialise. (CVS 3005)
FossilOrigin-Name: 77969c671c6ea1b5a2739f62de2bec10cc651b9e
2006-01-23 16:21:05 +00:00
drh
0acb23dcef Changes to the enc2.test script so that it will run on windows. (CVS 3004)
FossilOrigin-Name: 4c1818ecebc79f5f7e5f4a7843b5fae02a251f47
2006-01-23 15:59:55 +00:00
drh
72aead8102 Cut over the patches to support WinCE. Ticket #1600. (CVS 3003)
FossilOrigin-Name: 436287c2bfe38cf6c39e4c52b1da12f8c0d673ce
2006-01-23 15:54:25 +00:00
drh
6245e0d19c Fix a bug in pager.c that was overwriting freed memory. Comment changes
in util.c. (CVS 3002)

FossilOrigin-Name: 8c7e18c3f2f0487c6125f2d12720669e4d40e760
2006-01-23 15:39:58 +00:00
danielk1977
8a7aea3bb3 Further coverage improvements for pager.c and another IO error bug fix. (CVS 3001)
FossilOrigin-Name: a9ec5ee4724ab993e71ef8b387e2d92f3e74959c
2006-01-23 15:25:48 +00:00
drh
c6dc0f7a79 Fix os_common.h so that the code builds without -DSQLITE_MEMDEBUG. (CVS 3000)
FossilOrigin-Name: 06d6540026568ca69410354ca8d85da78970c94b
2006-01-23 14:05:18 +00:00
danielk1977
7f7bc66ef2 Do not automatically rollback at the btree or pager level if a commit fails. (CVS 2999)
FossilOrigin-Name: 0f6329ef1fe0d5b225b6381fda1e8d800f65ea0f
2006-01-23 13:47:47 +00:00
drh
c93cc42df8 Fix to sqlite3AllocMalloc() when it is a no-op macro. (CVS 2998)
FossilOrigin-Name: 8caa9f95b8a36e34510cf46d518bd63bd8fa0a32
2006-01-23 13:28:53 +00:00
drh
b52076cd7a Do not name variables "operator" because some compilers do not realize that
"operator" is not a reserved word in ANSI-C.  Ticket #1625. (CVS 2997)

FossilOrigin-Name: 1f42a338e2ee90f4c24a9eb19054c4b831dd661f
2006-01-23 13:22:09 +00:00
drh
158ff67b50 Work around buggy malloc() implementations that cause problems on malloc(0).
Ticket #1572. (CVS 2996)

FossilOrigin-Name: ada5490f12795a8d13d0f42077c463709c677846
2006-01-23 13:14:55 +00:00
danielk1977
75bab7d64e Improve coverage of pager.c and fix an IO error handling bug found in the process. (CVS 2995)
FossilOrigin-Name: 6ec8e6b7856a0b394b8497ab9166b882f98124ba
2006-01-23 13:09:45 +00:00
drh
d116739351 Fix additional compiler warnings. Tickets #1615, #1616, #1627 (CVS 2994)
FossilOrigin-Name: 6385628edd79187dff1687815d0101c31248e54f
2006-01-23 13:00:35 +00:00
danielk1977
a1686c9a3b Fixes for OMIT_UTF16 and OMIT_COMPOUND (CVS 2993)
FossilOrigin-Name: f58bbdc0ac6e618686c598aaafb3a41b972e078e
2006-01-23 07:52:37 +00:00
danielk1977
4b202ae2a5 Improve coverage of expr.c and btree.c slightly. (CVS 2992)
FossilOrigin-Name: cc2e8e87cfd474b4dc6833ee0c38e2cd2dd3a494
2006-01-23 05:50:58 +00:00