]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
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

18 years agoDocumentation updates in preparation for the release of version 3.5.0. (CVS 4386)
drh [Mon, 3 Sep 2007 20:32:45 +0000 (20:32 +0000)] 
Documentation updates in preparation for the release of version 3.5.0. (CVS 4386)

FossilOrigin-Name: c6809bf77625f420ac62513635628ff4f1766f83

18 years agoIn sqllimits1.test, set MAX_SQL_LENGTH to a value smaller than MAX_LENGTH. (CVS 4385)
danielk1977 [Mon, 3 Sep 2007 18:01:24 +0000 (18:01 +0000)] 
In sqllimits1.test, set MAX_SQL_LENGTH to a value smaller than MAX_LENGTH. (CVS 4385)

FossilOrigin-Name: 51726a9bb6c7f98c496302745656dc317ad5c094

18 years agoUnix OS interface returns SQLITE_CANTOPEN following a getcwd() failure. (CVS 4384)
drh [Mon, 3 Sep 2007 17:42:17 +0000 (17:42 +0000)] 
Unix OS interface returns SQLITE_CANTOPEN following a getcwd() failure. (CVS 4384)

FossilOrigin-Name: ed15db4610bc6202c624234e48d234e0005825e4

18 years agoRemove an unreachable case from xferOptimization(). Also other minor test coverage...
danielk1977 [Mon, 3 Sep 2007 17:30:06 +0000 (17:30 +0000)] 
Remove an unreachable case from xferOptimization(). Also other minor test coverage improvements. (CVS 4383)

FossilOrigin-Name: 75af7189c0ed1b24a32cff6960af7f17326cbc17

18 years agoFix the open file counter on windows. (CVS 4382)
drh [Mon, 3 Sep 2007 17:09:03 +0000 (17:09 +0000)] 
Fix the open file counter on windows. (CVS 4382)

FossilOrigin-Name: 40cf0c177635c087b7695a8c4c3b37da57f74425

18 years agoGet the io.test tests working on windows. (CVS 4381)
drh [Mon, 3 Sep 2007 17:02:50 +0000 (17:02 +0000)] 
Get the io.test tests working on windows. (CVS 4381)

FossilOrigin-Name: 1be70015e24f715a4276f253d2e0c0eec44650ee

18 years agoFix the incrblob.test on windows. Disable line terminator translation. (CVS 4380)
drh [Mon, 3 Sep 2007 16:45:35 +0000 (16:45 +0000)] 
Fix the incrblob.test on windows.  Disable line terminator translation. (CVS 4380)

FossilOrigin-Name: ccbd2efebaecfd26d7016eb6684ad26c0bcc4e6b

18 years agoEnable threadsafe builds by default in configure. Ticket #2606.
drh [Mon, 3 Sep 2007 16:12:09 +0000 (16:12 +0000)] 
Enable threadsafe builds by default in configure.  Ticket #2606.
Changes to test scripts to do better testing under all configurations. (CVS 4379)

FossilOrigin-Name: d66e08fd4f12407e565dc9fc53a5802216808378

18 years agoTest script fixes to get things running under varying configurations.
drh [Mon, 3 Sep 2007 15:42:47 +0000 (15:42 +0000)] 
Test script fixes to get things running under varying configurations.
No changes to code. (CVS 4378)

FossilOrigin-Name: 340a6d09bcde11065c1887b84bb81805b523ffb6

18 years agoRemove the last traces of SQLITE_ENABLE_REDEF_IO. (CVS 4377)
drh [Mon, 3 Sep 2007 15:26:20 +0000 (15:26 +0000)] 
Remove the last traces of SQLITE_ENABLE_REDEF_IO. (CVS 4377)

FossilOrigin-Name: 38dff76ddf0ec7d2cd0d2e1282f9c36558e5661a

18 years agoHonor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Some
drh [Mon, 3 Sep 2007 15:19:34 +0000 (15:19 +0000)] 
Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2().  Some
test cases added but more are needed.  Ticket #2616. (CVS 4376)

FossilOrigin-Name: 020a2b10d408f51d4ef3211c5f701f5378fd4625

18 years agoFix a problem in hash.c when replacing entries in tables configured with copyKey...
danielk1977 [Mon, 3 Sep 2007 15:03:20 +0000 (15:03 +0000)] 
Fix a problem in hash.c when replacing entries in tables configured with copyKey==0. (CVS 4375)

FossilOrigin-Name: a19d3a73a91f2040ec35d913f11743ff4913ffb7

18 years agoImprovements to the xRandomness() method on the default windows VFS.
drh [Mon, 3 Sep 2007 13:06:11 +0000 (13:06 +0000)] 
Improvements to the xRandomness() method on the default windows VFS.
Ticket #2615. (CVS 4374)

FossilOrigin-Name: 91b50f31e35652a40d51f5d9bf22efce36d515e4

18 years agoDocument the fact that xRandomness is only called once from the default VFS.
drh [Mon, 3 Sep 2007 12:34:57 +0000 (12:34 +0000)] 
Document the fact that xRandomness is only called once from the default VFS.
Ticket #2614. (CVS 4373)

FossilOrigin-Name: e89d4131a1b55da1a7f226d7f7b416f02f5e2c6e

18 years agoAdd a module-destructor to the echo module (test8.c) to improve code coverage. (CVS...
danielk1977 [Mon, 3 Sep 2007 11:51:50 +0000 (11:51 +0000)] 
Add a module-destructor to the echo module (test8.c) to improve code coverage. (CVS 4372)

FossilOrigin-Name: e3dd3651421ee723f9b7550fc333a308a83b276d

18 years agoHandle transient malloc() failures in sqlite3CreateFunc(). (CVS 4371)
danielk1977 [Mon, 3 Sep 2007 11:04:22 +0000 (11:04 +0000)] 
Handle transient malloc() failures in sqlite3CreateFunc(). (CVS 4371)

FossilOrigin-Name: c0ce63196458c81e0859fc8a38f2dd2145a580bc

18 years agoFixes to test code so that the test suite passes without SQLITE_MEMDEBUG defined...
danielk1977 [Mon, 3 Sep 2007 07:31:09 +0000 (07:31 +0000)] 
Fixes to test code so that the test suite passes without SQLITE_MEMDEBUG defined. (CVS 4370)

FossilOrigin-Name: ed2a2e0102c4fd2221096028d55a6f1d54f97274

18 years agoThe sqlite3_vfs_register() interface now calls sqlite3_vfs_find(0) to make
drh [Sun, 2 Sep 2007 17:52:04 +0000 (17:52 +0000)] 
The sqlite3_vfs_register() interface now calls sqlite3_vfs_find(0) to make
sure the VFS subsystem is initialized.  Ticket #2611. (CVS 4369)

FossilOrigin-Name: 4a9999a36d01a8c6490792605a6f7e233cc4402c

18 years agoFix function name typo in mem1.c. This bug managed to make it into
drh [Sun, 2 Sep 2007 17:50:35 +0000 (17:50 +0000)] 
Fix function name typo in mem1.c.  This bug managed to make it into
the tree because the code in mem1.c is only compiled when the
-DSQLITE_MEMDEBUG compile-time option is omitted.  But
pre-checkin tests usually include this option.  Ticket #2612. (CVS 4368)

FossilOrigin-Name: 59e02db2402f9fcadfbeee88ab5778d27ddde634

18 years agoFix a bug in jrnlTruncate(). And other coverage improvements. (CVS 4367)
danielk1977 [Sat, 1 Sep 2007 18:24:55 +0000 (18:24 +0000)] 
Fix a bug in jrnlTruncate(). And other coverage improvements. (CVS 4367)

FossilOrigin-Name: 02b751fb9dbc683b1b77a2ed3cdeb4190f7339e0

18 years agoComment changes in sqlite.h.in in order to generate better capi3ref.html
drh [Sat, 1 Sep 2007 18:17:21 +0000 (18:17 +0000)] 
Comment changes in sqlite.h.in in order to generate better capi3ref.html
documentation. (CVS 4366)

FossilOrigin-Name: 280474595687bb843872f1bbc82cda3b1982085c

18 years agoRemove code for calling the SQL function randstr() with 0 or 1 argument, as it is...
danielk1977 [Sat, 1 Sep 2007 17:00:12 +0000 (17:00 +0000)] 
Remove code for calling the SQL function randstr() with 0 or 1 argument, as it is registered with sqlite as requiring exactly 2. Also test io errors in sqlite3_release_memory(). (CVS 4365)

FossilOrigin-Name: 5842f68c1ba838f24e9ba02c818d308540d591a4

18 years agoRemove the syncOk argument to pager_recycle. Now that sqlite3_memory_release uses...
danielk1977 [Sat, 1 Sep 2007 16:16:15 +0000 (16:16 +0000)] 
Remove the syncOk argument to pager_recycle. Now that sqlite3_memory_release uses a global lru list of page, it is no longer required. (CVS 4364)

FossilOrigin-Name: fb27692ab10b22851b265348bb6b3e1dececd60f

18 years agoTest sqlite3_bind_zeroblob(). Only include sqlite3Utf8To8 in builds if SQLITE_DEBUG...
danielk1977 [Sat, 1 Sep 2007 11:04:26 +0000 (11:04 +0000)] 
Test sqlite3_bind_zeroblob(). Only include sqlite3Utf8To8 in builds if SQLITE_DEBUG is defined. (CVS 4363)

FossilOrigin-Name: fde6142b7bb33198b3d6b65cfbddfad61694b1fb

18 years agoAllow sqlite3GetInt32 to recognize 10-digit decimal numbers as 32-bit. (CVS 4362)
danielk1977 [Sat, 1 Sep 2007 10:01:12 +0000 (10:01 +0000)] 
Allow sqlite3GetInt32 to recognize 10-digit decimal numbers as 32-bit. (CVS 4362)

FossilOrigin-Name: 7571345d2078fb52029f9b9924d833ec36d443e6

18 years agoFix a problem handling a malloc() failure in printf.c. Also some other things to...
danielk1977 [Sat, 1 Sep 2007 09:02:53 +0000 (09:02 +0000)] 
Fix a problem handling a malloc() failure in printf.c. Also some other things to improve test coverage. (CVS 4361)

FossilOrigin-Name: 595bfe72f053bc6ecb58bb9044a4cdc53d30b404

18 years agoFix for registration of non-default vfs objects. (CVS 4360)
danielk1977 [Sat, 1 Sep 2007 06:51:27 +0000 (06:51 +0000)] 
Fix for registration of non-default vfs objects. (CVS 4360)

FossilOrigin-Name: 5f48fb95c26a713b3259ee49fd444108030376dc

18 years agoFix a bug in loadext.test. (CVS 4359)
danielk1977 [Sat, 1 Sep 2007 06:19:05 +0000 (06:19 +0000)] 
Fix a bug in loadext.test. (CVS 4359)

FossilOrigin-Name: 2be8af9d402a5cd8da8c348883188eb38900f6dc

18 years agoCall sqlite3OsDlError to obtain error information after DlOpen or DlSym fail. (CVS...
danielk1977 [Sat, 1 Sep 2007 05:57:49 +0000 (05:57 +0000)] 
Call sqlite3OsDlError to obtain error information after DlOpen or DlSym fail. (CVS 4358)

FossilOrigin-Name: 3d74256c9123e8434c68e6a0c5b61686b34a4328

18 years agoChange the windows tempfile name generator so that it uses 119 bits
drh [Sat, 1 Sep 2007 02:13:10 +0000 (02:13 +0000)] 
Change the windows tempfile name generator so that it uses 119 bits
of randomness and does not bother to check to see if the file already
exists.  Ticket #2608.  (Unable to test from this machine, but the
changes are simple and isolated.  Hope it works.) (CVS 4357)

FossilOrigin-Name: ca6c1e3f44d8b9d9b76a0efe53ea6a6ad5e14d57

18 years agoGet make doc working again. (CVS 4356)
drh [Fri, 31 Aug 2007 18:50:31 +0000 (18:50 +0000)] 
Get make doc working again. (CVS 4356)

FossilOrigin-Name: 8f73ebc6e30467d2c594701e0aa45b53147ef2ef

18 years agoRemove the xLockState method for sqlite3_io_methods. Replace it with
drh [Fri, 31 Aug 2007 18:34:59 +0000 (18:34 +0000)] 
Remove the xLockState method for sqlite3_io_methods.  Replace it with
a defined call to xFileControl().  This simplifies the interface and
also gives us coverage testing of sqlite3_file_control(). (CVS 4355)

FossilOrigin-Name: 306586c412b87c6d12bac796641517afa3f9eb6a

18 years agoAllow sqllimits1.test to be run from a regular build of testfixture. Add the 'amalgam...
danielk1977 [Fri, 31 Aug 2007 17:42:48 +0000 (17:42 +0000)] 
Allow sqllimits1.test to be run from a regular build of testfixture. Add the 'amalgamation-testfixture' target to main.mk - to build testfixture via sqlite3.c. (CVS 4354)

FossilOrigin-Name: d119427314d27f291b605073d34826cdb89746c1

18 years agoInitial implementation of the sqlite3_file_control() interface.
drh [Fri, 31 Aug 2007 16:11:35 +0000 (16:11 +0000)] 
Initial implementation of the sqlite3_file_control() interface.
Compiles and passes all historical tests but the new method is itself
untested. (CVS 4353)

FossilOrigin-Name: d3ab3e3911f10b17d0859a34f4f007c790a0cd82