]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
16 years agoBetter error message when DISTINCT is used on an aggregate function that
drh [Mon, 9 Feb 2009 13:19:28 +0000 (13:19 +0000)] 
Better error message when DISTINCT is used on an aggregate function that
takes two or more arguments.  Ticket #3641. (CVS 6269)

FossilOrigin-Name: e20bf384668bcde7c2f2152ca88e28cf65a02679

16 years agoIgnore the return structure of and F_GETLK fcntl() call on djgpp. Fix for #3642....
danielk1977 [Mon, 9 Feb 2009 05:32:32 +0000 (05:32 +0000)] 
Ignore the return structure of and F_GETLK fcntl() call on djgpp. Fix for #3642. (CVS 6268)

FossilOrigin-Name: 8227af3463ded1c52d0a16c63b8dbc516eab57f0

16 years agoAttempt to reproduce ticket #3643. No luck yet. (CVS 6267)
danielk1977 [Mon, 9 Feb 2009 05:18:33 +0000 (05:18 +0000)] 
Attempt to reproduce ticket #3643. No luck yet. (CVS 6267)

FossilOrigin-Name: 8f2f98d247b04ae6bda34621e9ccdba904f34ad7

16 years agoChanges to the backup API: (1) if a negative number is passed as the second argument...
danielk1977 [Fri, 6 Feb 2009 05:59:44 +0000 (05:59 +0000)] 
Changes to the backup API: (1) if a negative number is passed as the second argument to backup_step(), this is interpreted as "copy all remaining pages" and (2) if backup_finish() is called after backup_step() fails with a BUSY or LOCKED error, then this error is also returned by backup_finish() (same handling as for other errors encountered by backup_step()). (CVS 6266)

FossilOrigin-Name: 9b8c8b18cf6b7d44d5fd64760537bc030097756b

16 years agoFix a test case that was still using the old pending_byte mechanism. (CVS 6265)
drh [Thu, 5 Feb 2009 17:00:54 +0000 (17:00 +0000)] 
Fix a test case that was still using the old pending_byte mechanism. (CVS 6265)

FossilOrigin-Name: 08ec4f2c394ec834c20bfce0d98bbe6b4ce2be65

16 years agoFix the declaration of sqlite3PendingByte so that it works with the
drh [Thu, 5 Feb 2009 16:53:43 +0000 (16:53 +0000)] 
Fix the declaration of sqlite3PendingByte so that it works with the
amalgamation. (CVS 6264)

FossilOrigin-Name: 193c871f3d16ce982040334c543610d330117bd5

16 years agoMake the pending byte adjustable via sqlite3_test_control() on all builds,
drh [Thu, 5 Feb 2009 16:31:45 +0000 (16:31 +0000)] 
Make the pending byte adjustable via sqlite3_test_control() on all builds,
not just on test builds. (CVS 6263)

FossilOrigin-Name: e8f192e2a93350a136d86bd9caceff65f52f3513

16 years agoFixed error detection in winTrucate() in os_win.c. Windows version only. Ticket...
shane [Thu, 5 Feb 2009 03:16:20 +0000 (03:16 +0000)] 
Fixed error detection in winTrucate() in os_win.c.  Windows version only.  Ticket #3640. (CVS 6262)

FossilOrigin-Name: 82e03f1b5481c6fe5e94976f086e8fe8c99881af

16 years agoImproved overrun detection in mem2.c (SQLITE_MEMDEBUG). Previously was only checking...
shane [Thu, 5 Feb 2009 03:00:06 +0000 (03:00 +0000)] 
Improved overrun detection in mem2.c (SQLITE_MEMDEBUG).  Previously was only checking up to 3 extra bytes allocated due to rounding. (CVS 6261)

FossilOrigin-Name: a6fe3d6b02734b23fe067a373c0232024a782a6c

16 years agoAdd "backup" and "restore" methods to the TCL interfaces and test cases
drh [Wed, 4 Feb 2009 22:46:47 +0000 (22:46 +0000)] 
Add "backup" and "restore" methods to the TCL interfaces and test cases
to exercise those methods. (CVS 6260)

FossilOrigin-Name: e420a3cedc7ee086a77cd719f6b9fb85415eb5f3

16 years agoAdd ".backup" and ".restore" commands to the CLI - implemented using the
drh [Wed, 4 Feb 2009 20:55:57 +0000 (20:55 +0000)] 
Add ".backup" and ".restore" commands to the CLI - implemented using the
new backup API. (CVS 6259)

FossilOrigin-Name: 003e1d62189e9e37f901d86a696cfccd22bd3b38

16 years agoIncrease the version number to 3.6.11. (CVS 6258)
drh [Wed, 4 Feb 2009 20:08:26 +0000 (20:08 +0000)] 
Increase the version number to 3.6.11. (CVS 6258)

FossilOrigin-Name: 0882a028c8cee868bb79728499fb1fa7c0630fa6

16 years agoIf the truncate operation fails in journalmode=TRUNCATE, do not fall back
drh [Wed, 4 Feb 2009 19:16:23 +0000 (19:16 +0000)] 
If the truncate operation fails in journalmode=TRUNCATE, do not fall back
to overwriting the journal header with zeros.  Simply fail the operation. (CVS 6257)

FossilOrigin-Name: d4af60e52a12262ad0194908e68a386c719fe177

16 years agoSimplify wording of backup API error message. Decapitalize some other
drh [Wed, 4 Feb 2009 17:40:57 +0000 (17:40 +0000)] 
Simplify wording of backup API error message.  Decapitalize some other
error messages. (CVS 6256)

FossilOrigin-Name: f92405afb649b698b735b423cd9195d4f8f137c9

16 years agoThe sqlite3_backup_init() interface must lock the destination in case it
drh [Wed, 4 Feb 2009 16:56:19 +0000 (16:56 +0000)] 
The sqlite3_backup_init() interface must lock the destination in case it
needs to change the error message. (CVS 6255)

FossilOrigin-Name: 572378d3a29c7d55fa4a15df14800c26d6c563a1

16 years agoFix a bug in test_malloc.c whereby running multi-threaded test cases could cause...
danielk1977 [Wed, 4 Feb 2009 15:27:40 +0000 (15:27 +0000)] 
Fix a bug in test_malloc.c whereby running multi-threaded test cases could cause subsequent OOM tests to fail. (CVS 6254)

FossilOrigin-Name: 03ea9e591337a3c442080ee7cd01cc4ee85c1357

16 years agoEnsure that thread001.test and thread002.test reset the global shared-cache-enabled...
danielk1977 [Wed, 4 Feb 2009 11:57:46 +0000 (11:57 +0000)] 
Ensure that thread001.test and thread002.test reset the global shared-cache-enabled setting before they finish. (CVS 6253)

FossilOrigin-Name: 416288a9fa39c7c4d9d414de18edc0423ed83794

16 years agoDo not attempt to use the sub-journal file descriptor if it is not opened (as in...
danielk1977 [Wed, 4 Feb 2009 10:09:04 +0000 (10:09 +0000)] 
Do not attempt to use the sub-journal file descriptor if it is not opened (as in journal_mode=off mode). Ticket #3636. (CVS 6252)

FossilOrigin-Name: 20bd76055463c85f62a450e368f4bcf7d2215f94

16 years agoFix a bug in malloc.test causing the exclusive permutation to fail. Changes to test...
danielk1977 [Wed, 4 Feb 2009 08:17:57 +0000 (08:17 +0000)] 
Fix a bug in malloc.test causing the exclusive permutation to fail. Changes to test code only. (CVS 6251)

FossilOrigin-Name: 72745bde90a9b4ffae1496f1668e4bb0678bd400

16 years agoChanges to completely remove all floating point ops if SQLITE_OMIT_FLOATING_POINT...
shane [Wed, 4 Feb 2009 03:59:25 +0000 (03:59 +0000)] 
Changes to completely remove all floating point ops if SQLITE_OMIT_FLOATING_POINT defined.  Note that w/o fp, date/time, round, nan, etc. are all gone or limited in functionality.   Updated some of the test scripts to support missing fp and 64-bit functionality.   Ticket #3029. (CVS 6250)

FossilOrigin-Name: 5cef400023205b55152b91441acc78f9cd8d58a9

16 years agoRemove compiler warnings under MSVC. (CVS 6249)
shane [Wed, 4 Feb 2009 01:49:30 +0000 (01:49 +0000)] 
Remove compiler warnings under MSVC. (CVS 6249)

FossilOrigin-Name: 6301f08a2b32289a49c4af994f2770318c444b49

16 years agoCorrection to check-ins (6246) and (6247): The backup object might not
drh [Tue, 3 Feb 2009 22:51:06 +0000 (22:51 +0000)] 
Correction to check-ins (6246) and (6247):  The backup object might not
hold a valid destination connection pointer.  Also, do not reset the
page cache when establishing a read-lock while there is a persistent
or truncated journal, only if there is a journal that really needs to
rollback.  Otherwise backups always reset whenever the source database
file is read. (CVS 6248)

FossilOrigin-Name: 7f827ba9d7af2dfe44aed386b4407716c85daf5e

16 years agoA backup must clear the internal schema of the destination database so
drh [Tue, 3 Feb 2009 22:17:42 +0000 (22:17 +0000)] 
A backup must clear the internal schema of the destination database so
that the schema will be reloaded for the next sqlite3_prepare() (CVS 6247)

FossilOrigin-Name: 76f23a4394574e31f237e55c641bc70534f44d97

16 years agoMust hold mutex on the destination during backups. Add documentation to
drh [Tue, 3 Feb 2009 21:13:07 +0000 (21:13 +0000)] 
Must hold mutex on the destination during backups.  Add documentation to
warn programmers that attempting to use the destination connection during
a backup can lead to deadlock. (CVS 6246)

FossilOrigin-Name: 5f6c06b974f26532264467ace603b6f1f830fba9

16 years agoFixed postToParent() return type (Tcl_ThreadCreateType) in test_thread.c to compile...
shane [Tue, 3 Feb 2009 19:55:20 +0000 (19:55 +0000)] 
Fixed postToParent() return type (Tcl_ThreadCreateType) in test_thread.c to compile with MSVC.  Removed a few compiler warnings.  Test harness change only. (CVS 6245)

FossilOrigin-Name: e9475abaf87c0ae2f2bbcbaf0f7ba704f9f50c5f

16 years agoFix buffer size in md5_cmd() in test_md5.c. Test harness change only. (CVS 6244)
shane [Tue, 3 Feb 2009 19:52:59 +0000 (19:52 +0000)] 
Fix buffer size in md5_cmd() in test_md5.c.  Test harness change only. (CVS 6244)

FossilOrigin-Name: c1e15717ff1b8181ff5fdc800015dadb62135e8c

16 years agoMore adjustments to the backup API documentation. No changes to code. (CVS 6243)
drh [Tue, 3 Feb 2009 18:47:22 +0000 (18:47 +0000)] 
More adjustments to the backup API documentation.  No changes to code. (CVS 6243)

FossilOrigin-Name: ca650879d3168d4475a33430300a0e8ac806facf

16 years agoTweaks to the backup API documentation contained in comments. No changes
drh [Tue, 3 Feb 2009 18:25:13 +0000 (18:25 +0000)] 
Tweaks to the backup API documentation contained in comments. No changes
to code. (CVS 6242)

FossilOrigin-Name: 6298bcca14bc0dd447198430af4147a3673963fc

16 years agoCommit first version of the 'backup' feature. (CVS 6241)
danielk1977 [Tue, 3 Feb 2009 16:51:24 +0000 (16:51 +0000)] 
Commit first version of the 'backup' feature. (CVS 6241)

FossilOrigin-Name: 663479b417fc06ba1790a544f28694f8797cee57

16 years agoFix the sqlite3_mprintf_long test command (added by check-in (6224) in order
drh [Tue, 3 Feb 2009 16:25:47 +0000 (16:25 +0000)] 
Fix the sqlite3_mprintf_long test command (added by check-in (6224) in order
to address ticket #3621) so that it works on systems with sizeof(int)==4 and
sizeof(long)==8. (CVS 6240)

FossilOrigin-Name: 2e45c2a85183f7430225aa8dd89ee05028afecf2

16 years agoRemove several compiler warnings. (CVS 6239)
drh [Tue, 3 Feb 2009 15:50:33 +0000 (15:50 +0000)] 
Remove several compiler warnings. (CVS 6239)

FossilOrigin-Name: 85e9196d79ef8500300abb215a31e0519b2e8d02

16 years agoRemove the text of the sqlite3VdbeMemSanity() routine, which was already
drh [Tue, 3 Feb 2009 15:39:01 +0000 (15:39 +0000)] 
Remove the text of the sqlite3VdbeMemSanity() routine, which was already
commented out. (CVS 6238)

FossilOrigin-Name: a3c260772bda68007b73feee6612495a704c84f5

16 years agoCheck at the write() call to work around the msdos bug in OSX actually
drh [Tue, 3 Feb 2009 15:27:02 +0000 (15:27 +0000)] 
Check at the write() call to work around the msdos bug in OSX actually
succeeds and throw an error if it does not.  #ifdef out the work-around
for all platforms other than OSX.  Ticket #3633. (CVS 6237)

FossilOrigin-Name: b054b569172c53f4e185e4a64f41d08784aa0f8b

16 years agoAdd a special rule to the amalgamation generator to deal with
drh [Tue, 3 Feb 2009 13:51:17 +0000 (13:51 +0000)] 
Add a special rule to the amalgamation generator to deal with
the sqlite3OsDlSym function.  Ticket #3631. (CVS 6236)

FossilOrigin-Name: 876f874c6e2e6e7763083e6761eedc10a4522ec9

16 years agoFix a problem in check-in (6226) which could cause an assertion fault
drh [Tue, 3 Feb 2009 13:19:12 +0000 (13:19 +0000)] 
Fix a problem in check-in (6226) which could cause an assertion fault
following a malloc failure.  The prior check-in was for ticket #3624. (CVS 6235)

FossilOrigin-Name: 1ffe44e9d6b49346a75850a977953de12c127069

16 years agoCheck-in (6230) introduced a bugs in SUBSTR() which was caught by the fuzz
drh [Tue, 3 Feb 2009 13:10:54 +0000 (13:10 +0000)] 
Check-in (6230) introduced a bugs in SUBSTR() which was caught by the fuzz
tester.  Fixed by this check-in.  Related to ticket #3628. (CVS 6234)

FossilOrigin-Name: cd2e7f6c0fe4c0c648f8ca21388ab0769164f5ef

16 years agoMake group_concat() a 1- or 2-value function, as the documentation says it
drh [Mon, 2 Feb 2009 21:57:05 +0000 (21:57 +0000)] 
Make group_concat() a 1- or 2-value function, as the documentation says it
should be.  Use the md5sum() function to verify ticket #3179, not
group_concat().  This undoes the ill-advised group_concat() change of
check-in (5233). (CVS 6233)

FossilOrigin-Name: f2ae82c4d46c2eca30fc60a50ab5064728f20739

16 years agoOmit the TEMP keyword from the schema of TEMP tables created using
drh [Mon, 2 Feb 2009 18:03:21 +0000 (18:03 +0000)] 
Omit the TEMP keyword from the schema of TEMP tables created using
CREATE TEMP TABLE AS SELECT .....  Ticket #3630. (CVS 6232)

FossilOrigin-Name: 3b0a25548c4c15c86aadcd9a6c3af0adafb85c17

16 years agoMinor simplifications to SQL function implementations. (CVS 6231)
drh [Mon, 2 Feb 2009 17:29:59 +0000 (17:29 +0000)] 
Minor simplifications to SQL function implementations. (CVS 6231)

FossilOrigin-Name: 92e5c27f20f150c1777c1b91d35207ade961319d

16 years agoUpdate the SUBSTR function so that works consistently when the
drh [Mon, 2 Feb 2009 16:32:55 +0000 (16:32 +0000)] 
Update the SUBSTR function so that works consistently when the
2nd parameter is 0.  Ticket #3628. (CVS 6230)

FossilOrigin-Name: 5fc125d362df4b8525c7e1ab34a14f505756af24

16 years agoRestrict the RANDOM() function to have zero arguments. Ticket #3627. (CVS 6229)
drh [Mon, 2 Feb 2009 01:50:39 +0000 (01:50 +0000)] 
Restrict the RANDOM() function to have zero arguments.  Ticket #3627. (CVS 6229)

FossilOrigin-Name: b8b546b6ed799dc1621ef7b06273249af1042fb2

16 years agoFix SUBSTR() so that it returns NULL if any argument is NULL.
drh [Sun, 1 Feb 2009 19:42:37 +0000 (19:42 +0000)] 
Fix SUBSTR() so that it returns NULL if any argument is NULL.
Ticket #3626. (CVS 6228)

FossilOrigin-Name: 779fce82b7a89b972da488ce8bd35e23ca120c04

16 years agoFix the SUBSTR() function so that when the 3rd argument is negative,
drh [Sun, 1 Feb 2009 19:23:32 +0000 (19:23 +0000)] 
Fix the SUBSTR() function so that when the 3rd argument is negative,
it counts backwards from the selected start point.  Ticket #3625. (CVS 6227)

FossilOrigin-Name: 2217339badf1e84edbed1309c39b9f8dfd7646ff

16 years agoChange the replace() function to return a copy of its first argument when
drh [Sun, 1 Feb 2009 18:08:40 +0000 (18:08 +0000)] 
Change the replace() function to return a copy of its first argument when
the 2nd argument is an empty string.  Ticket #3624. (CVS 6226)

FossilOrigin-Name: ffebf10f6fb2c7f3083992e2c712682b4cdcc6f0

16 years agoAdjust comments in vdbe.c to use OP_MakeRecord instead of the obsolete
drh [Sun, 1 Feb 2009 00:29:56 +0000 (00:29 +0000)] 
Adjust comments in vdbe.c to use OP_MakeRecord instead of the obsolete
OP_MakeIdxRec.  Ticket #3619. (CVS 6225)

FossilOrigin-Name: 0d2abbbff5d9e12e2382ed201bf1648c5918c1c0

16 years agoAdd a new test command, sqlite3_mprintf_long, for testing the behavior
drh [Sun, 1 Feb 2009 00:21:09 +0000 (00:21 +0000)] 
Add a new test command, sqlite3_mprintf_long, for testing the behavior
of "long integer" printf formatting.  Ticket #3621. (CVS 6224)

FossilOrigin-Name: 3ba1a17b1306bc61b9861ec8d3b239e16a3081ba

16 years agoMake the TO keyword available even if SQLITE_OMIT_ALTERTABLE is defined.
drh [Sun, 1 Feb 2009 00:00:45 +0000 (00:00 +0000)] 
Make the TO keyword available even if SQLITE_OMIT_ALTERTABLE is defined.
Ticket #3622. (CVS 6223)

FossilOrigin-Name: 3890985ca6750584876596fd0a124f47ee032075

16 years agoBetter error message when coalesce() has too few arguments. Ticket #3623. (CVS 6222)
drh [Sat, 31 Jan 2009 22:28:48 +0000 (22:28 +0000)] 
Better error message when coalesce() has too few arguments.  Ticket #3623. (CVS 6222)

FossilOrigin-Name: 9cd43c82a3c123829806aa7bf14efdd29f4424d8

16 years agoAvoid a segfault when running vacuum on an in-memory database. Ticket #3620. (CVS...
danielk1977 [Sat, 31 Jan 2009 14:54:06 +0000 (14:54 +0000)] 
Avoid a segfault when running vacuum on an in-memory database. Ticket #3620. (CVS 6221)

FossilOrigin-Name: 407830c6839a81fa0a1010940740df3011713a88

16 years agoFix a round-off error when moving dates by negative modifier amounts.
drh [Fri, 30 Jan 2009 17:27:44 +0000 (17:27 +0000)] 
Fix a round-off error when moving dates by negative modifier amounts.
Ticket #3618.  Enhance the "NNN years" modifier to accept fractional
years. (CVS 6220)

FossilOrigin-Name: 86be908c5e77ba2b9ac98e394fa987b443d790f8

16 years agoMade code to remove unused parameter warning part of the conditional. Ticket #3610...
shane [Fri, 30 Jan 2009 16:09:22 +0000 (16:09 +0000)] 
Made code to remove unused parameter warning part of the conditional.  Ticket #3610. (CVS 6219)

FossilOrigin-Name: c5dca1146de72071ed2e5fdf6890f41682272587

16 years agoChanges to setupLookaside() in main.c to better handle lookaside buffer configuration...
shane [Fri, 30 Jan 2009 06:11:54 +0000 (06:11 +0000)] 
Changes to setupLookaside() in main.c to better handle lookaside buffer configurations of zero-size.  Ticket #3616. (CVS 6218)

FossilOrigin-Name: 0a2c7f740397c5c6373434c75d73c2714f14dd32

16 years agoImplemented the SQLITE_LAST_ERRNO op in the xFileControl() method of os_win.c. Ticke...
shane [Fri, 30 Jan 2009 05:59:10 +0000 (05:59 +0000)] 
Implemented the SQLITE_LAST_ERRNO op in the xFileControl() method of os_win.c.  Ticket #3615. (CVS 6217)

FossilOrigin-Name: 9ea871f3e8ce1ec5cffb72f13704c3002d3f5383

16 years agoIn test case incrvacuum-15.1 close both db handles (db and db2) before attempting...
shane [Fri, 30 Jan 2009 05:47:15 +0000 (05:47 +0000)] 
In test case incrvacuum-15.1 close both db handles (db and db2) before attempting to delete test.db. Ticket #3614. (CVS 6216)

FossilOrigin-Name: e764a7c5d369e2ff736d662b1209b3d54d778caf

16 years agoMinor changes to remove a few MSVC compiler warnings at /W3. Ticket #3610. (CVS...
shane [Fri, 30 Jan 2009 05:40:27 +0000 (05:40 +0000)] 
Minor changes to remove a few MSVC compiler warnings at /W3.  Ticket #3610. (CVS 6215)

FossilOrigin-Name: c74c78e4eb7f6d674b7564b33387db996fbe5725

16 years agoAdd test cases to make sure that keywords that we say can be used as
drh [Thu, 29 Jan 2009 19:27:46 +0000 (19:27 +0000)] 
Add test cases to make sure that keywords that we say can be used as
identifiers really can be used as identifiers.  These tests were
inspired by ticket #3612, but they do not directly address ticket #3612. (CVS 6214)

FossilOrigin-Name: 6041ca87a16858f047727bc01f10b0bbc83609ed

16 years agoadd a cvsignore file (CVS 6213)
vapier [Thu, 29 Jan 2009 02:54:56 +0000 (02:54 +0000)] 
add a cvsignore file (CVS 6213)

FossilOrigin-Name: 68c8cdd73b2b9f03264f9fdd27cddb65e1bdc7ae

16 years agoFix a segfault that can occur when attempting to insert into
drh [Wed, 28 Jan 2009 20:21:17 +0000 (20:21 +0000)] 
Fix a segfault that can occur when attempting to insert into
a corrupt database file.  Need a test case. (CVS 6212)

FossilOrigin-Name: 68957cf0c4bae0c6cf450b4de1d6bc1bc64b232c

16 years agoregenerate autotools (CVS 6211)
vapier [Wed, 28 Jan 2009 04:46:28 +0000 (04:46 +0000)] 
regenerate autotools (CVS 6211)

FossilOrigin-Name: 813a3c96863acc9dd6ccd41e7ac9f57d635bcc0d

16 years agounify TCLLIBDIR handling with libtclsqlite3.so and use libtool to install it rather...
vapier [Wed, 28 Jan 2009 04:46:14 +0000 (04:46 +0000)] 
unify TCLLIBDIR handling with libtclsqlite3.so and use libtool to install it rather than custom tclinstaller.tcl ... this integrates better with autotools and avoids relinking issues (RPATH pointing to builddir) (CVS 6210)

FossilOrigin-Name: 3a049ca761f36d0fdb3b5b5f254c00210b373e9e

16 years agoAdd testcase() macros for coverage in date.c. (CVS 6209)
drh [Wed, 28 Jan 2009 02:55:28 +0000 (02:55 +0000)] 
Add testcase() macros for coverage in date.c. (CVS 6209)

FossilOrigin-Name: 90b42eba8e02402c342e04236148bbd5e4d93eb8

16 years agouse AC_MSG_xxx funcs rather than `echo` (CVS 6208)
vapier [Mon, 26 Jan 2009 21:43:16 +0000 (21:43 +0000)] 
use AC_MSG_xxx funcs rather than `echo` (CVS 6208)

FossilOrigin-Name: ed08025ad2c5c9e52732ad91192e1c6d58272c87

16 years ago(#3449) search for tclConfig.sh first by asking tclsh itself where it is (CVS 6207)
vapier [Mon, 26 Jan 2009 21:39:33 +0000 (21:39 +0000)] 
(#3449) search for tclConfig.sh first by asking tclsh itself where it is (CVS 6207)

FossilOrigin-Name: ff2912dc1483bf934c94bd7866b4ec314a0d784f

16 years ago(#1428) installed shared libs with exec perms (CVS 6206)
vapier [Mon, 26 Jan 2009 21:25:57 +0000 (21:25 +0000)] 
(#1428) installed shared libs with exec perms (CVS 6206)

FossilOrigin-Name: 3f2a3414d008636e0d70f3ed8b728ffdd46ae9fc

16 years ago(#3583) add a rule for sqlite3.pc in case the .in file is updated (CVS 6205)
vapier [Mon, 26 Jan 2009 20:59:02 +0000 (20:59 +0000)] 
(#3583) add a rule for sqlite3.pc in case the .in file is updated (CVS 6205)

FossilOrigin-Name: 4d03b69317acde5c29f38ae88276c15abf05266a

16 years agoRemove obsolete files from the tools subfolder. (CVS 6204)
drh [Sat, 24 Jan 2009 15:23:00 +0000 (15:23 +0000)] 
Remove obsolete files from the tools subfolder. (CVS 6204)

FossilOrigin-Name: d74560803e16eb2d28fc644b9aedb8c60eb224c6

16 years agoFix some minor compiler warnings. Added sqlite3Isalpha() for use in
drh [Sat, 24 Jan 2009 11:30:42 +0000 (11:30 +0000)] 
Fix some minor compiler warnings.  Added sqlite3Isalpha() for use in
the soundex() function. (CVS 6203)

FossilOrigin-Name: bfc71edca471221add6b32b867d0b15171974eaf

16 years agoRemove incorrect ALWAYS macro associated with empty IN() sets. Ticket #3602. (CVS...
danielk1977 [Sat, 24 Jan 2009 09:56:15 +0000 (09:56 +0000)] 
Remove incorrect ALWAYS macro associated with empty IN() sets. Ticket #3602. (CVS 6202)

FossilOrigin-Name: f3c09a0cb8bfc1a112c31b556d8921d5c75c5eef

16 years agoOptimization: When loading a new page into the cache, avoid redundant memset() calls...
danielk1977 [Fri, 23 Jan 2009 16:45:00 +0000 (16:45 +0000)] 
Optimization: When loading a new page into the cache, avoid redundant memset() calls to zero it. (CVS 6201)

FossilOrigin-Name: 9c0b9f881367871105965d4268e2f2cde7f4d884

16 years agoFix the VACUUM command so that it does not commit a transaction when it is
drh [Thu, 22 Jan 2009 23:04:45 +0000 (23:04 +0000)] 
Fix the VACUUM command so that it does not commit a transaction when it is
mistakenly run within a transaction - it should leave the transaction open. (CVS 6200)

FossilOrigin-Name: 75cc709be46ae2096d2ba3e7ac58de8140f8130c

16 years agoSilence a C++ builder warning by writing "if( (rc = function())!=SQLITE_OK )" instead...
danielk1977 [Thu, 22 Jan 2009 17:12:39 +0000 (17:12 +0000)] 
Silence a C++ builder warning by writing "if( (rc = function())!=SQLITE_OK )" instead of "if( (rc = function()) )" in two places in pager.c. Ticket #3605. (CVS 6199)

FossilOrigin-Name: 78ae96def54026461c0d03a90394480f724ea584

16 years agoAdd a comment to fts3_tokenizer.h to make it clear how the xNext() method is supposed...
danielk1977 [Wed, 21 Jan 2009 17:45:33 +0000 (17:45 +0000)] 
Add a comment to fts3_tokenizer.h to make it clear how the xNext() method is supposed to set its output variables. Make sure the output variables of xNext() are only used if SQLITE_OK is returned. Ticket #3604. (CVS 6198)

FossilOrigin-Name: 5b3c075f96be9671d0bcffe928589b211559e835

16 years agoBig change to make pager.c easier to follow. Unused variables removed, comments impro...
danielk1977 [Tue, 20 Jan 2009 17:06:27 +0000 (17:06 +0000)] 
Big change to make pager.c easier to follow. Unused variables removed, comments improved, etc. (CVS 6197)

FossilOrigin-Name: 12f7346c13c180ed73d7a2e3b590be457360254a

16 years agoWhen not compiling for an EBCDIC system, use built-in alternatives to the tolowe
danielk1977 [Tue, 20 Jan 2009 16:53:39 +0000 (16:53 +0000)] 
When not compiling for an EBCDIC system, use built-in alternatives to the tolowe
r(), toupper() and other ctype.h library functions. Ticket #3597. (CVS 6196)

FossilOrigin-Name: 1041abd6784d283bebf646c54e93599522f7889d

16 years agoMake sure the *pzErrMsg return from sqlite3_get_table() is aways zeroed.
drh [Mon, 19 Jan 2009 20:49:09 +0000 (20:49 +0000)] 
Make sure the *pzErrMsg return from sqlite3_get_table() is aways zeroed.
Ticket #3598. (CVS 6195)

FossilOrigin-Name: 7035c35dbef72b7b4d00201a65734a6d93dd0d3e

16 years agoFix the --enable-tempstore option on the configure script. Ticket #3599 (CVS 6194)
drh [Mon, 19 Jan 2009 18:18:40 +0000 (18:18 +0000)] 
Fix the --enable-tempstore option on the configure script.  Ticket #3599 (CVS 6194)

FossilOrigin-Name: c2eabb99fe852142e54f35f423f766411d7ba6c0

16 years agoMake sure mutexes are fully enabled for thread001.test. Take steps to
drh [Mon, 19 Jan 2009 17:40:12 +0000 (17:40 +0000)] 
Make sure mutexes are fully enabled for thread001.test.  Take steps to
ensure that the thread tests run during regression testing. (CVS 6193)

FossilOrigin-Name: 6242f113eb40d472b78685c296fecf9f749a11cd

16 years agoFix a bug that was preventing SQLite from releasing locks properly under obscure...
danielk1977 [Sat, 17 Jan 2009 16:59:40 +0000 (16:59 +0000)] 
Fix a bug that was preventing SQLite from releasing locks properly under obscure circumstances. (CVS 6192)

FossilOrigin-Name: 502c66df8b5fc5ec8e3d94202030571a4920fb9c

16 years agoBack out the Makefile.in changes from check-in (6181) because of reports
drh [Sat, 17 Jan 2009 15:53:31 +0000 (15:53 +0000)] 
Back out the Makefile.in changes from check-in (6181) because of reports
(ticket #3594) that they do not work on NetBSD.  Separately, documentation
is updated to make clear that configure and Makefile.in are unsupported. (CVS 6191)

FossilOrigin-Name: 2d79aaab134c8a09722cb0466d45e04002bce54f

16 years agoRemove a harmless UMR that occurs inside some debugging code. (CVS 6190)
drh [Fri, 16 Jan 2009 23:47:42 +0000 (23:47 +0000)] 
Remove a harmless UMR that occurs inside some debugging code. (CVS 6190)

FossilOrigin-Name: 191c399fc6354b35477ec21f685377e2af26f49b

16 years agoFix a change-counter bug similar to #3584. This one is much more obscure though,...
danielk1977 [Fri, 16 Jan 2009 16:40:14 +0000 (16:40 +0000)] 
Fix a change-counter bug similar to #3584. This one is much more obscure though, requiring a transient IO or malloc error to occur while running in exclusive mode. (CVS 6189)

FossilOrigin-Name: 9f07d2d9226b73c4dc311fd142e0aaba4ffcb078

16 years agoRevert (6187). (CVS 6188)
danielk1977 [Fri, 16 Jan 2009 16:23:38 +0000 (16:23 +0000)] 
Revert (6187). (CVS 6188)

FossilOrigin-Name: a353c1ab376b159c4d12532412365318cdbdcc60

16 years agoThis commit is an error. Reverted by (6188). (CVS 6187)
danielk1977 [Fri, 16 Jan 2009 15:21:05 +0000 (15:21 +0000)] 
This commit is an error. Reverted by (6188). (CVS 6187)

FossilOrigin-Name: aa67fd0cdb4f53a0c6e15c001d37554d15006718

16 years agoAllow recently added keywords 'savepoint' and 'release' to be used as database object...
danielk1977 [Fri, 16 Jan 2009 11:04:58 +0000 (11:04 +0000)] 
Allow recently added keywords 'savepoint' and 'release' to be used as database object names. Just as they could be prior to 3.6.8. Ticket #3590. (CVS 6186)

FossilOrigin-Name: 54ab8326a1ea574b183f84c8465315e989a23ca4

16 years agoTreat "or" as an ANSI-C keyword, even though it is not. Ticket #3588. (CVS 6185)
drh [Thu, 15 Jan 2009 17:40:42 +0000 (17:40 +0000)] 
Treat "or" as an ANSI-C keyword, even though it is not.  Ticket #3588. (CVS 6185)

FossilOrigin-Name: ed4e308caaa50c55aa01cd34079f1be5c8a93c71

16 years agoVersion 3.6.10 (CVS 6184) version-3.6.10
drh [Thu, 15 Jan 2009 17:04:23 +0000 (17:04 +0000)] 
Version 3.6.10 (CVS 6184)

FossilOrigin-Name: 21b720cc9b9f88b8262c85c58287dd01486c936e

16 years agoDisable test case select2-2.0.3. This was a timing test that sometimes
drh [Thu, 15 Jan 2009 15:23:59 +0000 (15:23 +0000)] 
Disable test case select2-2.0.3.  This was a timing test that sometimes
fails due to CPU contention with other processes on the same host. (CVS 6183)

FossilOrigin-Name: ffdf91fec93aed35cf3dde1edbe9d7f8a5d23ae8

16 years agoAvoid using ENOTSUP on systems that do not define that symbol.
drh [Thu, 15 Jan 2009 04:30:02 +0000 (04:30 +0000)] 
Avoid using ENOTSUP on systems that do not define that symbol.
Ticket #3512. (CVS 6182)

FossilOrigin-Name: fcb6c677124102558f7a7a22bc3569b664424a4c

16 years agoMake some changes requested by Fedora. (CVS 6181)
drh [Wed, 14 Jan 2009 23:38:02 +0000 (23:38 +0000)] 
Make some changes requested by Fedora. (CVS 6181)

FossilOrigin-Name: 7bc08bc719c2e9ca6d92d4709c0478e15fdfb131

16 years agoFix the shell so that the ".schema" command works regardless of the
drh [Wed, 14 Jan 2009 23:17:55 +0000 (23:17 +0000)] 
Fix the shell so that the ".schema" command works regardless of the
pragma settings.  Ticket #3585. (CVS 6180)

FossilOrigin-Name: 6f6b638e44a8cfc741594f02b0178fa98ed7e2c1

16 years agoAdd asserts to detect if a transaction commits without first incrementing
drh [Wed, 14 Jan 2009 23:03:40 +0000 (23:03 +0000)] 
Add asserts to detect if a transaction commits without first incrementing
the transaction counter.  These asserts are intended to prevent future
problems similar to ticket #3584. (CVS 6179)

FossilOrigin-Name: b676ccfd9019e65b52251332d94de1b3018ec823

16 years agoFix typos in comments in FTS3 implementation. (CVS 6178)
drh [Wed, 14 Jan 2009 18:59:41 +0000 (18:59 +0000)] 
Fix typos in comments in FTS3 implementation. (CVS 6178)

FossilOrigin-Name: b0f066630c35c4947d3ecd29d32d91036da19e94

16 years agoIncrement the version number in preparation for yet another release. (CVS 6177)
drh [Wed, 14 Jan 2009 18:59:12 +0000 (18:59 +0000)] 
Increment the version number in preparation for yet another release. (CVS 6177)

FossilOrigin-Name: dce60ea764ae50f1008d178029eff5b3959eca38

16 years agoFix a problem with committing a transaction while there are other active statements...
danielk1977 [Wed, 14 Jan 2009 17:45:57 +0000 (17:45 +0000)] 
Fix a problem with committing a transaction while there are other active statements. Sometimes, the database change counter was not being updated. (CVS 6176)

FossilOrigin-Name: b7d2a477aa2c3dbbb81d18fba1faa6835711b5c3

16 years agoVersion 3.6.9 (CVS 6175)
drh [Wed, 14 Jan 2009 04:09:36 +0000 (04:09 +0000)] 
Version 3.6.9 (CVS 6175)

FossilOrigin-Name: b6ce8199a9286eb2d0a590abc8ef080594d84f83

16 years agoHere is the test case to prove that ticket #3581 is fixed. (CVS 6174)
drh [Wed, 14 Jan 2009 01:10:40 +0000 (01:10 +0000)] 
Here is the test case to prove that ticket #3581 is fixed. (CVS 6174)

FossilOrigin-Name: f5f5ef646bef6de6a744b565e089219d4e47397d

16 years agoMake sure the OR-clause optimizer takes the cost of sorting into account.
drh [Wed, 14 Jan 2009 00:55:09 +0000 (00:55 +0000)] 
Make sure the OR-clause optimizer takes the cost of sorting into account.
Reset the rowid cache on the OP_Rewind and OP_Last opcodes.  Bump the
version number so that we can do an emergency release.  Ticket #3581. (CVS 6173)

FossilOrigin-Name: d28b58209bf5eb575d0cad8dc71ac043395c6471

16 years agoUpdates to comments as suggested by tickets #3578 and #3579. (CVS 6172)
drh [Tue, 13 Jan 2009 20:14:15 +0000 (20:14 +0000)] 
Updates to comments as suggested by tickets #3578 and #3579. (CVS 6172)

FossilOrigin-Name: b5927213b6171e57018f1f265940c9bcc7a0ba04

16 years agoIf the journal file is open when unlocking the database, close it just before unlocki...
danielk1977 [Tue, 13 Jan 2009 16:03:44 +0000 (16:03 +0000)] 
If the journal file is open when unlocking the database, close it just before unlocking the database file instead of just after. This may fix #3572. (CVS 6171)

FossilOrigin-Name: 36fe9a7a51b5279f1a3964139aa636e81f9c8b06

16 years agoVersion 3.6.8 (CVS 6170)
drh [Mon, 12 Jan 2009 15:46:57 +0000 (15:46 +0000)] 
Version 3.6.8 (CVS 6170)

FossilOrigin-Name: 8ca0b7c13620c8e2acf73343ebfb13128dd4c3b1