]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
18 years agoMake the 3rd parameter of the SUBSTR() function optional. Ticket #2579. (CVS 4486)
drh [Fri, 12 Oct 2007 19:11:55 +0000 (19:11 +0000)] 
Make the 3rd parameter of the SUBSTR() function optional.  Ticket #2579. (CVS 4486)

FossilOrigin-Name: 4a807d48ea9923c1e3df4a5ad503710e62ae29f8

18 years agoAdd an explicit type conversion in an AWK script to work around
drh [Fri, 12 Oct 2007 18:36:26 +0000 (18:36 +0000)] 
Add an explicit type conversion in an AWK script to work around
bugs in cygwin.  Ticket #2713. (CVS 4485)

FossilOrigin-Name: 043cee2fd9319f24bb5c70d6619bfe8f8e2e3b91

18 years agoUpdate documentation to talk about the SQLITE_UTF16_ALIGNED option
drh [Fri, 12 Oct 2007 18:30:12 +0000 (18:30 +0000)] 
Update documentation to talk about the SQLITE_UTF16_ALIGNED option
for sqlite3_create_collation(). Ticket #2722 (CVS 4484)

FossilOrigin-Name: a7292c14ded6cfca65850ef8169799d2d5f35a61

18 years agoFix to the main.mk makefile. (CVS 4483)
drh [Fri, 12 Oct 2007 00:23:44 +0000 (00:23 +0000)] 
Fix to the main.mk makefile. (CVS 4483)

FossilOrigin-Name: e4527dd6ed81f5cb7862b76305be7d7b6d31016d

18 years agoStill more tweaks to the wince interface. Ticket #2711. (CVS 4482)
drh [Tue, 9 Oct 2007 15:36:10 +0000 (15:36 +0000)] 
Still more tweaks to the wince interface.  Ticket #2711. (CVS 4482)

FossilOrigin-Name: b2bdb476858c6e4b8977ea06be68b2331d1d84df

18 years agoFix a typo in the wince driver. Ticket #2710. See also ticket #2702. (CVS 4481)
drh [Tue, 9 Oct 2007 15:20:39 +0000 (15:20 +0000)] 
Fix a typo in the wince driver.  Ticket #2710.  See also ticket #2702. (CVS 4481)

FossilOrigin-Name: beb91af7061a3950636064bf60946132a884cd7b

18 years agoFixes to the test suite (no code changes) so that quick.test runs with OMIT_ATTACH...
danielk1977 [Tue, 9 Oct 2007 08:29:32 +0000 (08:29 +0000)] 
Fixes to the test suite (no code changes) so that quick.test runs with OMIT_ATTACH builds. #2706. (CVS 4480)

FossilOrigin-Name: 07c00fffe50e8380748f7ae02328531a75d64610

18 years agoMore untested changes for wince contributed by users. Ticket #2702. (CVS 4479)
drh [Mon, 8 Oct 2007 15:06:03 +0000 (15:06 +0000)] 
More untested changes for wince contributed by users.  Ticket #2702. (CVS 4479)

FossilOrigin-Name: ccd709e1791b1c1091a61139633b972b378c1816

18 years agoReverting check-in (3836) at the request of winCE users. We no ability
drh [Mon, 8 Oct 2007 12:29:17 +0000 (12:29 +0000)] 
Reverting check-in (3836) at the request of winCE users.  We no ability
to test this change.  Presumably this is a fix for tickets #2698, #2533,
and #2598.  It is unclear if this causes #2294 to be reopened or not. (CVS 4478)

FossilOrigin-Name: 27346fa55ed9b5c20016d07a37268fbd42dc097f

18 years agoFix a bug in code for winCE. Ticket #2700. (CVS 4477)
drh [Mon, 8 Oct 2007 12:22:57 +0000 (12:22 +0000)] 
Fix a bug in code for winCE.  Ticket #2700. (CVS 4477)

FossilOrigin-Name: a36fca4cdef162c87ce47a50ededdea19a8865f9

18 years agoIn windows, always open files using FILE_FLAG_RANDOM_ACCESS. Ticket #2699. (CVS...
drh [Mon, 8 Oct 2007 12:21:10 +0000 (12:21 +0000)] 
In windows, always open files using FILE_FLAG_RANDOM_ACCESS.  Ticket #2699. (CVS 4476)

FossilOrigin-Name: 5cdbc0972fe94c13dffee1f908a77f903e580449

18 years agoFix a memory leak in the sqlite3_realloc() implementation of the
drh [Sat, 6 Oct 2007 01:40:35 +0000 (01:40 +0000)] 
Fix a memory leak in the sqlite3_realloc() implementation of the
non-debugging memory allocator. (CVS 4475)

FossilOrigin-Name: 7e9b886dabf10557bc1aa80caad411809ce5a39f

18 years agoRemove #include <math.h> from all source files. It is no longer needed but
drh [Fri, 5 Oct 2007 16:23:55 +0000 (16:23 +0000)] 
Remove #include <math.h> from all source files.  It is no longer needed but
causes compile problems when -DSQLITE_OMIT_FLOATING_POINT is defined.
Ticket #2696. (CVS 4474)

FossilOrigin-Name: 4424357d17f615fab922780616eac6773535923a

18 years agoChanges lemon so that the generated parser does not accept prior to
drh [Fri, 5 Oct 2007 16:16:36 +0000 (16:16 +0000)] 
Changes lemon so that the generated parser does not accept prior to
seeing the EOF token.  This is a lemon change only and does not
effect SQLite.  Ticket #2550. (CVS 4473)

FossilOrigin-Name: 1c68d93412a608f5164ad984ff290ab3b832bf7a

18 years agoChanges to a couple of test scripts to handle the tcl 8.5 version of (file attributes...
danielk1977 [Fri, 5 Oct 2007 15:53:29 +0000 (15:53 +0000)] 
Changes to a couple of test scripts to handle the tcl 8.5 version of (file attributes -readonly) on mac. (CVS 4472)

FossilOrigin-Name: a51946e66badab37cd54982265631bbc5e414f8e

18 years agoDo not attempt to use TryEnterCriticalSection() under win32. It causes
drh [Fri, 5 Oct 2007 15:08:01 +0000 (15:08 +0000)] 
Do not attempt to use TryEnterCriticalSection() under win32.  It causes
too many compiler problems.  Ticket #2685. (CVS 4471)

FossilOrigin-Name: f795431c725d88bd4011f20cf63cac630de842f1

18 years agoFix problem building testfixture on mac. Ticket #2689. (CVS 4470)
danielk1977 [Fri, 5 Oct 2007 15:04:12 +0000 (15:04 +0000)] 
Fix problem building testfixture on mac. Ticket #2689. (CVS 4470)

FossilOrigin-Name: fe067d706b40d9756433eac9896660514d1c8216

18 years agoThe sqlite3internal.h file obsolete as of version 3.5.0. Remove
drh [Fri, 5 Oct 2007 14:54:08 +0000 (14:54 +0000)] 
The sqlite3internal.h file obsolete as of version 3.5.0.  Remove
legacy procedures and makefile targets for building this file.
Tickets #2693 and #2694. (CVS 4469)

FossilOrigin-Name: e65842a9d4c779d24207e8a7934fe3bf35ff228b

18 years agoUse FormatMessageA() instead of FormatMessage() in the w32 VFS.
drh [Fri, 5 Oct 2007 14:49:45 +0000 (14:49 +0000)] 
Use FormatMessageA() instead of FormatMessage() in the w32 VFS.
Ticket #2687. (CVS 4468)

FossilOrigin-Name: 38674fd287e0ca67e27c46a3ad0db4dcc8ed1e0c

18 years agoCorrect the name on the new test script for ticket #2686. (CVS 4467)
drh [Thu, 4 Oct 2007 18:52:15 +0000 (18:52 +0000)] 
Correct the name on the new test script for ticket #2686. (CVS 4467)

FossilOrigin-Name: d261e2c731ef97d86fa9dc3caa1ce31ee9ce78ae

18 years agoFixes for OMIT_AUTHORIZATION builds. #2691. (CVS 4466)
danielk1977 [Thu, 4 Oct 2007 18:11:15 +0000 (18:11 +0000)] 
Fixes for OMIT_AUTHORIZATION builds. #2691. (CVS 4466)

FossilOrigin-Name: 755fcaf7e355042d88fed6b9b49669300b010695

18 years agoVersion 3.5.1 (CVS 4465)
drh [Thu, 4 Oct 2007 00:30:53 +0000 (00:30 +0000)] 
Version 3.5.1 (CVS 4465)

FossilOrigin-Name: 81cf518646b277b08e04079c67053450a259542b

18 years agoUpdates to the documentation index page. (CVS 4464)
drh [Thu, 4 Oct 2007 00:29:28 +0000 (00:29 +0000)] 
Updates to the documentation index page. (CVS 4464)

FossilOrigin-Name: 837fc86166bfc789a53de1853043044f5e8ae3ac

18 years agoGet io.test to work even if auto_vacuum is on by default and we are
drh [Wed, 3 Oct 2007 21:18:19 +0000 (21:18 +0000)] 
Get io.test to work even if auto_vacuum is on by default and we are
running with a reduced maximum page size. (CVS 4463)

FossilOrigin-Name: 0d05f3fbaad44a0d3723cd543b865326acddf883

18 years agoFix a syntax error that comes up when memory debugging is disabled. (CVS 4462)
drh [Wed, 3 Oct 2007 21:10:58 +0000 (21:10 +0000)] 
Fix a syntax error that comes up when memory debugging is disabled. (CVS 4462)

FossilOrigin-Name: 96dd3c336b5bbf9da6ba9ace85dbe7c4b1ff2bcb

18 years agoUpdate documentation in preparation for the release of 3.5.1. (CVS 4461)
drh [Wed, 3 Oct 2007 20:32:17 +0000 (20:32 +0000)] 
Update documentation in preparation for the release of 3.5.1. (CVS 4461)

FossilOrigin-Name: a57b25a2e4127bb3d9dc83031db117664c10d4ea

18 years agoUpdate documentation to talk about the response to errors
drh [Wed, 3 Oct 2007 20:15:28 +0000 (20:15 +0000)] 
Update documentation to talk about the response to errors
within an explicit transaction. (CVS 4460)

FossilOrigin-Name: 84616a13af633700635ad2f91e92c2f7271e96d1

18 years agoSimplify the vdbeHalt logic slightly. (CVS 4459)
drh [Wed, 3 Oct 2007 18:45:04 +0000 (18:45 +0000)] 
Simplify the vdbeHalt logic slightly. (CVS 4459)

FossilOrigin-Name: b59f7bcbabcccde9d2519e10e65e121343f2af7a

18 years agoRollback the transaction if an SQLITE_FULL error is encountered.
drh [Wed, 3 Oct 2007 15:30:52 +0000 (15:30 +0000)] 
Rollback the transaction if an SQLITE_FULL error is encountered.
This is a preliminary fix for ticket #2686.  More testing and
analysis is needed before we close the ticket. (CVS 4458)

FossilOrigin-Name: 0fb6d5a5773c282882e7283e6f8f8c009e238ff4

18 years agoFix a memory leak that could occur during error-state recovery. (CVS 4457)
danielk1977 [Wed, 3 Oct 2007 15:22:25 +0000 (15:22 +0000)] 
Fix a memory leak that could occur during error-state recovery. (CVS 4457)

FossilOrigin-Name: 3d1d13d1eb5817c22956e6e7792783116a828962

18 years agoAdd a test case to malloc.test. (CVS 4456)
danielk1977 [Wed, 3 Oct 2007 15:02:40 +0000 (15:02 +0000)] 
Add a test case to malloc.test. (CVS 4456)

FossilOrigin-Name: 7d3f0b149bd2b9c7c12aabb93d022c0ea26f0d74

18 years agoFix a problem in test script malloc5.test. (CVS 4455)
danielk1977 [Wed, 3 Oct 2007 09:43:54 +0000 (09:43 +0000)] 
Fix a problem in test script malloc5.test. (CVS 4455)

FossilOrigin-Name: 028ec36c71d6ac43c8f1cda77578d844c6955f68

18 years agoAdd automatic recovery from the pager "error-state". Also add a new error code -...
danielk1977 [Wed, 3 Oct 2007 08:46:44 +0000 (08:46 +0000)] 
Add automatic recovery from the pager "error-state". Also add a new error code - SQLITE_IOERR_NOMEM. (CVS 4454)

FossilOrigin-Name: 12eca32a6a3d68d5b20eed03afdffe7599e66014

18 years agoUse local variables instead of #defines for the mutex name and length in OS/2's sqlit...
pweilbacher [Tue, 2 Oct 2007 19:56:04 +0000 (19:56 +0000)] 
Use local variables instead of #defines for the mutex name and length in OS/2's sqlite3_mutex_alloc(). (CVS 4453)

FossilOrigin-Name: 272959cc91d0c9299d6fca8a962eb563650af87b

18 years agoAdditional #ifdefing around _XOPEN_SOURCE. Ticket #2681. (CVS 4452)
drh [Mon, 1 Oct 2007 17:47:00 +0000 (17:47 +0000)] 
Additional #ifdefing around _XOPEN_SOURCE.  Ticket #2681. (CVS 4452)

FossilOrigin-Name: eb5d78451ee2a5d8480537530f30fbb305bf7632

18 years agoDocument that END TRANSACTION is an alias for COMMIT. Ticket #2656 (CVS 4451)
drh [Mon, 1 Oct 2007 17:45:39 +0000 (17:45 +0000)] 
Document that END TRANSACTION is an alias for COMMIT.  Ticket #2656 (CVS 4451)

FossilOrigin-Name: ebe3e6913c35bebb0e78dac995527d5da97a9377

18 years agoOmit the _XOPEN_SOURCE 500 define on Mac OS-X. Ticket #2673 (CVS 4450)
drh [Mon, 1 Oct 2007 14:30:14 +0000 (14:30 +0000)] 
Omit the _XOPEN_SOURCE 500 define on Mac OS-X.  Ticket #2673 (CVS 4450)

FossilOrigin-Name: 0bbf654b6745058a705ef5c320bdd5fb06735271

18 years agoUpdate the build process so that it includes sqlite3ext.h with the
drh [Mon, 1 Oct 2007 13:59:48 +0000 (13:59 +0000)] 
Update the build process so that it includes sqlite3ext.h with the
amalgamation ZIP archive.  Ticket #2678. (CVS 4449)

FossilOrigin-Name: 6232ee6750562b2cb913af4bb26111a097dd1192

18 years agoUse sqlite3_int64, not sqlite_in64, consistently in the documentation.
drh [Mon, 1 Oct 2007 13:54:11 +0000 (13:54 +0000)] 
Use sqlite3_int64, not sqlite_in64, consistently in the documentation.
Ticket #2680. (CVS 4448)

FossilOrigin-Name: f7a2647033817c73f40010e145e4c29173a55689

18 years agoFix comment typos in sqlite3.h. Ticket #2666. (CVS 4447)
drh [Mon, 1 Oct 2007 13:50:31 +0000 (13:50 +0000)] 
Fix comment typos in sqlite3.h.  Ticket #2666. (CVS 4447)

FossilOrigin-Name: 2ea278a2af5b3e94acf5321375cc33d1f58c3885

18 years agoAdd text to the load_extension SQL function documentation that
drh [Mon, 1 Oct 2007 13:45:04 +0000 (13:45 +0000)] 
Add text to the load_extension SQL function documentation that
explains limitations in the use of that function.  Ticket #2672. (CVS 4446)

FossilOrigin-Name: b2befc84c360dde42c6dd10cbcc9572e37852438

18 years agoRemove "const" keywords from the sqlite3_index_info structure definition.
drh [Fri, 21 Sep 2007 12:43:16 +0000 (12:43 +0000)] 
Remove "const" keywords from the sqlite3_index_info structure definition.
The use of this keyword is suspected to be causing problems for some
compilers. (CVS 4445)

FossilOrigin-Name: 005d780de6e9e377ee296ff576e58cf1b512f245

18 years agoAnother comment typo. Also #2660. (CVS 4444)
danielk1977 [Fri, 21 Sep 2007 04:28:16 +0000 (04:28 +0000)] 
Another comment typo. Also #2660. (CVS 4444)

FossilOrigin-Name: 0c1e6f69cd55ced4af5dcfbeff04820ba0d5b051

18 years agoFix a typo in comments. Ticket #2660. (CVS 4443)
danielk1977 [Fri, 21 Sep 2007 04:27:02 +0000 (04:27 +0000)] 
Fix a typo in comments. Ticket #2660. (CVS 4443)

FossilOrigin-Name: 02c8d60bea36825c1c763bbf2c6107869915aafd

18 years agoInitial attempt of the new OS/2 mutex implementation. (Compiles and an attempt to...
pweilbacher [Thu, 20 Sep 2007 21:40:23 +0000 (21:40 +0000)] 
Initial attempt of the new OS/2 mutex implementation. (Compiles and an attempt to create a new table does not crash in mutex_os2 any more.) (CVS 4442)

FossilOrigin-Name: aa61b244252399cce3b9c1ece9c6816ae9cb6717

18 years agoReplace "i64" with "sqlite3_int64" in the w32 VFS. (CVS 4441)
drh [Thu, 20 Sep 2007 14:39:23 +0000 (14:39 +0000)] 
Replace "i64" with "sqlite3_int64" in the w32 VFS. (CVS 4441)

FossilOrigin-Name: 138d3fcc5a74eb570107ae1299184a318b5417df

18 years agoCleanup the hash functions in FTS3. (CVS 4440)
drh [Thu, 20 Sep 2007 12:53:27 +0000 (12:53 +0000)] 
Cleanup the hash functions in FTS3. (CVS 4440)

FossilOrigin-Name: ac645c8f30aac0d98fc481260084c9bd3975a845

18 years agoget rid of remaining GCC 4.3 -Wall compiler warnings by initializing two variables...
rse [Thu, 20 Sep 2007 11:34:17 +0000 (11:34 +0000)] 
get rid of remaining GCC 4.3 -Wall compiler warnings by initializing two variables and one structure properly (although the code path was already rather safe) (CVS 4439)

FossilOrigin-Name: d748694f8d9b14d98b6fe7ceb404754692761705

18 years agofix typo in comment (CVS 4438)
rse [Thu, 20 Sep 2007 11:32:18 +0000 (11:32 +0000)] 
fix typo in comment (CVS 4438)

FossilOrigin-Name: c2ac43a4ef674c0202d5bd1ec57fc25c89d0554e

18 years agoFixes for uninitialized variables. Tickets #2658 and #2659. (CVS 4437)
drh [Thu, 20 Sep 2007 10:02:54 +0000 (10:02 +0000)] 
Fixes for uninitialized variables.  Tickets #2658 and #2659. (CVS 4437)

FossilOrigin-Name: 27fe1288336665c4d47c5d7ddcbeacc451ec4a9d

18 years agoThe code is correct as it contains an assert(3) in the "default" switch
rse [Thu, 20 Sep 2007 08:38:14 +0000 (08:38 +0000)] 
The code is correct as it contains an assert(3) in the "default" switch
case, but GCC 4.3 is not able to detect this and instead complains
with "warning: 'amode' may be used uninitialized in this function".
Hence, although the assert(3) already protects the code here, get rid of
this compiler warning by doing a simple initialization of the "amode"
variable. (CVS 4436)

FossilOrigin-Name: 91831ff2922666b39d8f4ba448982c6763030633

18 years agoAdd disabled test cases for ticket #2652. We will enable these test cases
drh [Tue, 18 Sep 2007 16:53:52 +0000 (16:53 +0000)] 
Add disabled test cases for ticket #2652.  We will enable these test cases
after #2652 is fixed.  The fix will be difficult and will probably take
a while.  On the other hand, correlated aggregate queries have never
worked in SQLite and the problem is just now coming to light, so it is
probably not a pressing issue. (CVS 4435)

FossilOrigin-Name: 5c41619e292699c72231cff10e26dfbe9a363a00

18 years agoRemove unneeded pSchema field from the Expr structure. (CVS 4434)
drh [Tue, 18 Sep 2007 15:55:07 +0000 (15:55 +0000)] 
Remove unneeded pSchema field from the Expr structure. (CVS 4434)

FossilOrigin-Name: b2d605a2714245febb316a24edc7a076e21a3849

18 years agoAdd a parameter to specify the size of the output buffer passed to xGetTempname(...
danielk1977 [Mon, 17 Sep 2007 07:02:56 +0000 (07:02 +0000)] 
Add a parameter to specify the size of the output buffer passed to xGetTempname() and xFullPathname(). This, and the previous commit, are changes to the public vfs API introduced in 3.5.0. (CVS 4433)

FossilOrigin-Name: 8b29f5fbfc723cdf67cf3410cd01f7c17ea39a4b

18 years agoChange the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. To be...
danielk1977 [Mon, 17 Sep 2007 06:06:39 +0000 (06:06 +0000)] 
Change the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. To be consistent with xFullPathname and sqlite3OsFullPathname. (CVS 4432)

FossilOrigin-Name: ad3687b16e9420d8bbaa3a645aaf803813b36061

18 years agoCorrections to the winCE code. Untested. (CVS 4431)
drh [Fri, 14 Sep 2007 20:32:18 +0000 (20:32 +0000)] 
Corrections to the winCE code.  Untested. (CVS 4431)

FossilOrigin-Name: 8cc51e0a817115c4eb667f7257a3f5a4a39d0a4a

18 years agoMinor fixes for the OMIT_INCRBLOB compilation option. (CVS 4430)
danielk1977 [Fri, 14 Sep 2007 16:20:00 +0000 (16:20 +0000)] 
Minor fixes for the OMIT_INCRBLOB compilation option. (CVS 4430)

FossilOrigin-Name: 87e37eabf0ddef252bbc12f6857d33c2b136dcd3

18 years agoAdd demo code for a vfs that operates on a single pre-allocated file. (CVS 4429)
danielk1977 [Fri, 14 Sep 2007 16:19:27 +0000 (16:19 +0000)] 
Add demo code for a vfs that operates on a single pre-allocated file. (CVS 4429)

FossilOrigin-Name: 15680ca4821ec0652dfbe863199b4c3f2afad4ba

18 years agoAdd tests to prevent a regression of the short read problem discovered
drh [Fri, 14 Sep 2007 01:48:11 +0000 (01:48 +0000)] 
Add tests to prevent a regression of the short read problem discovered
in version 3.2.2. (CVS 4428)

FossilOrigin-Name: 995c63b561e935b6a1da34590cb40582f5c30cee

18 years agoDrop the forced error from fts3.c and add forced errors to fts2.c and
shess [Thu, 13 Sep 2007 18:16:08 +0000 (18:16 +0000)] 
Drop the forced error from fts3.c and add forced errors to fts2.c and
fts1.c. (CVS 4427)

FossilOrigin-Name: fec6567a0f8a868cda9bba2a473491dfb17b6c88

18 years agoAdd an implicit (HIDDEN) docid column. This works as an alias to
shess [Thu, 13 Sep 2007 18:14:49 +0000 (18:14 +0000)] 
Add an implicit (HIDDEN) docid column.  This works as an alias to
rowid, similar to how things work in SQLite tables with INTEGER
PRIMARY KEY.  Add tests to verify operation. (CVS 4426)

FossilOrigin-Name: c8d2345200f9ece1af712543982097d0b6f348c7

18 years agoMark the table-named column HIDDEN. Add tests to make sure it's
shess [Thu, 13 Sep 2007 18:12:09 +0000 (18:12 +0000)] 
Mark the table-named column HIDDEN.  Add tests to make sure it's
working as expected. (CVS 4425)

FossilOrigin-Name: ca669eaf1b4af441741129bee4af02f32a7c74b8

18 years agoFix incorrect index cost assumptions that occur after an ANALYZE.
drh [Thu, 13 Sep 2007 17:54:40 +0000 (17:54 +0000)] 
Fix incorrect index cost assumptions that occur after an ANALYZE.
Ticket #2643. (CVS 4424)

FossilOrigin-Name: 2cfdbfe6543bac42961deecec7d085d806e604b5

18 years agoFixes for compilation/testing when the various OMIT macros are defined. (CVS 4423)
danielk1977 [Wed, 12 Sep 2007 17:01:45 +0000 (17:01 +0000)] 
Fixes for compilation/testing when the various OMIT macros are defined. (CVS 4423)

FossilOrigin-Name: c8405b15c074c94dab5e33272cf1471f458d11df

18 years agoIn the query optimizer, make sure table dependencies from all terms
drh [Wed, 12 Sep 2007 15:41:01 +0000 (15:41 +0000)] 
In the query optimizer, make sure table dependencies from all terms
of a compound SELECT statement are recognized so that subqueries in
a WHERE clause are not evaluated too early.  Fix for ticket #2640. (CVS 4422)

FossilOrigin-Name: 9c9c2a1da2b6235b3b0541d1f55a02a1f350567f

18 years agoAdd a missing semi-colon to os_win.c. Ticket #2642. (CVS 4421)
danielk1977 [Wed, 12 Sep 2007 14:09:23 +0000 (14:09 +0000)] 
Add a missing semi-colon to os_win.c. Ticket #2642. (CVS 4421)

FossilOrigin-Name: c6ee5929e7d1f9b7c351f57ee8886f71ea0b6619

18 years agoFix a problem in the noop-mutexes used for testing. (CVS 4420)
danielk1977 [Mon, 10 Sep 2007 16:12:59 +0000 (16:12 +0000)] 
Fix a problem in the noop-mutexes used for testing. (CVS 4420)

FossilOrigin-Name: 4dbeb915b3138194abd5554b52003162235f9a5f

18 years agoAdd another test file to help verify thread-safety. (CVS 4419)
danielk1977 [Mon, 10 Sep 2007 10:53:01 +0000 (10:53 +0000)] 
Add another test file to help verify thread-safety. (CVS 4419)

FossilOrigin-Name: c758cc1d885b4528c0b0ef6382119f20956d4816

18 years agoEnhance thread001.test again, this time to also test in shared-cache mode. (CVS 4418)
danielk1977 [Mon, 10 Sep 2007 07:35:47 +0000 (07:35 +0000)] 
Enhance thread001.test again, this time to also test in shared-cache mode. (CVS 4418)

FossilOrigin-Name: 54f87899033ddd892bfd3a16310f64fb42d807ae

18 years agoUpgrade thread001.test to test with multiple database handles. (CVS 4417)
danielk1977 [Mon, 10 Sep 2007 06:23:53 +0000 (06:23 +0000)] 
Upgrade thread001.test to test with multiple database handles. (CVS 4417)

FossilOrigin-Name: 6ee2b8ffc4310c8e329f634f3ade058b33c53a2a

18 years agoFix an undeclared identifier in an IOTRACE (debugging) block. (CVS 4416)
danielk1977 [Mon, 10 Sep 2007 06:12:04 +0000 (06:12 +0000)] 
Fix an undeclared identifier in an IOTRACE (debugging) block. (CVS 4416)

FossilOrigin-Name: 48e59c747f2be08102f16290fa57dfffc2ae920d

18 years agoModify test_thread.c to use tcl apis for creating threads. (CVS 4415)
danielk1977 [Fri, 7 Sep 2007 18:40:38 +0000 (18:40 +0000)] 
Modify test_thread.c to use tcl apis for creating threads. (CVS 4415)

FossilOrigin-Name: 9b7bab7fc28201b62159e959651acb980095ad06

18 years agoFix a segfault that could occur while attempting to add new pages
drh [Fri, 7 Sep 2007 14:32:06 +0000 (14:32 +0000)] 
Fix a segfault that could occur while attempting to add new pages
to the freelist in a corrupt database. (CVS 4414)

FossilOrigin-Name: c8e85fff7ede68f0b8c8ebfe3df4b26a630abeff

18 years agoAdd the beginning of the thread-safety tests. There are more to come. (CVS 4413)
danielk1977 [Fri, 7 Sep 2007 11:29:25 +0000 (11:29 +0000)] 
Add the beginning of the thread-safety tests. There are more to come. (CVS 4413)

FossilOrigin-Name: 753908e8411024abd5c3da1b8c62f70e35f8734d

18 years agoModify the CLI so that it will ignore whitespace at the end of lines.
drh [Fri, 7 Sep 2007 01:12:32 +0000 (01:12 +0000)] 
Modify the CLI so that it will ignore whitespace at the end of lines.
Ticket #2631 (CVS 4412)

FossilOrigin-Name: f780a17f4b0e679479c2b368d8659a0ee61c343d

18 years agoThrow an error on an attempt to open a database where the page
drh [Thu, 6 Sep 2007 23:39:36 +0000 (23:39 +0000)] 
Throw an error on an attempt to open a database where the page
size is larger than SQLITE_MAX_PAGE_SIZE.  Ticket #2628. (CVS 4411)

FossilOrigin-Name: 4881f7cb37e35dcf5da358464ac858a508128e47

18 years agoBase the name of the statement journal on the original database filename.
drh [Thu, 6 Sep 2007 23:28:23 +0000 (23:28 +0000)] 
Base the name of the statement journal on the original database filename.
Remember the statement journal name for the lifetime of the Pager so
that the name pointer passed to xOpen persists as long as the file
exists. (CVS 4410)

FossilOrigin-Name: 44d8d1e92d93a5bb28bd10281b4d87e89586ef58

18 years agoAllocate page cache headers and page cache data buffers separately.
drh [Thu, 6 Sep 2007 22:19:14 +0000 (22:19 +0000)] 
Allocate page cache headers and page cache data buffers separately.
The data buffer will be a power of two in size and this gives some
malloc implementation additional optimization opportunitites. (CVS 4409)

FossilOrigin-Name: 2b755defe51a565a2b6ace58381d6e91f6f17db8

18 years agoUpdated comments on journal.c. No changes to code. (CVS 4408)
drh [Thu, 6 Sep 2007 13:49:37 +0000 (13:49 +0000)] 
Updated comments on journal.c.  No changes to code. (CVS 4408)

FossilOrigin-Name: 3298441086330d1d24c30b7c061dfec98e9ea3ac

18 years agoAdd some extra comments to the header in test_async.c. (CVS 4407)
danielk1977 [Thu, 6 Sep 2007 07:47:18 +0000 (07:47 +0000)] 
Add some extra comments to the header in test_async.c. (CVS 4407)

FossilOrigin-Name: 79cf4e886cd5f1cd22574ce13135d4e32c1047b6

18 years agoFix temp file handling for OS/2 so that trailing slashes or backslashes
pweilbacher [Wed, 5 Sep 2007 22:28:23 +0000 (22:28 +0000)] 
Fix temp file handling for OS/2 so that trailing slashes or backslashes
are stripped off the path gotten from the environment. Otherwise full
paths might contain multiple slashes which causes opening of files to
fail. (CVS 4406)

FossilOrigin-Name: 96aa96ac11ab63b51e4322e88ded4f931e1e78c8

18 years agoFix a harmless typo in the PRNG initialization on win32. Ticket #2617. (CVS 4405)
drh [Wed, 5 Sep 2007 17:06:03 +0000 (17:06 +0000)] 
Fix a harmless typo in the PRNG initialization on win32.  Ticket #2617. (CVS 4405)

FossilOrigin-Name: ea1d76e3fae599f7197f32852f1722b61ae3f8a7

18 years agoFix error handling (malloc and io errors) in the asynchronous backend. (CVS 4404)
danielk1977 [Wed, 5 Sep 2007 16:54:41 +0000 (16:54 +0000)] 
Fix error handling (malloc and io errors) in the asynchronous backend. (CVS 4404)

FossilOrigin-Name: 80a44382d149b9d53212c15368565ede31aa2dc4

18 years agoTest that the asynchronous backend works with components like "." or ".." in the...
danielk1977 [Wed, 5 Sep 2007 14:32:25 +0000 (14:32 +0000)] 
Test that the asynchronous backend works with components like "." or ".." in the path to the database file. (CVS 4403)

FossilOrigin-Name: 0a87a854226ccea920484613dd7f7873e673c96e

18 years agoRestore the sqlite3_mutex_try() optimization on winNT systems. (CVS 4402)
drh [Wed, 5 Sep 2007 14:30:42 +0000 (14:30 +0000)] 
Restore the sqlite3_mutex_try() optimization on winNT systems. (CVS 4402)

FossilOrigin-Name: 3aace2fa91e96038f7a32366828ac7520470fa67

18 years agoRemove the unixFile.isOpen variable (no longer in use). (CVS 4401)
danielk1977 [Wed, 5 Sep 2007 13:56:32 +0000 (13:56 +0000)] 
Remove the unixFile.isOpen variable (no longer in use). (CVS 4401)

FossilOrigin-Name: 1786e9c881a67fbf8bd014d643590534c8c601dc

18 years agoFix a problem in the test scripts for the asynchronous backend. (CVS 4400)
danielk1977 [Wed, 5 Sep 2007 11:34:54 +0000 (11:34 +0000)] 
Fix a problem in the test scripts for the asynchronous backend. (CVS 4400)

FossilOrigin-Name: 630fc71f3df5ab6129ddff9d8184893ecc6cf3c5

18 years agoDo not use the TryEnterCriticalSection API on windows since it is
drh [Tue, 4 Sep 2007 22:31:36 +0000 (22:31 +0000)] 
Do not use the TryEnterCriticalSection API on windows since it is
unavailable on some platforms. (CVS 4399)

FossilOrigin-Name: bf3d67d1bd1c48fff45dc24818b8358f79c9fdef

18 years agoAdd external locking to test_async.c. There are still some tests to come. (CVS 4398)
danielk1977 [Tue, 4 Sep 2007 18:28:43 +0000 (18:28 +0000)] 
Add external locking to test_async.c. There are still some tests to come. (CVS 4398)

FossilOrigin-Name: 3794dcd31a74e90b181b336bf6a4c917bda526b8

18 years agoFix a problem whereby the *ppVtab output buffer passed to sqlite3_module.xConstruct...
danielk1977 [Tue, 4 Sep 2007 15:38:57 +0000 (15:38 +0000)] 
Fix a problem whereby the *ppVtab output buffer passed to sqlite3_module.xConstruct() could be invalidated (freed) if a malloc() failure occured within a call to sqlite3_declare_vtab(). (CVS 4397)

FossilOrigin-Name: efd61df1b9170f0134787ae17ac996a7eff64add

18 years agoAdd internal locking to the test_async.c backend. So that more than one connection...
danielk1977 [Tue, 4 Sep 2007 14:31:47 +0000 (14:31 +0000)] 
Add internal locking to the test_async.c backend. So that more than one connection may be used from within a single process. (CVS 4396)

FossilOrigin-Name: 17ca684c124445f17d1e36c37e169056c5fd4569

18 years agoClarify documentation on the return value from sqlite3_column_blob() for
drh [Tue, 4 Sep 2007 12:18:41 +0000 (12:18 +0000)] 
Clarify documentation on the return value from sqlite3_column_blob() for
a zero-length BLOB.  Clarify the documentation on what happens when you
have a zeroblob() with a negative length.  Additional test cases but no
changes to code.  Ticket #2623. (CVS 4395)

FossilOrigin-Name: 63ca02a5b2700858f0eceadc9b58b942d473b191

18 years agoDocumentation fixes. No changes to code. Tickets #2622 and #2624. (CVS 4394)
drh [Tue, 4 Sep 2007 12:00:00 +0000 (12:00 +0000)] 
Documentation fixes.  No changes to code.  Tickets #2622 and #2624. (CVS 4394)

FossilOrigin-Name: 2eadef90162590a7b947c38acf0016d0c55821c7

18 years agoFix yet another typo on the homepage. Ticket #2621. (CVS 4393)
drh [Tue, 4 Sep 2007 03:28:27 +0000 (03:28 +0000)] 
Fix yet another typo on the homepage.  Ticket #2621. (CVS 4393)

FossilOrigin-Name: d5fec873102728a1ea9fbdae6799780bfb98bcfb

18 years agoFix a typo on the homepage. Ticket #2619. (CVS 4392)
drh [Tue, 4 Sep 2007 03:08:56 +0000 (03:08 +0000)] 
Fix a typo on the homepage.  Ticket #2619. (CVS 4392)

FossilOrigin-Name: deecd934e651e6813cc364c41015bf3b15a2b193

18 years agoVersion 3.5.0 Alpha (CVS 4391)
drh [Tue, 4 Sep 2007 02:38:14 +0000 (02:38 +0000)] 
Version 3.5.0 Alpha (CVS 4391)

FossilOrigin-Name: 1b690be22a1359696728961d21054fa38f55e866

18 years agoMore documentation changes prior to the 3.5.0 alpha release. (CVS 4390)
drh [Tue, 4 Sep 2007 01:58:26 +0000 (01:58 +0000)] 
More documentation changes prior to the 3.5.0 alpha release. (CVS 4390)

FossilOrigin-Name: b15b03dfd6baef696c80ba1621cd36b1dbec1286

18 years agoFix the malloc-10 test in malloc.test so that it will run on windows when
drh [Tue, 4 Sep 2007 01:25:48 +0000 (01:25 +0000)] 
Fix the malloc-10 test in malloc.test so that it will run on windows when
invoked from exclusive3.test. (CVS 4389)

FossilOrigin-Name: 1166f9c7d1b3cb39a2ab96ed08a0552ba5fe1851

18 years agoFix Makefile.in so that it rebuilds all source files that use SQLITE_TEST
drh [Mon, 3 Sep 2007 22:15:45 +0000 (22:15 +0000)] 
Fix Makefile.in so that it rebuilds all source files that use SQLITE_TEST
when constructing the testfixture. (CVS 4388)

FossilOrigin-Name: dced71a010c14a53e0f71841b5fd55108b7f88b3

18 years agoFix btree.c so that it works with -DSQLITE_THREADSAFE=0 and -DSQLITE_DEBUG=1 (CVS...
drh [Mon, 3 Sep 2007 22:00:39 +0000 (22:00 +0000)] 
Fix btree.c so that it works with -DSQLITE_THREADSAFE=0 and -DSQLITE_DEBUG=1 (CVS 4387)

FossilOrigin-Name: fee2d7c0e6d34dd19ff5f7631c1743879068c8ce