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

18 years agoConvert the TCL interface to use sqlite3_open_v2 (CVS 4352)
drh [Fri, 31 Aug 2007 14:31:44 +0000 (14:31 +0000)] 
Convert the TCL interface to use sqlite3_open_v2 (CVS 4352)

FossilOrigin-Name: 3434b7a9213f210498f43cb5094a0f3f5c25b957

18 years agoFix a problem in malloc3.test preventing all.test from completing. No code changes...
danielk1977 [Fri, 31 Aug 2007 05:00:48 +0000 (05:00 +0000)] 
Fix a problem in malloc3.test preventing all.test from completing. No code changes. (CVS 4351)

FossilOrigin-Name: ee9b3e5e38c52f5669009a08aec58678ccad0d87

18 years agoAdd the experimental sqlite3_threadsafe() API. (CVS 4350)
drh [Thu, 30 Aug 2007 20:09:48 +0000 (20:09 +0000)] 
Add the experimental sqlite3_threadsafe() API. (CVS 4350)

FossilOrigin-Name: 1b39a714efbe1f4ccc8daf68a227a8c9b84a388f

18 years agoFix the loadable extension module so that it will compile with
drh [Thu, 30 Aug 2007 20:09:27 +0000 (20:09 +0000)] 
Fix the loadable extension module so that it will compile with
SQLITE_THREADSAFE=0. (CVS 4349)

FossilOrigin-Name: a73a8b50f76f4f948a4080070ac2354d8ea05515

18 years agoFix discrepency in the test pointed out by a user. Was testing fts2 :-). (CVS 4348)
shess [Thu, 30 Aug 2007 20:01:32 +0000 (20:01 +0000)] 
Fix discrepency in the test pointed out by a user.  Was testing fts2 :-). (CVS 4348)

FossilOrigin-Name: 65c62ed85edd2cb3cf26f01fadf3b342c1e8a20f

18 years agoFix memory leak reported by an fts1 user. Was losing a doclist on a
shess [Thu, 30 Aug 2007 19:56:37 +0000 (19:56 +0000)] 
Fix memory leak reported by an fts1 user.  Was losing a doclist on a
query error. (CVS 4347)

FossilOrigin-Name: eee025024972852990e704253d1443c1cefb376c

18 years agoMake mutex functions available to loadable extensions. Fix the
drh [Thu, 30 Aug 2007 17:15:37 +0000 (17:15 +0000)] 
Make mutex functions available to loadable extensions.  Fix the
amalgamation generator to include the latest source files. (CVS 4346)

FossilOrigin-Name: 293a3f837bd6c6a26f694a9210e59ace23abb6bb

18 years agoFix a memory leak in the win32 OS driver. Ticket #2602. (CVS 4345)
drh [Thu, 30 Aug 2007 16:46:04 +0000 (16:46 +0000)] 
Fix a memory leak in the win32 OS driver.  Ticket #2602. (CVS 4345)

FossilOrigin-Name: 1f80cf5e759af68b854d4de2e97badf546a465ca

18 years agoFix the "test_destructor" test function in utf-16 mode. Fix for test failure in utf16...
danielk1977 [Thu, 30 Aug 2007 16:30:27 +0000 (16:30 +0000)] 
Fix the "test_destructor" test function in utf-16 mode. Fix for test failure in utf16 version of func.test. (CVS 4344)

FossilOrigin-Name: c073b78040e5833de038dea464ac87c7358b8b51

18 years agoMake the latest interfaces usable by loadable extensions. (CVS 4343)
drh [Thu, 30 Aug 2007 16:23:19 +0000 (16:23 +0000)] 
Make the latest interfaces usable by loadable extensions. (CVS 4343)

FossilOrigin-Name: e9b2700b8c30b0255c9e33419ff18bdebb78087a

18 years agoPrevent sqlite from opening directories as databases under unix. Fix for test cae...
danielk1977 [Thu, 30 Aug 2007 16:13:33 +0000 (16:13 +0000)] 
Prevent sqlite from opening directories as databases under unix. Fix for test cae in misc7.test. (CVS 4342)

FossilOrigin-Name: e30546504c59c7d92d83a32d9b7e83edc175e247

18 years agoCheck in extra fixes for malloc4.test. (CVS 4341)
danielk1977 [Thu, 30 Aug 2007 15:46:06 +0000 (15:46 +0000)] 
Check in extra fixes for malloc4.test. (CVS 4341)

FossilOrigin-Name: 49ce3a838194f0316c883dbe1596d13c0c0fad1b

18 years agoFixes for malloc4.test. (CVS 4340)
danielk1977 [Thu, 30 Aug 2007 15:16:04 +0000 (15:16 +0000)] 
Fixes for malloc4.test. (CVS 4340)

FossilOrigin-Name: 23746924db3c005d1f75572c6cbb91db6fc41eb4

18 years agoFix the SQLITE_MIXED_ENDIAN_64BIT_FLOAT option so that it works on
drh [Thu, 30 Aug 2007 15:05:08 +0000 (15:05 +0000)] 
Fix the SQLITE_MIXED_ENDIAN_64BIT_FLOAT option so that it works on
goofy linux kernels that employ CONFIG_FPE_FASTFPE.  Patch from
Frank van Vugt. (CVS 4339)

FossilOrigin-Name: 71ab92e900512ad01047b46f734bd5f65998ecf9

18 years agoFix a ref-count problem in the TCL bindings. Ticket #2597. (CVS 4338)
drh [Thu, 30 Aug 2007 14:58:20 +0000 (14:58 +0000)] 
Fix a ref-count problem in the TCL bindings.  Ticket #2597. (CVS 4338)

FossilOrigin-Name: 18a5babb72102f9a82cb24757612a8b683a3f995

18 years agoRemove the SYNC_BARRIER flag. (CVS 4337)
danielk1977 [Thu, 30 Aug 2007 14:49:58 +0000 (14:49 +0000)] 
Remove the SYNC_BARRIER flag. (CVS 4337)

FossilOrigin-Name: 5a22d8695b49cf7bc2eee382b66a98d29adb9e6e

18 years agoFixes to malloc3.test so that it can run in transient or persistent failure mode...
danielk1977 [Thu, 30 Aug 2007 14:41:34 +0000 (14:41 +0000)] 
Fixes to malloc3.test so that it can run in transient or persistent failure mode. (CVS 4336)

FossilOrigin-Name: e14e3688eb64577a2a7070e4e47e715a5d7d5089

18 years agoBug fixes in the mutex header file. Tickets #2599 and #2600. (CVS 4335)
drh [Thu, 30 Aug 2007 14:10:30 +0000 (14:10 +0000)] 
Bug fixes in the mutex header file.  Tickets #2599 and #2600. (CVS 4335)

FossilOrigin-Name: 4bdfe1419c536fec5b3c0a7fbe3d0ff52f183f43

18 years agoFixes for failures in fuzz_malloc.test. (CVS 4334)
danielk1977 [Thu, 30 Aug 2007 11:48:31 +0000 (11:48 +0000)] 
Fixes for failures in fuzz_malloc.test. (CVS 4334)

FossilOrigin-Name: d3e502263808c1fe0487fda02f16adcbb1279183

18 years agoFix some problems in async2.test. No code changes. (CVS 4333)
danielk1977 [Thu, 30 Aug 2007 10:49:54 +0000 (10:49 +0000)] 
Fix some problems in async2.test. No code changes. (CVS 4333)

FossilOrigin-Name: d80d87c239df06ef2182bc2b78e6d4c1852d28c9

18 years agoBetter handle a malloc() failure in sqlite3PagerSetPagesize(). (CVS 4332)
danielk1977 [Thu, 30 Aug 2007 10:07:38 +0000 (10:07 +0000)] 
Better handle a malloc() failure in sqlite3PagerSetPagesize(). (CVS 4332)

FossilOrigin-Name: 41550d87c9395ab2fec5993655865e29235130a3

18 years agoFix a bug in a test file causing malloc5.test to crash. (CVS 4331)
danielk1977 [Thu, 30 Aug 2007 08:27:39 +0000 (08:27 +0000)] 
Fix a bug in a test file causing malloc5.test to crash. (CVS 4331)

FossilOrigin-Name: ab09967bd2dd291030850d44c0862fbb7d0d8118

18 years agoAdd tests for malloc() failure when the atomic-write optimization is being used....
danielk1977 [Thu, 30 Aug 2007 08:08:17 +0000 (08:08 +0000)] 
Add tests for malloc() failure when the atomic-write optimization is being used. Also fix things so that rollback can occur without a malloc(), even if there is a master journal file. (CVS 4330)

FossilOrigin-Name: 481fd3a89e50e329596d96565170e3d9977aae29

18 years agoTest case fixes for fulltest. (CVS 4329)
drh [Thu, 30 Aug 2007 02:26:53 +0000 (02:26 +0000)] 
Test case fixes for fulltest. (CVS 4329)

FossilOrigin-Name: cddce4950569ac49c1a5224b200b00dcd83a2ba4

18 years agoFix for the sqlite3AbortOtherActiveVdbes() problem. (CVS 4328)
drh [Thu, 30 Aug 2007 01:19:59 +0000 (01:19 +0000)] 
Fix for the sqlite3AbortOtherActiveVdbes() problem. (CVS 4328)

FossilOrigin-Name: e40d40a5d41c491bef852a92e5846b273b206909

18 years agoFix minor problems on various tests. This is a snapshot prior to possible
drh [Wed, 29 Aug 2007 19:15:08 +0000 (19:15 +0000)] 
Fix minor problems on various tests.  This is a snapshot prior to possible
major changes in order to fix the sqlite3AbortOtherActiveVdbes problem. (CVS 4327)

FossilOrigin-Name: 35cb63ecfd9d8ca7304aae1b150ee5d1c3498bde

18 years agoFix a bug in test_server.c that resulted from the change in semantics
drh [Wed, 29 Aug 2007 18:20:16 +0000 (18:20 +0000)] 
Fix a bug in test_server.c that resulted from the change in semantics
of sqlite3_enable_shared_cache().  All quick tests now pass. (CVS 4326)

FossilOrigin-Name: 5201fa4f8310ffc8b6881d96b152581d74e2df6b

18 years agoDisable tests that require SQLITE_ENABLE_ATOMIC_WRITE if that feature is
drh [Wed, 29 Aug 2007 17:59:42 +0000 (17:59 +0000)] 
Disable tests that require SQLITE_ENABLE_ATOMIC_WRITE if that feature is
not enabled. (CVS 4325)

FossilOrigin-Name: 4874499377e8f89a25d8cc2cf7982e6811d53f1b

18 years agoImprovements to mutex asserts. The quick test runs to completion without
drh [Wed, 29 Aug 2007 17:43:19 +0000 (17:43 +0000)] 
Improvements to mutex asserts.  The quick test runs to completion without
assertion faults. (CVS 4324)

FossilOrigin-Name: 2732af0ec77dbc90c0439b6a61d893d9ea3b5697

18 years agoUse the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323)
danielk1977 [Wed, 29 Aug 2007 14:06:22 +0000 (14:06 +0000)] 
Use the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323)

FossilOrigin-Name: c790c234c369c6b7610e67dcaaa9eee347df729c

18 years agoBe careful to verify the schema cookie when running the xfer optimization
drh [Wed, 29 Aug 2007 13:45:58 +0000 (13:45 +0000)] 
Be careful to verify the schema cookie when running the xfer optimization
on INSERT statements. (CVS 4322)

FossilOrigin-Name: d8ef7024172fffee049cfda6707220af2577e9a1

18 years agoModifications to the malloc failure tests to test transient and persistent failures...
danielk1977 [Wed, 29 Aug 2007 12:31:25 +0000 (12:31 +0000)] 
Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321)

FossilOrigin-Name: e38ef81b85feb5bff2ad8448f3438ff0ab36571e

18 years agoBetter asserts(). But now some of the tests are busted again. (CVS 4320)
drh [Wed, 29 Aug 2007 04:00:57 +0000 (04:00 +0000)] 
Better asserts().  But now some of the tests are busted again. (CVS 4320)

FossilOrigin-Name: e8060f85e7871572e2a38dc96f03e6e1f34cc8fd

18 years agoMore locking fixes. Now makes it all the way through quick.test. There
drh [Wed, 29 Aug 2007 00:33:07 +0000 (00:33 +0000)] 
More locking fixes.  Now makes it all the way through quick.test.  There
are errors but no assertion faults.  Progress. (CVS 4319)

FossilOrigin-Name: 844d40b8379d3374130e2d94f6e32c2cda34e0ca

18 years agoThe shared_err test runs with no errors. But a potential deadlock has been
drh [Tue, 28 Aug 2007 23:28:07 +0000 (23:28 +0000)] 
The shared_err test runs with no errors.  But a potential deadlock has been
discovered and is still unfixed. (CVS 4318)

FossilOrigin-Name: f093a0d7b29a819605e0527bf23a047e16c32688

18 years agoThe shared_err test runs with no errors. But a potential deadlock has been
drh [Tue, 28 Aug 2007 23:28:07 +0000 (23:28 +0000)] 
The shared_err test runs with no errors.  But a potential deadlock has been
discovered and is still unfixed. (CVS 4317)

FossilOrigin-Name: f84550be0a0c9e5859b852863b9a8f8ed3fd6919

18 years agoClean up the locking in the btree logic. (CVS 4316)
drh [Tue, 28 Aug 2007 22:24:34 +0000 (22:24 +0000)] 
Clean up the locking in the btree logic. (CVS 4316)

FossilOrigin-Name: 967ab229af462a8ae663090ea36b4cc10e351653

18 years agoFix memory leak of InteriorReader.term. Comes up when doing queries
shess [Tue, 28 Aug 2007 20:36:53 +0000 (20:36 +0000)] 
Fix memory leak of InteriorReader.term.  Comes up when doing queries
against large segments. (CVS 4315)

FossilOrigin-Name: 6c617bd89fc57881a2a308a6360e8ebb42835d46

18 years agoremove unused os_os2.h (CVS 4314)
pweilbacher [Tue, 28 Aug 2007 19:21:21 +0000 (19:21 +0000)] 
remove unused os_os2.h (CVS 4314)

FossilOrigin-Name: dd43a2de3ed1659d70361370d07a184dd8ece45f

18 years agoFix locking bug in btshared.c. (CVS 4313)
drh [Tue, 28 Aug 2007 16:44:20 +0000 (16:44 +0000)] 
Fix locking bug in btshared.c. (CVS 4313)

FossilOrigin-Name: af24e7d01a7fab5e33080a0f786e0bc6f610a6f3

18 years agoBreak up the mutex implementation into separate source files, one
drh [Tue, 28 Aug 2007 16:34:42 +0000 (16:34 +0000)] 
Break up the mutex implementation into separate source files, one
each for unix, w32, and os2. (CVS 4312)

FossilOrigin-Name: fc5cd71aef5ac194f51d73350d773d532020967e

18 years agoUpdates to the sqlite3_open() documentation. Method the magic
drh [Tue, 28 Aug 2007 15:47:44 +0000 (15:47 +0000)] 
Updates to the sqlite3_open() documentation.  Method the magic
:memory: filename.  Ticket #2591. (CVS 4311)

FossilOrigin-Name: 5f55b2fc4ecdfc1bb68f479751b8642926fd8833

18 years agoUpdate the sqlite3_vfs_register() documentation to make
drh [Tue, 28 Aug 2007 15:21:45 +0000 (15:21 +0000)] 
Update the sqlite3_vfs_register() documentation to make
the behavior undefined for VFSes with a NULL or empty string
as the name or with duplicate names. (CVS 4310)

FossilOrigin-Name: e7a98b48384ea581d98dad5118ee33468d526c62