]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
21 years agoAll REPLACE INTO syntax inside of triggers. Ticket #610. (CVS 1231)
drh [Thu, 12 Feb 2004 17:28:13 +0000 (17:28 +0000)] 
All REPLACE INTO syntax inside of triggers.  Ticket #610. (CVS 1231)

FossilOrigin-Name: a6b862a9db6d409a53cc13e7008b27d4848b5509

21 years agoRemove unused variable. (CVS 1230)
drh [Thu, 12 Feb 2004 15:32:53 +0000 (15:32 +0000)] 
Remove unused variable. (CVS 1230)

FossilOrigin-Name: 74b234264ba2910ebd38e7b7ebbc369108a235cb

21 years agoAlways reload the schema after a rollback. Ticket #594. (CVS 1229)
drh [Thu, 12 Feb 2004 15:31:21 +0000 (15:31 +0000)] 
Always reload the schema after a rollback.  Ticket #594. (CVS 1229)

FossilOrigin-Name: 12c7a83f8e4055c4590983ef212648c781ebd963

21 years agoVACUUM returns SQLITE_INTERRUPT when interrupted. Ticket #593. (CVS 1228)
drh [Thu, 12 Feb 2004 13:02:55 +0000 (13:02 +0000)] 
VACUUM returns SQLITE_INTERRUPT when interrupted.  Ticket #593. (CVS 1228)

FossilOrigin-Name: 2fe9f5101cb0f743532912ece3d37f6c873e7025

21 years agoOnly define _FILE_OFFSET_BITS if it is not already defined. Ticket #605. (CVS 1227)
drh [Wed, 11 Feb 2004 16:38:06 +0000 (16:38 +0000)] 
Only define _FILE_OFFSET_BITS if it is not already defined.  Ticket #605. (CVS 1227)

FossilOrigin-Name: 300c5543dc83c6b7eacb0c81ed06f95004c0f6d8

21 years agoFix the shells so that they always enable the codec if it is available,
drh [Wed, 11 Feb 2004 10:37:23 +0000 (10:37 +0000)] 
Fix the shells so that they always enable the codec if it is available,
even if no key is supplied. (CVS 1226)

FossilOrigin-Name: 95989717e17d52b2306374f5cf7613c3bd4e7801

21 years agoFix an uninitialized variable in expr.c. Ticket #604. (CVS 1225)
drh [Wed, 11 Feb 2004 10:35:29 +0000 (10:35 +0000)] 
Fix an uninitialized variable in expr.c.  Ticket #604. (CVS 1225)

FossilOrigin-Name: 1673bf7c7b64542530ee03328186be33cb88c98d

21 years agoRefactor the interface to the randomness generator. (CVS 1224)
drh [Wed, 11 Feb 2004 09:46:30 +0000 (09:46 +0000)] 
Refactor the interface to the randomness generator. (CVS 1224)

FossilOrigin-Name: f2bdccf4bb2f796aafb64c33e55f62a1794d750c

21 years agoPass all (relevant) regression tests when using the codec. (CVS 1223)
drh [Wed, 11 Feb 2004 02:18:05 +0000 (02:18 +0000)] 
Pass all (relevant) regression tests when using the codec. (CVS 1223)

FossilOrigin-Name: 5200e9edc5fdba0285a3cb1cd808cbf66d7a349e

21 years agoAdjustments to the codec in the pager. (CVS 1222)
drh [Tue, 10 Feb 2004 23:51:05 +0000 (23:51 +0000)] 
Adjustments to the codec in the pager. (CVS 1222)

FossilOrigin-Name: be5122e99caacbeb5e568a2782fe2faf634ad355

21 years agoPerform updates in search order. Ticket #602. (CVS 1221)
drh [Tue, 10 Feb 2004 13:41:52 +0000 (13:41 +0000)] 
Perform updates in search order.  Ticket #602. (CVS 1221)

FossilOrigin-Name: cf1cec74ae039cd7cbc8a1032d29f067dedb4210

21 years agoFix for ticket #603. (CVS 1220)
drh [Tue, 10 Feb 2004 13:19:35 +0000 (13:19 +0000)] 
Fix for ticket #603. (CVS 1220)

FossilOrigin-Name: d0624d257789ac3f4cd3a7473bb741030c999b65

21 years agoMake the pager accessible from the btree structure always, not just during
drh [Tue, 10 Feb 2004 02:57:59 +0000 (02:57 +0000)] 
Make the pager accessible from the btree structure always, not just during
debugging. (CVS 1219)

FossilOrigin-Name: 9c6b4758a4b13a91f71be17751a76c0c14b4d4c3

21 years agoMove the file-format-2 to file-format-3 conversion into sqliteInit(). (CVS 1218)
drh [Tue, 10 Feb 2004 02:27:04 +0000 (02:27 +0000)] 
Move the file-format-2 to file-format-3 conversion into sqliteInit(). (CVS 1218)

FossilOrigin-Name: dcbe2800be2f805818724a7b9e468c4fd4f02529

21 years agoAllow SQLITE_PAGE_SIZE to be redefined on the compiler command-line. (CVS 1217)
drh [Tue, 10 Feb 2004 01:54:28 +0000 (01:54 +0000)] 
Allow SQLITE_PAGE_SIZE to be redefined on the compiler command-line. (CVS 1217)

FossilOrigin-Name: 4c7bf714b5f3d2bb7366367ddf906141a7e36407

21 years agoAfter code is generated for a subquery, delete the Select structure in order
drh [Mon, 9 Feb 2004 14:37:50 +0000 (14:37 +0000)] 
After code is generated for a subquery, delete the Select structure in order
to force the temporary table to be used and to prevent the subquery from
being evaluated a second time.  Ticket #601. (CVS 1216)

FossilOrigin-Name: 1cff18868dab5f8ead8ed8d07e088d7fdda04569

21 years agoAdd test case for ticket #601. (CVS 1215)
drh [Mon, 9 Feb 2004 14:35:28 +0000 (14:35 +0000)] 
Add test case for ticket #601. (CVS 1215)

FossilOrigin-Name: 096312dacb9eb2f8da3cec1504aef8629b505e7f

21 years agoAdd an optional codec to the pager layer. (CVS 1214)
drh [Mon, 9 Feb 2004 01:20:36 +0000 (01:20 +0000)] 
Add an optional codec to the pager layer. (CVS 1214)

FossilOrigin-Name: 2f0c122cfb84dea58d112324a0bdd8b85552a9fa

21 years agoVersion 2.8.12 (CVS 1213)
drh [Sun, 8 Feb 2004 18:10:50 +0000 (18:10 +0000)] 
Version 2.8.12 (CVS 1213)

FossilOrigin-Name: 1736d415d776aa1cbdd33d987d21365ebf260f11

21 years agoPerpare for the 2.8.12 release. (CVS 1212)
drh [Sun, 8 Feb 2004 18:07:34 +0000 (18:07 +0000)] 
Perpare for the 2.8.12 release. (CVS 1212)

FossilOrigin-Name: 93ccd1b1d63b5b914b84b0463f2267bcfaadafa3

21 years agoFix a bug in the VDBE that occurs when a CreateTable or CreateIndex fails. (CVS 1211)
drh [Sun, 8 Feb 2004 06:17:19 +0000 (06:17 +0000)] 
Fix a bug in the VDBE that occurs when a CreateTable or CreateIndex fails. (CVS 1211)

FossilOrigin-Name: 42cfd541dcc31d1ef92387e3fd2346db61d0ecbd

21 years agoAdd the crashtest1.c program used to test the ability of the database to
drh [Sun, 8 Feb 2004 06:06:37 +0000 (06:06 +0000)] 
Add the crashtest1.c program used to test the ability of the database to
survive a program crash or power failure.  Ticket #599. (CVS 1210)

FossilOrigin-Name: 597a59a72d662b291fb09a069547efd08aa5adb1

21 years agoFix inaccuracies and add details to comments in the pager. Change the name
drh [Sun, 8 Feb 2004 06:05:46 +0000 (06:05 +0000)] 
Fix inaccuracies and add details to comments in the pager.  Change the name
of one function to make its purpose clearer.  Ticket #599. (CVS 1209)

FossilOrigin-Name: 48832d35ed0d5ba02908822c749591e76b790c48

21 years agoPreliminary fix for ticket #599. More testing and analysis needed. (CVS 1208)
drh [Sun, 8 Feb 2004 00:40:52 +0000 (00:40 +0000)] 
Preliminary fix for ticket #599.  More testing and analysis needed. (CVS 1208)

FossilOrigin-Name: dc5be2c82b591a385adf02863d89e113272e2ebd

21 years agoRemove undocumented extensions from sqlite_mprintf() and friends in order to
drh [Mon, 2 Feb 2004 12:29:25 +0000 (12:29 +0000)] 
Remove undocumented extensions from sqlite_mprintf() and friends in order to
make it about 10% smaller. (CVS 1207)

FossilOrigin-Name: 0b3f552b986fd89c48c350b0746be93b9d276ecc

21 years agoFix the handling of -init option to the sqlite shell. Ticket #568.
drh [Sun, 1 Feb 2004 01:22:50 +0000 (01:22 +0000)] 
Fix the handling of -init option to the sqlite shell. Ticket #568.
Also add hooks for encrypting the database. (CVS 1206)

FossilOrigin-Name: 3c796de8d1af55944f396f08feaa9e69c1652896

21 years agoFix a bug introduced by the previous check-in. (CVS 1205)
drh [Sat, 31 Jan 2004 20:40:42 +0000 (20:40 +0000)] 
Fix a bug introduced by the previous check-in. (CVS 1205)

FossilOrigin-Name: 04cf22785e68fcd4098e6c10a89386108cd0bf07

21 years agoA few more optimizations to the VDBE. (CVS 1204)
drh [Sat, 31 Jan 2004 20:20:29 +0000 (20:20 +0000)] 
A few more optimizations to the VDBE. (CVS 1204)

FossilOrigin-Name: 06e7ff4cb8c73fd690c6d5b5f530a30d83f4f10c

21 years agoRework internal data structures to make the VDBE about 15% smaller. (CVS 1203)
drh [Sat, 31 Jan 2004 19:22:56 +0000 (19:22 +0000)] 
Rework internal data structures to make the VDBE about 15% smaller. (CVS 1203)

FossilOrigin-Name: 8273c74bd09d1a044cb5154498b0a39939f6e3ed

21 years agoRework the VDBE data structures to combine string representations into the
drh [Fri, 30 Jan 2004 14:49:16 +0000 (14:49 +0000)] 
Rework the VDBE data structures to combine string representations into the
same structure with integer and floating point.  This opens the door to
significant optimizations. (CVS 1202)

FossilOrigin-Name: c0faa1c67a967f028cd018e58988fb08bc814d3d

21 years agoMake sure min() and max() optimizations work for subqueries. Ticket #587. (CVS 1201)
drh [Fri, 30 Jan 2004 02:01:03 +0000 (02:01 +0000)] 
Make sure min() and max() optimizations work for subqueries. Ticket #587. (CVS 1201)

FossilOrigin-Name: af73fbca839f8cbe39c21f1f9e439fe9b79005c8

21 years agoChange permissions on the install-sh file to be executable. Ticket #582. (CVS 1200)
drh [Tue, 27 Jan 2004 17:46:55 +0000 (17:46 +0000)] 
Change permissions on the install-sh file to be executable.  Ticket #582. (CVS 1200)

FossilOrigin-Name: eafa714d1f0abe7e4822a6d137c2a7c6179ffab3

21 years agoAdd a web page describing when it is appropriate to use SQLite and when it
drh [Tue, 27 Jan 2004 15:58:37 +0000 (15:58 +0000)] 
Add a web page describing when it is appropriate to use SQLite and when it
is not. (CVS 1199)

FossilOrigin-Name: d77e47764818ef495894013fb26b1a510f2f1a7e

21 years agoModularize the column name resolution code so that it is smaller, faster,
drh [Sun, 25 Jan 2004 22:44:58 +0000 (22:44 +0000)] 
Modularize the column name resolution code so that it is smaller, faster,
and ready for some enhancements that will fix long-standing name
resolutions problems. (CVS 1198)

FossilOrigin-Name: d3648034b409822909d79eb5aa4e64cafa986541

21 years agoAdd the ability to group FROM terms using parentheses. Names of columns in
drh [Sat, 24 Jan 2004 20:18:12 +0000 (20:18 +0000)] 
Add the ability to group FROM terms using parentheses.  Names of columns in
a join no longer include the table name. (CVS 1197)

FossilOrigin-Name: 3626f6d4a1adb4209d5bd9e6477343b52bddbdf2

21 years agoFix typo. Ticket #577. (CVS 1196)
drh [Thu, 22 Jan 2004 23:38:21 +0000 (23:38 +0000)] 
Fix typo.  Ticket #577. (CVS 1196)

FossilOrigin-Name: 3dc951951947a9188ecba1b84e48c65e34c4df16

21 years agoIn test programs, an SQLITE_SCHEMA return is retried repeatedly, not just once. ...
drh [Wed, 21 Jan 2004 13:35:13 +0000 (13:35 +0000)] 
In test programs, an SQLITE_SCHEMA return is retried repeatedly, not just once. (CVS 1195)

FossilOrigin-Name: df3509e13dc05751b7a5af07b57bca449fe5244c

21 years agoMake ATTACH and DETACH work with the non-callback API. Ticket #574. (CVS 1194)
drh [Tue, 20 Jan 2004 11:54:03 +0000 (11:54 +0000)] 
Make ATTACH and DETACH work with the non-callback API.  Ticket #574. (CVS 1194)

FossilOrigin-Name: c32a80fe3cd6dda5238e59bd48d9dd22b4856304

21 years agodocumented pragma foreign_key_list().
jplyon [Mon, 19 Jan 2004 05:09:24 +0000 (05:09 +0000)] 
documented pragma foreign_key_list().
updated docs for removed behavior: Oracle join syntax and temp indexes. (CVS 1193)

FossilOrigin-Name: 06bd5070966b59730a91bc4d384df4f8abaadd37

21 years agocomment typos (CVS 1192)
jplyon [Mon, 19 Jan 2004 04:57:53 +0000 (04:57 +0000)] 
comment typos (CVS 1192)

FossilOrigin-Name: 7972ee321974380a59fef752f5643d98f9df38cc

21 years agocomment typos (CVS 1191)
jplyon [Mon, 19 Jan 2004 04:55:56 +0000 (04:55 +0000)] 
comment typos (CVS 1191)

FossilOrigin-Name: de35c36ed7657903ebba0c5acff75baaa0453f87

21 years agocoment typo (CVS 1190)
jplyon [Mon, 19 Jan 2004 04:54:28 +0000 (04:54 +0000)] 
coment typo (CVS 1190)

FossilOrigin-Name: 0d2683dc5ecb886ae9625484b51e65df49b3235d

21 years agocoment typo (CVS 1189)
jplyon [Mon, 19 Jan 2004 04:53:24 +0000 (04:53 +0000)] 
coment typo (CVS 1189)

FossilOrigin-Name: 8210b2d818ab83a97b3b71b432770436116f4770

21 years agocomment (CVS 1188)
jplyon [Mon, 19 Jan 2004 04:52:29 +0000 (04:52 +0000)] 
comment (CVS 1188)

FossilOrigin-Name: fa55c9861e1cc372a36958383a86895dc311bb4b

21 years agoDo not use strcpy() on overlapping buffers. (CVS 1187)
drh [Sat, 17 Jan 2004 01:16:21 +0000 (01:16 +0000)] 
Do not use strcpy() on overlapping buffers. (CVS 1187)

FossilOrigin-Name: ed6bd2eb39a0940c4f41d365ddc81ecc7066cf4e

21 years agoAccess to free()ed memory problem fixed. Found by electric fence.
drh [Fri, 16 Jan 2004 20:01:31 +0000 (20:01 +0000)] 
Access to free()ed memory problem fixed.  Found by electric fence.
Only an issue when doing an EXPLAIN of a CREATE INDEX. (CVS 1186)

FossilOrigin-Name: 6604e5f7d332b484e84d177f93c9d9f2ab54a32b

21 years agoSee ticket #569; eliminates warnings for Cygwin v1.5 and above. (CVS 1185)
dougcurrie [Fri, 16 Jan 2004 19:11:28 +0000 (19:11 +0000)] 
See ticket #569; eliminates warnings for Cygwin v1.5 and above. (CVS 1185)

FossilOrigin-Name: a0f8b1f3cea9a0542f8d36898bf98df3c59f12e0

21 years agoMore compaction of expr.c. (CVS 1184)
drh [Fri, 16 Jan 2004 16:42:53 +0000 (16:42 +0000)] 
More compaction of expr.c. (CVS 1184)

FossilOrigin-Name: 92e7f78057c4e8f6214b6e0a2d80c3ffcbfdf68e

21 years agoIncremental code compaction in expr.c. Now about 4% smaller.
drh [Fri, 16 Jan 2004 15:55:37 +0000 (15:55 +0000)] 
Incremental code compaction in expr.c.  Now about 4% smaller.
Lots more work to do. (CVS 1183)

FossilOrigin-Name: d292ba5148059dce3893b80eabdca4af9f75194e

21 years agoFix a buffer-overflow problem in the randStr function (used only for testing). (CVS...
drh [Fri, 16 Jan 2004 13:58:18 +0000 (13:58 +0000)] 
Fix a buffer-overflow problem in the randStr function (used only for testing). (CVS 1182)

FossilOrigin-Name: 42c79edc2e8d1051b3bca915b4b205c601b8077f

21 years agoMore aggressive retry schedule in sqlite_busy_timeout(). (CVS 1181)
drh [Thu, 15 Jan 2004 13:29:31 +0000 (13:29 +0000)] 
More aggressive retry schedule in sqlite_busy_timeout(). (CVS 1181)

FossilOrigin-Name: 5e85025be7aa4a03b0cfb4d0f28a2e44653b9d3f

21 years agoAllow "<expr> IN <table>" as a shorthand for
drh [Thu, 15 Jan 2004 03:30:24 +0000 (03:30 +0000)] 
Allow "<expr> IN <table>" as a shorthand for
"<expr> IN (SELECT * FROM <table>)" (CVS 1180)

FossilOrigin-Name: 01874d252ac44861e927dea3f5534f67e19b1fa8

21 years agoReinsert the experimental sqlite_commit_hook() API. (CVS 1179)
drh [Thu, 15 Jan 2004 02:44:03 +0000 (02:44 +0000)] 
Reinsert the experimental sqlite_commit_hook() API. (CVS 1179)

FossilOrigin-Name: 72bc84f2f18f6eeb279a4ad670310e85d154f663

21 years agoFix comparisons of ROWID against floating point numbers so that they work
drh [Wed, 14 Jan 2004 21:59:22 +0000 (21:59 +0000)] 
Fix comparisons of ROWID against floating point numbers so that they work
correctly.  Ticket #377 and #567. (CVS 1178)

FossilOrigin-Name: c9ac3db8e08403398ec344757385334601a59374

21 years agoVersion 2.8.11 (CVS 1177)
drh [Wed, 14 Jan 2004 13:50:59 +0000 (13:50 +0000)] 
Version 2.8.11 (CVS 1177)

FossilOrigin-Name: a9f25347de6d2bf843a8aebf7935e9c8a1f2319c

21 years agoBump the version number for the next release. (CVS 1176)
drh [Wed, 14 Jan 2004 13:43:43 +0000 (13:43 +0000)] 
Bump the version number for the next release. (CVS 1176)

FossilOrigin-Name: 2812dd5fc99c959f41b24b0f6b280b67b06fe9d9

21 years agoIgnore NULLs in a subquery as the right operand of IN. Ticket #565. (CVS 1175)
drh [Wed, 14 Jan 2004 13:38:54 +0000 (13:38 +0000)] 
Ignore NULLs in a subquery as the right operand of IN.  Ticket #565. (CVS 1175)

FossilOrigin-Name: c9e7996fb9080b715e9b273a3ac3ed3744e10a77

21 years agoVersion 2.8.10 (CVS 1174)
drh [Wed, 14 Jan 2004 03:49:43 +0000 (03:49 +0000)] 
Version 2.8.10 (CVS 1174)

FossilOrigin-Name: 8bef75ab85197d926d924ae689769207df9a12f8

21 years agoMove some files around and bump the version number in preparation for the
drh [Wed, 14 Jan 2004 03:32:37 +0000 (03:32 +0000)] 
Move some files around and bump the version number in preparation for the
release of 2.8.10. (CVS 1173)

FossilOrigin-Name: 74c661850e1899c457d4e822d8284bb66e1dc651

21 years agoRemove an incomplete comment that somehow snuck into the sources. (CVS 1172)
drh [Wed, 14 Jan 2004 03:12:42 +0000 (03:12 +0000)] 
Remove an incomplete comment that somehow snuck into the sources. (CVS 1172)

FossilOrigin-Name: ea1ad4653e6248f112d5516a0dcf3a72aa9b60d7

21 years agoOn unix, embargo close() operations until all locks have cleared from the
drh [Mon, 12 Jan 2004 00:39:05 +0000 (00:39 +0000)] 
On unix, embargo close() operations until all locks have cleared from the
file.  Ticket #561. (CVS 1171)

FossilOrigin-Name: 1ebe5fc7b03a6b070a5d52ffedb95f0d519ab068

21 years agoPrevious commit of changes to the in-memory backend was not quite right.
drh [Mon, 12 Jan 2004 00:38:18 +0000 (00:38 +0000)] 
Previous commit of changes to the in-memory backend was not quite right.
This check-in should square things away. (CVS 1170)

FossilOrigin-Name: 75d91e3bca44787768b1970203878dd4b1e31e55

21 years agoMake sure the in-memory database can handle malloc failures. (CVS 1169)
drh [Mon, 12 Jan 2004 00:21:52 +0000 (00:21 +0000)] 
Make sure the in-memory database can handle malloc failures. (CVS 1169)

FossilOrigin-Name: ba92af182c6c9c6b2e3816006191eedd424cdf1a

21 years agoRemove unused code and tighten existing code to make the library a little
drh [Thu, 8 Jan 2004 02:17:31 +0000 (02:17 +0000)] 
Remove unused code and tighten existing code to make the library a little
smaller. (CVS 1168)

FossilOrigin-Name: 34a6b7416c6c9bcdf301f5e7b072a0362a746105

21 years agoRework the fix to ticket #461 so that we do not have to do redundant tests
drh [Wed, 7 Jan 2004 20:37:52 +0000 (20:37 +0000)] 
Rework the fix to ticket #461 so that we do not have to do redundant tests
of WHERE clause terms looking for NULLs.  See also check-in (1103). (CVS 1167)

FossilOrigin-Name: 5fd581787e88173f0303f870fc956ec9285cca4e

21 years agoPermit sqlite_exec() to be called from within user-defined functions. (CVS 1166)
drh [Wed, 7 Jan 2004 19:24:48 +0000 (19:24 +0000)] 
Permit sqlite_exec() to be called from within user-defined functions. (CVS 1166)

FossilOrigin-Name: 03636c94a542b1f90a3acfbe65a9c2976872073f

21 years agoDefer the {quote: MoveTo}
drh [Wed, 7 Jan 2004 18:52:56 +0000 (18:52 +0000)] 
Defer the {quote: MoveTo}
opcode in VDBE until the data is actually needed.  Sometimes
the data is never needed, resulting in a performance increase.  On an indexed
order search with a large OFFSET, queries times can be an order of magnitude
faster. (CVS 1165)

FossilOrigin-Name: d3e96da20d269a068188915b3cc0eb02d330d316

21 years agoMake it safe to call sqliteMalloc() with a request for 0 bytes. Ticket #534. (CVS...
drh [Wed, 7 Jan 2004 03:41:03 +0000 (03:41 +0000)] 
Make it safe to call sqliteMalloc() with a request for 0 bytes.  Ticket #534. (CVS 1164)

FossilOrigin-Name: 6c858db2c099c7ba73d72e02b19bf6173620db13

21 years agoPreserve the HH:MM:SS for most date/time modifiers. Ticket #551. (CVS 1163)
drh [Wed, 7 Jan 2004 03:29:16 +0000 (03:29 +0000)] 
Preserve the HH:MM:SS for most date/time modifiers.  Ticket #551. (CVS 1163)

FossilOrigin-Name: 70df32b716b0d6a4f72bb3ae6496431e53733b6a

21 years agoUse "long double" to hold intermediate values when doing ascii to binary
drh [Wed, 7 Jan 2004 03:04:27 +0000 (03:04 +0000)] 
Use "long double" to hold intermediate values when doing ascii to binary
and binary to ascii conversions of floating point numbers. (CVS 1162)

FossilOrigin-Name: 8371f662d22be0a3c58e0503c7511faea1640955

21 years agoAdd a typecast to work around a bug in the Metrowerks Code Warrior compiler.
drh [Wed, 7 Jan 2004 02:52:07 +0000 (02:52 +0000)] 
Add a typecast to work around a bug in the Metrowerks Code Warrior compiler.
Ticket #553. (CVS 1161)

FossilOrigin-Name: 4146f8cc3ff5339b5685e9c5121888ae08ee0807

21 years agoVersion 2.8.9 (CVS 1160)
drh [Tue, 6 Jan 2004 02:23:46 +0000 (02:23 +0000)] 
Version 2.8.9 (CVS 1160)

FossilOrigin-Name: d8ae6bddeb70f1450ccd3a4735ccf6fe3a042a07

21 years agoAdditional integer overflow boundary case tests. (CVS 1159)
drh [Tue, 6 Jan 2004 01:52:34 +0000 (01:52 +0000)] 
Additional integer overflow boundary case tests. (CVS 1159)

FossilOrigin-Name: 532170d4b8fc7a4e596a817257e9e1f81d364940

21 years agoIncrease the version number and update the change log prior to the next
drh [Tue, 6 Jan 2004 01:27:00 +0000 (01:27 +0000)] 
Increase the version number and update the change log prior to the next
release. (CVS 1158)

FossilOrigin-Name: b99b68d026a0d58338a1d578e15a40dcdcdb47a9

21 years agoFix problem in the code generator were incorrect code was being created if
drh [Tue, 6 Jan 2004 01:13:46 +0000 (01:13 +0000)] 
Fix problem in the code generator were incorrect code was being created if
the SQL source contained a negative integer that was too large to fit in
a 32-bit signed integer variable.  Ticket #552. (CVS 1157)

FossilOrigin-Name: b8381d9fe99273507e8626638110646801afef06

21 years agoAdd the sqlite_current_time variable for testing purposes. (CVS 1156)
drh [Tue, 6 Jan 2004 00:44:24 +0000 (00:44 +0000)] 
Add the sqlite_current_time variable for testing purposes. (CVS 1156)

FossilOrigin-Name: 23fa407d50741bc0719259792398f28c1d0f12c2

21 years agoThe "EST" timezone designation is ambiguous. Do not use it in the test
drh [Fri, 2 Jan 2004 15:08:43 +0000 (15:08 +0000)] 
The "EST" timezone designation is ambiguous.  Do not use it in the test
scripts. (CVS 1155)

FossilOrigin-Name: 720b565e2d02344e4d38263f4995dfabc60c0860

21 years agoAvoid an assertion fault that can occur with invalid UTF8 on the LENGTH()
drh [Fri, 2 Jan 2004 13:17:48 +0000 (13:17 +0000)] 
Avoid an assertion fault that can occur with invalid UTF8 on the LENGTH()
function.  Ticket #548. (CVS 1154)

FossilOrigin-Name: 7080fc39eaf98ef7a7d1c1819603f67841f35c72

21 years agoRemove unused code from the integrity_check logic. Ticket #545. (CVS 1153)
drh [Thu, 1 Jan 2004 12:33:43 +0000 (12:33 +0000)] 
Remove unused code from the integrity_check logic.  Ticket #545. (CVS 1153)

FossilOrigin-Name: ee51e205fb6ef412db6a46077e8bc1554aadcca1

21 years agoFix a bug in the SQLITE_PROFILE conditional compilation. (CVS 1152)
drh [Wed, 31 Dec 2003 17:57:10 +0000 (17:57 +0000)] 
Fix a bug in the SQLITE_PROFILE conditional compilation. (CVS 1152)

FossilOrigin-Name: 597b33f696c0cde84529cd06a8f95a8ccc8f1e8e

21 years agoFix for ticket #542. (CVS 1151)
drh [Wed, 31 Dec 2003 17:25:47 +0000 (17:25 +0000)] 
Fix for ticket #542. (CVS 1151)

FossilOrigin-Name: 458cfa5ba82f2d676e398437a4b1d26d77582d10

21 years agoFix a bug (ticket #541) introduced by the previous check-in ((1149)). (CVS 1150)
drh [Wed, 31 Dec 2003 16:00:19 +0000 (16:00 +0000)] 
Fix a bug (ticket #541) introduced by the previous check-in ((1149)). (CVS 1150)

FossilOrigin-Name: 646244008fb8a6eef4169291d75da59fa1ab26f9

21 years agoReduce the randomness in the sqliteRandomSeed() routine in order to silence
drh [Wed, 31 Dec 2003 13:21:18 +0000 (13:21 +0000)] 
Reduce the randomness in the sqliteRandomSeed() routine in order to silence
bogus errors from valgrind.  Tickets #535 and #536. (CVS 1149)

FossilOrigin-Name: cfe0acf9ec6c89f1e77b8be7dcc23029984de1ce

21 years agominor edits for new date.c with mingw/msys on Windows (CVS 1148)
dougcurrie [Wed, 24 Dec 2003 01:41:19 +0000 (01:41 +0000)] 
minor edits for new date.c with mingw/msys on Windows (CVS 1148)

FossilOrigin-Name: 9392c514501be333a3c22b552dc036e083eb22b4

21 years agoUpdate date/time functions so that they correctly handle NULL arguments. (CVS 1147)
drh [Tue, 23 Dec 2003 16:34:12 +0000 (16:34 +0000)] 
Update date/time functions so that they correctly handle NULL arguments. (CVS 1147)

FossilOrigin-Name: a5a5fbd60153dd068ec2559455146e84da075b90

21 years agoAdd localtime<-->UTC conversions to the date functions. (CVS 1146)
drh [Tue, 23 Dec 2003 16:22:18 +0000 (16:22 +0000)] 
Add localtime<-->UTC conversions to the date functions. (CVS 1146)

FossilOrigin-Name: 8482b8c44766e7f80fc449b3dbdd3f37396c332b

21 years agoTest functions tolerate an "0x" before a pointer value. Ticket #452. (CVS 1145)
drh [Tue, 23 Dec 2003 03:06:23 +0000 (03:06 +0000)] 
Test functions tolerate an "0x" before a pointer value.  Ticket #452. (CVS 1145)

FossilOrigin-Name: c6c5e07b65ae1c30117f0276a1002d5036697cf1

21 years agoUse a built-in atof() function instead of the one from the library to
drh [Tue, 23 Dec 2003 02:17:35 +0000 (02:17 +0000)] 
Use a built-in atof() function instead of the one from the library to
avoid problems with locale.  Ticket #305. (CVS 1144)

FossilOrigin-Name: 4d9edbc50f7dee64edbadad2e2dc4f93d8248b3b

21 years agoOptimizations to the LEMON parser template. (CVS 1143)
drh [Mon, 22 Dec 2003 14:53:19 +0000 (14:53 +0000)] 
Optimizations to the LEMON parser template. (CVS 1143)

FossilOrigin-Name: 06db29df8f0c1cd29e696537e622f0c5456056f5

21 years agoFix some minor problems with the new test4.c module used for doing thread
drh [Sat, 20 Dec 2003 04:00:52 +0000 (04:00 +0000)] 
Fix some minor problems with the new test4.c module used for doing thread
testing. (CVS 1142)

FossilOrigin-Name: 952924084aac4a7fa84a7cb7aaac869d35db1896

21 years agoUpdate configuration and make files for mingw/msys on Windows (CVS 1141)
dougcurrie [Fri, 19 Dec 2003 20:09:51 +0000 (20:09 +0000)] 
Update configuration and make files for mingw/msys on Windows (CVS 1141)

FossilOrigin-Name: 1e9689672c94e5ab89f07099c1402e157c8b02c1

21 years agoRemove a comma at the end of an enum definition. Some compilers could not
drh [Fri, 19 Dec 2003 12:32:45 +0000 (12:32 +0000)] 
Remove a comma at the end of an enum definition.  Some compilers could not
deal with it. (CVS 1140)

FossilOrigin-Name: b1890a5b9c1222086b3aae92e49eb090a17a6492

21 years agoMakefile updates for the new "test4.c" module. Also disable large file
drh [Fri, 19 Dec 2003 12:31:19 +0000 (12:31 +0000)] 
Makefile updates for the new "test4.c" module.  Also disable large file
tests for archic TCL versions. (CVS 1139)

FossilOrigin-Name: 55e2488912871381959326ab7fa89123ab30d659

21 years agoA better fix for ticket #530 - one that is likely to work on unix
drh [Fri, 19 Dec 2003 08:40:22 +0000 (08:40 +0000)] 
A better fix for ticket #530 - one that is likely to work on unix
implementations in addition to linux.  Also more tests for multi-thread
locking added. (CVS 1138)

FossilOrigin-Name: 7dddbeb586504de30c64a1e61614da447f18c8ba

21 years agoAdd new thread-testing code and fix locking under Linux threads. Ticket #530. (CVS...
drh [Fri, 19 Dec 2003 02:52:05 +0000 (02:52 +0000)] 
Add new thread-testing code and fix locking under Linux threads.  Ticket #530. (CVS 1137)

FossilOrigin-Name: b36a4bb61094d539273c21a9e4042384f10a7806

21 years agoTypo on the "datatypes.html" document. (CVS 1136)
drh [Thu, 18 Dec 2003 14:19:41 +0000 (14:19 +0000)] 
Typo on the "datatypes.html" document. (CVS 1136)

FossilOrigin-Name: 80b1e277123c07b2db7441a9e600dd69ef55a0da

21 years agoVersion 2.8.8 (CVS 1135)
drh [Thu, 18 Dec 2003 01:22:54 +0000 (01:22 +0000)] 
Version 2.8.8 (CVS 1135)

FossilOrigin-Name: a0451ccf2d0377536073ecaa2d6b70d05f5a5734

21 years agoBump the version number and update the change log in preparation for the
drh [Thu, 18 Dec 2003 00:02:43 +0000 (00:02 +0000)] 
Bump the version number and update the change log in preparation for the
next release. (CVS 1134)

FossilOrigin-Name: 9ad0bdf624e7dba448587c58eacd1e9cd2784316

21 years agoMake sure the pagers in-memory cache states in sync with the disk file.
drh [Wed, 17 Dec 2003 23:57:34 +0000 (23:57 +0000)] 
Make sure the pagers in-memory cache states in sync with the disk file.
Ticket #529. (CVS 1133)

FossilOrigin-Name: da00efb13fe8ccf1c27e4e1193df6b53de9463f4

21 years agoImprovements to the way PRAGMA integrity_check works. More likely to output
drh [Tue, 16 Dec 2003 03:44:47 +0000 (03:44 +0000)] 
Improvements to the way PRAGMA integrity_check works.  More likely to output
userful information when given a corrupt database. (CVS 1132)

FossilOrigin-Name: b92c31d6c138f9462730cecfe14f7dde19778e79