]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
17 years agoMove SQL functions used for testing only out of func.c and into a new
drh [Wed, 19 Mar 2008 16:08:53 +0000 (16:08 +0000)] 
Move SQL functions used for testing only out of func.c and into a new
test file named test_func.c.  Use sqlite3_auto_extension() to make sure
the test functions appear in every database connection. (CVS 4883)

FossilOrigin-Name: e90c4cc8a89838161f218739bc821126e247498c

17 years agoAdd a new api sqlite3_randomness() for providing access to SQLite's
drh [Wed, 19 Mar 2008 14:15:34 +0000 (14:15 +0000)] 
Add a new api sqlite3_randomness() for providing access to SQLite's
internal PRNG.  Add sqlite3_test_control() verbs for controlling the PRNG. (CVS 4882)

FossilOrigin-Name: 15110ea02768bfe977a57eccd6b941a36ebd6b32

17 years agoWhen a parse of the sqlite_master table fails, include the name of the
drh [Wed, 19 Mar 2008 13:03:33 +0000 (13:03 +0000)] 
When a parse of the sqlite_master table fails, include the name of the
object being parsed as part of the error message. (CVS 4881)

FossilOrigin-Name: 57805b588f6b6d070918102a0ff096ade674279a

17 years agoRemove the dependency on the direct btree interface from as many test
drh [Wed, 19 Mar 2008 00:21:30 +0000 (00:21 +0000)] 
Remove the dependency on the direct btree interface from as many test
scripts as is practical.  Fix a bug in the output limiter of the
integrity_check pragma that came up while making this change. (CVS 4880)

FossilOrigin-Name: 24e769972eb6052b82dc94d20444c186a213e104

17 years agoUpdate the documentation to distinguish between protected and unprotected
drh [Tue, 18 Mar 2008 13:47:20 +0000 (13:47 +0000)] 
Update the documentation to distinguish between protected and unprotected
sqlite3_value objects. (CVS 4879)

FossilOrigin-Name: 074ee55ffd1f0b7bb120a440d8bcf19e249ada96

17 years agoTest script changes that go with the coverage enhancements of the
drh [Tue, 18 Mar 2008 13:46:53 +0000 (13:46 +0000)] 
Test script changes that go with the coverage enhancements of the
previous check-in. (CVS 4878)

FossilOrigin-Name: f87ddf83a5d1340652f222972a7d75f4fdbe776b

17 years agoMinor test coverage enhancements. (CVS 4877)
drh [Tue, 18 Mar 2008 13:01:38 +0000 (13:01 +0000)] 
Minor test coverage enhancements. (CVS 4877)

FossilOrigin-Name: edd207b9a9df5d73ec34474a4e90fcb592f06cf1

17 years agoFix a memory leak introduced by the previous bug fix. (CVS 4876)
drh [Tue, 18 Mar 2008 00:54:22 +0000 (00:54 +0000)] 
Fix a memory leak introduced by the previous bug fix. (CVS 4876)

FossilOrigin-Name: b9c5dce34985f7e6d1b6314ae8674f07d0bf518b

17 years agoAdd the ability to simulate out-of-memory errors when using the default
drh [Tue, 18 Mar 2008 00:07:10 +0000 (00:07 +0000)] 
Add the ability to simulate out-of-memory errors when using the default
memory allocator, mem1.c.  Fix a bug that this enhancement revealed. (CVS 4875)

FossilOrigin-Name: d55a5e1c11ef90534abd2e5f18d06dd4739ade70

17 years agoVersion 3.5.7 (CVS 4874)
drh [Mon, 17 Mar 2008 19:03:03 +0000 (19:03 +0000)] 
Version 3.5.7 (CVS 4874)

FossilOrigin-Name: 9a6583d375a1b922e88eed888e54e51cbc85f400

17 years agoFix an uninitialized variable in the Prev and Next opcodes. (CVS 4873)
drh [Mon, 17 Mar 2008 17:18:37 +0000 (17:18 +0000)] 
Fix an uninitialized variable in the Prev and Next opcodes. (CVS 4873)

FossilOrigin-Name: fcf3d0a3d5d3a71155ab0aa5f533da72063d54f0

17 years agoAbandon the OR optimization following a memory allocation failure,
drh [Mon, 17 Mar 2008 17:08:33 +0000 (17:08 +0000)] 
Abandon the OR optimization following a memory allocation failure,
to avoid referencing uninitialized memory. (CVS 4872)

FossilOrigin-Name: 9d2afbb543e1493e1d9c2eb4329143bcb1ceca19

17 years agoDetect the failure to zero-terminate a result string due to a malloc
drh [Mon, 17 Mar 2008 16:54:01 +0000 (16:54 +0000)] 
Detect the failure to zero-terminate a result string due to a malloc
failure. (CVS 4871)

FossilOrigin-Name: 57db14067ff7d519291bebe695dcf991a9462372

17 years agoLabel test case bindxfer-1.9 as a misuse test case, since it is one. (CVS 4870)
drh [Mon, 17 Mar 2008 16:23:26 +0000 (16:23 +0000)] 
Label test case bindxfer-1.9 as a misuse test case, since it is one. (CVS 4870)

FossilOrigin-Name: 7b99122632f467cd0c34ad1a91e18fee8833980b

17 years agoModify the tableapi.test script so that it works under windows. (CVS 4869)
drh [Mon, 17 Mar 2008 15:09:47 +0000 (15:09 +0000)] 
Modify the tableapi.test script so that it works under windows. (CVS 4869)

FossilOrigin-Name: 89e06b4e083e7fd2c053c1cefc0063a5b772d7f8

17 years agoPut the statement journal in the temp-file directory since that
drh [Mon, 17 Mar 2008 13:50:58 +0000 (13:50 +0000)] 
Put the statement journal in the temp-file directory since that
directory is often on optimized storage such as RAM disk and because
unlike the main journal, the statement journal does not need to
be colocated with the database file. (CVS 4868)

FossilOrigin-Name: 72c40726932695a2cf5c593707d098c8fb6e8875

17 years agoReturn an error when an xBestIndex() method indicates that it intends to use the...
danielk1977 [Mon, 17 Mar 2008 09:36:44 +0000 (09:36 +0000)] 
Return an error when an xBestIndex() method indicates that it intends to use the value of an unusable constraint. Related to #2998. (CVS 4867)

FossilOrigin-Name: ffd470279540b1b8e3fdce6eb14001bae489b16d

17 years agoSkip tests that require setting detailed unix permissions on files when
drh [Sat, 15 Mar 2008 14:53:04 +0000 (14:53 +0000)] 
Skip tests that require setting detailed unix permissions on files when
running on filesystems such as AFP that do not support that capability. (CVS 4866)

FossilOrigin-Name: 5589b9d395fb8267a124d56dd5d7987e57505e3d

17 years agoAdd tests to make sure the busy handler resets. (CVS 4865)
drh [Sat, 15 Mar 2008 02:09:21 +0000 (02:09 +0000)] 
Add tests to make sure the busy handler resets. (CVS 4865)

FossilOrigin-Name: 5e4df441815ed7d02e9ad8ee2e1c2f937ee675d7

17 years agoReset the busy callback iteration counter at the beginning of each
drh [Fri, 14 Mar 2008 19:33:05 +0000 (19:33 +0000)] 
Reset the busy callback iteration counter at the beginning of each
lock test loop. (CVS 4864)

FossilOrigin-Name: 66777f048195e4242905c40f790ed7360af7028b

17 years agoChange an instance of intptr_t to sqlite3_intptr_t. (CVS 4863)
drh [Fri, 14 Mar 2008 19:17:54 +0000 (19:17 +0000)] 
Change an instance of intptr_t to sqlite3_intptr_t. (CVS 4863)

FossilOrigin-Name: 6db7186c304ed5e06afb207ce11ebc2a47e491b0

17 years agoRevise Bitvec struct sizing to prevent assertion failure on 64-bit systems (CVS 4862)
mlcreech [Fri, 14 Mar 2008 13:02:08 +0000 (13:02 +0000)] 
Revise Bitvec struct sizing to prevent assertion failure on 64-bit systems (CVS 4862)

FossilOrigin-Name: a3c12dbe95c8fb93f5b9006bf5d2c5b933fc5e87

17 years agoFix a second race condition in lock4.test. (CVS 4861)
danielk1977 [Fri, 14 Mar 2008 08:57:41 +0000 (08:57 +0000)] 
Fix a second race condition in lock4.test. (CVS 4861)

FossilOrigin-Name: e62858b9b8a12ecbad8037868d03469d27418377

17 years agoAllow the testfixture to be built even when using the amalgamation (CVS 4860)
mlcreech [Fri, 14 Mar 2008 04:11:03 +0000 (04:11 +0000)] 
Allow the testfixture to be built even when using the amalgamation (CVS 4860)

FossilOrigin-Name: 8a726e3731cd19cc52c6dab16d032d7237b7450b

17 years agoOne additional intptr_t conversion (in the same vein as check-in 4824) (CVS 4859)
mlcreech [Thu, 13 Mar 2008 23:34:38 +0000 (23:34 +0000)] 
One additional intptr_t conversion (in the same vein as check-in 4824) (CVS 4859)

FossilOrigin-Name: 2777ca788204c37ae5607f7acabe78f414255fa2

17 years agoApply patch for #2915 to add target extension for executables (CVS 4858)
mlcreech [Thu, 13 Mar 2008 23:28:22 +0000 (23:28 +0000)] 
Apply patch for #2915 to add target extension for executables (CVS 4858)

FossilOrigin-Name: 63fc7b72078b1e12de39893dc8374a7e24703d2e

17 years agoSpecify installation lib in 'rpath' options for sqlite3 executable (CVS 4857)
mlcreech [Thu, 13 Mar 2008 19:55:20 +0000 (19:55 +0000)] 
Specify installation lib in 'rpath' options for sqlite3 executable (CVS 4857)

FossilOrigin-Name: 5076d480337145f2e4b36798c6c13b9810f62721

17 years agoAdd/move files in Makefile.in to bring it more in line with main.mk (CVS 4856)
mlcreech [Thu, 13 Mar 2008 18:28:03 +0000 (18:28 +0000)] 
Add/move files in Makefile.in to bring it more in line with main.mk (CVS 4856)

FossilOrigin-Name: b57fc81c3d5f6c7091bdd37f8164887f990a5128

17 years agoEliminate a race condition from lock4.test. (CVS 4855)
danielk1977 [Thu, 13 Mar 2008 04:53:52 +0000 (04:53 +0000)] 
Eliminate a race condition from lock4.test. (CVS 4855)

FossilOrigin-Name: 85585f11049c4c3278dc2732676b0caa44cf1e9d

17 years agoDo not segfault after a parse error in a sub-select in a statement of the form "DELET...
danielk1977 [Wed, 12 Mar 2008 10:39:00 +0000 (10:39 +0000)] 
Do not segfault after a parse error in a sub-select in a statement of the form "DELETE WHERE ... IN(sub-select)". Ticket #2991. (CVS 4854)

FossilOrigin-Name: 3f9f81e908aad6cdc0a16ec52f4ec46d89fd78bc

17 years agoIf tclsh is not found, don't default to building the amalgamation (CVS 4853)
mlcreech [Tue, 11 Mar 2008 18:03:30 +0000 (18:03 +0000)] 
If tclsh is not found, don't default to building the amalgamation (CVS 4853)

FossilOrigin-Name: cbc0167556bd0abd16eb24d1c840ecbc530fd854

17 years agoIncrease the version number to 3.5.7 in anticipation of the next release. (CVS 4852)
drh [Tue, 11 Mar 2008 15:41:14 +0000 (15:41 +0000)] 
Increase the version number to 3.5.7 in anticipation of the next release. (CVS 4852)

FossilOrigin-Name: c85e97e4f0f02219b567e1ab2d4602c5680e7331

17 years agoRemove the #includes of stdlib.h and sys/types.h from sqliteInt.h since
drh [Mon, 10 Mar 2008 16:17:59 +0000 (16:17 +0000)] 
Remove the #includes of stdlib.h and sys/types.h from sqliteInt.h since
they are never used and because they broke the build. (CVS 4851)

FossilOrigin-Name: 2668000fc8e23a98fb3e104474032d6c70eeee38

17 years agoAdd explicit !=0 tests in order to suppress warning messages in
drh [Mon, 10 Mar 2008 14:12:53 +0000 (14:12 +0000)] 
Add explicit !=0 tests in order to suppress warning messages in
Borland-C.  Ticket #2985 (CVS 4850)

FossilOrigin-Name: d4ab14b974f2249d9d9e5a78ae47f3764a88b657

17 years agoFix for #2981 - specifically use "tclsh8.4" if it's available (CVS 4849)
mlcreech [Sun, 9 Mar 2008 02:51:10 +0000 (02:51 +0000)] 
Fix for #2981 - specifically use "tclsh8.4" if it's available (CVS 4849)

FossilOrigin-Name: 8ced1d6464585ea81227b31f7bfcd0874076aeaa

17 years agoFix for #1802, #2041, and #2270 - link libsqlite with -lrt (CVS 4848)
mlcreech [Sun, 9 Mar 2008 02:20:11 +0000 (02:20 +0000)] 
Fix for #1802, #2041, and #2270 - link libsqlite with -lrt (CVS 4848)

FossilOrigin-Name: ccd70a6ee495a02362161b4004597fa191d46bc2

17 years agoChange <sqlite3.h> to "sqlite3.h" in #includes (CVS 4847)
mlcreech [Sun, 9 Mar 2008 02:00:19 +0000 (02:00 +0000)] 
Change <sqlite3.h> to "sqlite3.h" in #includes (CVS 4847)

FossilOrigin-Name: 98e55fa4d32c4579d54b3a8cc26abdb3c8148e13

17 years agoUse autoconf to detect presence of gmtime_r() and localtime_r() (CVS 4846)
mlcreech [Sun, 9 Mar 2008 01:38:09 +0000 (01:38 +0000)] 
Use autoconf to detect presence of gmtime_r() and localtime_r() (CVS 4846)

FossilOrigin-Name: 9894d2ce418180b874406a7407e019dc872f289a

17 years agoReplace SQLITE_EXTERN with SQLITE_API in exported variables when generating
mlcreech [Sun, 9 Mar 2008 01:14:41 +0000 (01:14 +0000)] 
Replace SQLITE_EXTERN with SQLITE_API in exported variables when generating
the amalgamation.  Should fix #2982 (CVS 4845)

FossilOrigin-Name: f134c282ea841fe35f322a1f8c326242c6ad7b24

17 years agoClarify the language in the sqlite3_create_function() documentation.
drh [Sat, 8 Mar 2008 12:37:30 +0000 (12:37 +0000)] 
Clarify the language in the sqlite3_create_function() documentation.
Ticket #2980. (CVS 4844)

FossilOrigin-Name: 2db43738bfcd2db29167ff02f4291e74324225d7

17 years agoFix asserts in prepare.c to handle the misuse case of ppStmt==0. (CVS 4843)
drh [Sat, 8 Mar 2008 12:23:30 +0000 (12:23 +0000)] 
Fix asserts in prepare.c to handle the misuse case of ppStmt==0. (CVS 4843)

FossilOrigin-Name: 788b2c6b537809a496bf30550a12e743c1697eb7

17 years agoMove a comment within the Parse structure to make it more accurate. No actual code...
danielk1977 [Sat, 8 Mar 2008 06:16:29 +0000 (06:16 +0000)] 
Move a comment within the Parse structure to make it more accurate. No actual code changes. (CVS 4842)

FossilOrigin-Name: 0ca14399b19ee22870394065c5c6a136ea41418d

17 years agoMake sure all necessary mutexes are held prior to initializing the
drh [Fri, 7 Mar 2008 21:37:19 +0000 (21:37 +0000)] 
Make sure all necessary mutexes are held prior to initializing the
schema in sqlite3_table_column_metadata(). (CVS 4841)

FossilOrigin-Name: 4996ff93573c69b51eb7b1348058f85e6cb2728a

17 years agoFix an alignment problem in test_async.c. (CVS 4840)
drh [Fri, 7 Mar 2008 21:04:02 +0000 (21:04 +0000)] 
Fix an alignment problem in test_async.c. (CVS 4840)

FossilOrigin-Name: 752d8e21bb250d7df58a3abc945fcd7a3b38ad15

17 years agoAnother fix to the OsUnlock I/O error logic. (CVS 4839)
drh [Fri, 7 Mar 2008 20:14:38 +0000 (20:14 +0000)] 
Another fix to the OsUnlock I/O error logic. (CVS 4839)

FossilOrigin-Name: 22bd537ee2af6779ecb38502513ae533f85f7c2e

17 years agoCorrectly handle I/O errors that occur during OsUnlock(). Before this
drh [Fri, 7 Mar 2008 19:51:14 +0000 (19:51 +0000)] 
Correctly handle I/O errors that occur during OsUnlock().  Before this
fix, an I/O error during OsUnlock() could lead to database corruption.
That is not a serious problem, though, since errors during OsUnlock()
are not possible on most systems. (CVS 4838)

FossilOrigin-Name: b4c1258edb4a40501d13c9da674d0366d5a8c694

17 years agoCleanup the locking-style code in os_unix.c. (CVS 4837)
drh [Fri, 7 Mar 2008 15:34:11 +0000 (15:34 +0000)] 
Cleanup the locking-style code in os_unix.c. (CVS 4837)

FossilOrigin-Name: 40f55c09dbd31f861b9f9c7641cce92553d94e35

17 years agoTrivial documentation fixes (CVS 4836)
mlcreech [Fri, 7 Mar 2008 03:20:31 +0000 (03:20 +0000)] 
Trivial documentation fixes (CVS 4836)

FossilOrigin-Name: 9819cefbd7032fe6884c6c891e8e399000e0821f

17 years agoAdd missing prefix & exec_prefix to Makefile - fixes #2979. (CVS 4835)
mlcreech [Fri, 7 Mar 2008 02:20:56 +0000 (02:20 +0000)] 
Add missing prefix & exec_prefix to Makefile - fixes #2979. (CVS 4835)

FossilOrigin-Name: 4cda019b63e8ba9f1101fb296a7d745c69e84e00

17 years agoUpdates to the locking-style code in os_unix.c. Not yet working. (CVS 4834)
drh [Fri, 7 Mar 2008 00:27:10 +0000 (00:27 +0000)] 
Updates to the locking-style code in os_unix.c.  Not yet working. (CVS 4834)

FossilOrigin-Name: 6ebce3b798c60050fb3c583d805570bb06837108

17 years agoClean up recent autoconf-related additions, add config.h to the amalgamation (CVS...
mlcreech [Thu, 6 Mar 2008 16:28:58 +0000 (16:28 +0000)] 
Clean up recent autoconf-related additions, add config.h to the amalgamation (CVS 4833)

FossilOrigin-Name: 8044623062e9aa43593c46e3e5d5bc7361ea7418

17 years agoHandle non-autoconf build correctly with new changes (CVS 4832)
mlcreech [Thu, 6 Mar 2008 09:58:50 +0000 (09:58 +0000)] 
Handle non-autoconf build correctly with new changes (CVS 4832)

FossilOrigin-Name: e2a9f5f1054f077e4773dd3d2c8f2ce5be118a01

17 years agoTypo in amalgamation non-x86 builds (CVS 4831)
mlcreech [Thu, 6 Mar 2008 09:19:00 +0000 (09:19 +0000)] 
Typo in amalgamation non-x86 builds (CVS 4831)

FossilOrigin-Name: a8424e06064ee356db8231820737a7d5ba722873

17 years agoDon't try and include common.h on stand-alone amalgamation builds (CVS 4830)
mlcreech [Thu, 6 Mar 2008 09:16:24 +0000 (09:16 +0000)] 
Don't try and include common.h on stand-alone amalgamation builds (CVS 4830)

FossilOrigin-Name: 9898320be05cdbe78dac799f3fef34dccb644ca8

17 years agoRemove amalgamation on "make clean" (fixes #2559) (CVS 4829)
mlcreech [Thu, 6 Mar 2008 09:03:20 +0000 (09:03 +0000)] 
Remove amalgamation on "make clean" (fixes #2559) (CVS 4829)

FossilOrigin-Name: e03802f362307ee91fcecaeab6b8f3b43a61d4ca

17 years agoMiscellaneous autoconf cleanups - get rid of TARGET_CFLAGS, fix header list (CVS...
mlcreech [Thu, 6 Mar 2008 08:54:38 +0000 (08:54 +0000)] 
Miscellaneous autoconf cleanups - get rid of TARGET_CFLAGS, fix header list (CVS 4828)

FossilOrigin-Name: a674f76db9035375772706b6ff1cfaa2a459ffb0

17 years agoRespect user's configured bindir/libdir/includedir if present (fixes #558) (CVS 4827)
mlcreech [Thu, 6 Mar 2008 08:09:12 +0000 (08:09 +0000)] 
Respect user's configured bindir/libdir/includedir if present (fixes #558) (CVS 4827)

FossilOrigin-Name: 48c9fa97b9d9000f6fba5adb04c1026b162eb3ab

17 years agoActually use TARGET_CFLAGS on autoconf-driven builds (CVS 4826)
mlcreech [Thu, 6 Mar 2008 07:51:15 +0000 (07:51 +0000)] 
Actually use TARGET_CFLAGS on autoconf-driven builds (CVS 4826)

FossilOrigin-Name: dda3d658998b00748f0e7693b3756d45400e8c8a

17 years agoAdd headers for use with autoconf (missing from previous checkin) (CVS 4825)
mlcreech [Thu, 6 Mar 2008 07:36:18 +0000 (07:36 +0000)] 
Add headers for use with autoconf (missing from previous checkin) (CVS 4825)

FossilOrigin-Name: 4513a5f493bb612134d04685c0d6777e0d5c65bc

17 years agoUse intptr_t definition to silence warnings about ptr-int casts (CVS 4824)
mlcreech [Thu, 6 Mar 2008 07:35:21 +0000 (07:35 +0000)] 
Use intptr_t definition to silence warnings about ptr-int casts (CVS 4824)

FossilOrigin-Name: 54839a84e6ce080ea8a0f6ce32acaa053d20f311

17 years agoInclude inttypes.h when available, add support for intptr_t (CVS 4823)
mlcreech [Thu, 6 Mar 2008 07:19:20 +0000 (07:19 +0000)] 
Include inttypes.h when available, add support for intptr_t (CVS 4823)

FossilOrigin-Name: 88698fbdd5387b195e1c04c0c597f3c7458757c5

17 years agoMake extension loading more easily configurable. Fixes #2977 (CVS 4822)
mlcreech [Thu, 6 Mar 2008 04:14:17 +0000 (04:14 +0000)] 
Make extension loading more easily configurable.  Fixes #2977 (CVS 4822)

FossilOrigin-Name: fc401ad9d1c62db136ad4a1c931381aff047e164

17 years agoMake extension loading more easily configurable. Fixes #2977 (CVS 4821)
mlcreech [Thu, 6 Mar 2008 04:14:17 +0000 (04:14 +0000)] 
Make extension loading more easily configurable.  Fixes #2977 (CVS 4821)

FossilOrigin-Name: 2a2e8b64df3ff9ea5831b226984ab2c85771131e

17 years agoBuild amalgamation by default on autoconf-driven builds, add
mlcreech [Tue, 4 Mar 2008 19:03:08 +0000 (19:03 +0000)] 
Build amalgamation by default on autoconf-driven builds, add
--disable-amalgamation option to configure script (CVS 4820)

FossilOrigin-Name: f9391fa06f22aea5c6af9e1c76d7f5404483189a

17 years agoVarious renames & cleanups to limit exported symbols on amalgamation build (CVS 4819)
mlcreech [Tue, 4 Mar 2008 17:45:01 +0000 (17:45 +0000)] 
Various renames & cleanups to limit exported symbols on amalgamation build (CVS 4819)

FossilOrigin-Name: 9c6694bb61a8ecdbfb2d05e5e05a8cc97b792240

17 years agoAdditional documentation and tests making it clear that whenever
drh [Mon, 3 Mar 2008 18:47:28 +0000 (18:47 +0000)] 
Additional documentation and tests making it clear that whenever
sqlite3_prepare() fails it sets *ppStmt to NULL. (CVS 4818)

FossilOrigin-Name: 39769f00c5d9ea20ad5d1c0569464529e953fa9d

17 years agoAdd fts2/3 files to autoconf-generated Makefile (needed for amalgamation) (CVS 4817)
mlcreech [Sun, 2 Mar 2008 05:40:05 +0000 (05:40 +0000)] 
Add fts2/3 files to autoconf-generated Makefile (needed for amalgamation) (CVS 4817)

FossilOrigin-Name: 89666f94906c0ad651a444800dcf8ac886fe0c22

17 years agoAdd mem5.c to source files in autoconf-generated Makefile (CVS 4816)
mlcreech [Sun, 2 Mar 2008 05:34:10 +0000 (05:34 +0000)] 
Add mem5.c to source files in autoconf-generated Makefile (CVS 4816)

FossilOrigin-Name: 8c1b6357f0bc86645017913e8b6ea8e82473f7df

17 years agoTrivial text cleanups (CVS 4815)
mlcreech [Sun, 2 Mar 2008 03:32:05 +0000 (03:32 +0000)] 
Trivial text cleanups (CVS 4815)

FossilOrigin-Name: bbf9f0e6e23ce6c2729843535b8599c7bacb0f83

17 years agoFix typo for #2968 (CVS 4814)
mlcreech [Sat, 1 Mar 2008 23:34:46 +0000 (23:34 +0000)] 
Fix typo for #2968 (CVS 4814)

FossilOrigin-Name: d1f6b243822c0dcbc4acf153e682b841cf6c22c2

17 years agoAdd bitvec.lo to LIBOBJS and corresponding make rule (CVS 4813)
mlcreech [Wed, 27 Feb 2008 03:22:49 +0000 (03:22 +0000)] 
Add bitvec.lo to LIBOBJS and corresponding make rule (CVS 4813)

FossilOrigin-Name: 1d68f3af362f8bb5cdfbf60c60fb218bc316c5d0

17 years agoFix a math error when computing how much memory to allocate for
drh [Tue, 26 Feb 2008 18:40:11 +0000 (18:40 +0000)] 
Fix a math error when computing how much memory to allocate for
a new pager. (CVS 4812)

FossilOrigin-Name: 690d05cedae236251778a71fdd32319846580fdf

17 years agoAdd commentary to clarify what is happening when an I/O error occurs while
drh [Tue, 26 Feb 2008 16:16:45 +0000 (16:16 +0000)] 
Add commentary to clarify what is happening when an I/O error occurs while
writing dirty pages to the database file. (CVS 4811)

FossilOrigin-Name: afe49d81f479715e13f18a97170d414a853a6cfe

17 years agoAdd an assert() to verify that the dirty-page list in the pager is
drh [Tue, 26 Feb 2008 14:46:04 +0000 (14:46 +0000)] 
Add an assert() to verify that the dirty-page list in the pager is
valid before using it. (CVS 4810)

FossilOrigin-Name: 942daf94ef1f8ac678988e175ef968a2d3f801e9

17 years agoHave sqlite3PagerPagecount() return -1 when the pager is in error state. Fix for...
danielk1977 [Tue, 26 Feb 2008 06:05:31 +0000 (06:05 +0000)] 
Have sqlite3PagerPagecount() return -1 when the pager is in error state. Fix for #2961. (CVS 4809)

FossilOrigin-Name: 427e7f8b4a54eb6136174af63a467324d6fb051e

17 years agoAdd bitvec to build (CVS 4808)
mlcreech [Tue, 26 Feb 2008 03:45:59 +0000 (03:45 +0000)] 
Add bitvec to build (CVS 4808)

FossilOrigin-Name: c690dd68f20aa2137562dff573031ac041a29a4e

17 years agoFix a bug in the LIKE optimizer that occurs when the last character
drh [Sat, 23 Feb 2008 21:55:39 +0000 (21:55 +0000)] 
Fix a bug in the LIKE optimizer that occurs when the last character
before the wildcard is an upper-case 'Z'.  Ticket #2959. (CVS 4807)

FossilOrigin-Name: 610574b23b5e73b71be71df66e084c5bf37f6ccd

17 years agoAdditional test cases. (CVS 4806)
drh [Thu, 21 Feb 2008 21:30:07 +0000 (21:30 +0000)] 
Additional test cases. (CVS 4806)

FossilOrigin-Name: 74126bf4e605dc875adbf5a0ee83bf8112891e35

17 years agoAccept "Z" as the zulu timezone at the end of date strings. (CVS 4805)
drh [Thu, 21 Feb 2008 20:40:43 +0000 (20:40 +0000)] 
Accept "Z" as the zulu timezone at the end of date strings. (CVS 4805)

FossilOrigin-Name: 4c9a7b42b797f42f2b1e2e8d6a260044bd22ef2d

17 years agoUpdates to API documentation contained in comments of sqlite.h.in. (CVS 4804)
drh [Thu, 21 Feb 2008 20:17:06 +0000 (20:17 +0000)] 
Updates to API documentation contained in comments of sqlite.h.in. (CVS 4804)

FossilOrigin-Name: 08276df3fdd63f210d502c414390f1efd8ebbbb7

17 years agoTest coverage and documentation improvements. (CVS 4803)
drh [Thu, 21 Feb 2008 02:09:45 +0000 (02:09 +0000)] 
Test coverage and documentation improvements. (CVS 4803)

FossilOrigin-Name: e0baceac412b85348e67f2376ea10000e1f76ab8

17 years agoMake multiple attempts to delete files marked DELETE_ON_CLOSE under
drh [Wed, 20 Feb 2008 00:00:00 +0000 (00:00 +0000)] 
Make multiple attempts to delete files marked DELETE_ON_CLOSE under
WinCE.  Ticket #2950. (CVS 4802)

FossilOrigin-Name: 5bc8e564e3499ada01a6c3d74b1e6d6906d2a118

17 years agoRemove instances of strcpy() from test code. Use memcpy() or
drh [Tue, 19 Feb 2008 18:29:07 +0000 (18:29 +0000)] 
Remove instances of strcpy() from test code. Use memcpy() or
sqlite3_snprintf() instead. (CVS 4801)

FossilOrigin-Name: 7b50140dc0fb41a1b40c8709d96e214d98b06f81

17 years agoRemove an instance of sprintf() from the VM implementation. SQLite should
drh [Tue, 19 Feb 2008 18:28:13 +0000 (18:28 +0000)] 
Remove an instance of sprintf() from the VM implementation.  SQLite should
not use sprintf() from the C library - it has its own implementation. (CVS 4800)

FossilOrigin-Name: 68f5ddddf0d1b5c8ed97dda0a32362a55637b5f2

17 years agoAvoid the use of UTF16 functions in code that is part of a build when
drh [Tue, 19 Feb 2008 15:44:09 +0000 (15:44 +0000)] 
Avoid the use of UTF16 functions in code that is part of a build when
UTF16 support is omitted.  Ticket #2949. (CVS 4799)

FossilOrigin-Name: 9db346dede59e7185afcd7f21b2f578c9a4f949e

17 years agoMake sure SQLITE_OPEN_DELETEONCLOSE is ignored by sqlite3_open_v2(). (CVS 4798)
drh [Tue, 19 Feb 2008 15:20:44 +0000 (15:20 +0000)] 
Make sure SQLITE_OPEN_DELETEONCLOSE is ignored by sqlite3_open_v2(). (CVS 4798)

FossilOrigin-Name: 33e26f6adf2ec2ab2e2711a8f86ce4cb11544e61

17 years agoChange non-exported memory interfaces to following the naming conventions. (CVS 4797)
drh [Tue, 19 Feb 2008 15:15:15 +0000 (15:15 +0000)] 
Change non-exported memory interfaces to following the naming conventions. (CVS 4797)

FossilOrigin-Name: 94774b41429c8bfa3582e30c09f414b9e5669575

17 years agoUse 16-bit integers for indexing within a page in btree. Tighter
drh [Tue, 19 Feb 2008 14:59:35 +0000 (14:59 +0000)] 
Use 16-bit integers for indexing within a page in btree.  Tighter
bounds on the maximum number of cells within one page. (CVS 4796)

FossilOrigin-Name: 8fdbe4abab4e9c292111579b03471f68c1e855fb

17 years agoAdd the memory fault simulator to mem5.c. Enable soft heap limit on mem5.c.
drh [Mon, 18 Feb 2008 22:24:57 +0000 (22:24 +0000)] 
Add the memory fault simulator to mem5.c.  Enable soft heap limit on mem5.c.
Limit the size of hash tables and the vdbefifo when using mem5.c. (CVS 4795)

FossilOrigin-Name: 63da5d97542e4f54c33329833477c8d96ce05dd0

17 years agoAdd the Bitvec object for tracking which pages have been journalled.
drh [Mon, 18 Feb 2008 14:47:33 +0000 (14:47 +0000)] 
Add the Bitvec object for tracking which pages have been journalled.
This reduces memory consumption and runs faster than the bitmap approach
it replaced. (CVS 4794)

FossilOrigin-Name: 7c57bdbcdb84d95419ec7029d2e13c593854a8d8

17 years agoThe power-of-two first-fit memory allocator is now working. (CVS 4793)
drh [Sat, 16 Feb 2008 16:21:45 +0000 (16:21 +0000)] 
The power-of-two first-fit memory allocator is now working. (CVS 4793)

FossilOrigin-Name: d134d29cea971eb01a0e0fd94341ab79e2d5b57a

17 years agoFix a bug in the ".show" command of the CLI. Ticket #2942. (CVS 4792)
drh [Fri, 15 Feb 2008 17:38:06 +0000 (17:38 +0000)] 
Fix a bug in the ".show" command of the CLI.  Ticket #2942. (CVS 4792)

FossilOrigin-Name: dedf5f230bf34a207f2ee0a8349a2ea602a38aba

17 years agoDo not apply the query flattening optimization when the outer query is an
drh [Fri, 15 Feb 2008 14:33:03 +0000 (14:33 +0000)] 
Do not apply the query flattening optimization when the outer query is an
aggregate and the inner query contains an ORDER BY clause.  Ticket #2943. (CVS 4791)

FossilOrigin-Name: 6d33cbd99cb0db680767ceb31ec6345e90a805bc

17 years agoFix a bug in EXPLAIN growing out of the new Mem implementation. (CVS 4790)
drh [Thu, 14 Feb 2008 23:44:13 +0000 (23:44 +0000)] 
Fix a bug in EXPLAIN growing out of the new Mem implementation. (CVS 4790)

FossilOrigin-Name: 4df62a55d6fc92c3d0a416c9c03d86d76478feb6

17 years agoAdd the experimental mem5.c memory allocator. Allocate the content part
drh [Thu, 14 Feb 2008 23:26:56 +0000 (23:26 +0000)] 
Add the experimental mem5.c memory allocator.  Allocate the content part
of cache pages separately from the header.  (See check-ins (4495) and (4409)). (CVS 4789)

FossilOrigin-Name: 669ece8c82bfa69add852589dd1211751cb26fb2

17 years agoFix a typo in a comment used to generate documentation. (CVS 4788)
drh [Thu, 14 Feb 2008 23:24:16 +0000 (23:24 +0000)] 
Fix a typo in a comment used to generate documentation. (CVS 4788)

FossilOrigin-Name: 65e66dd81cd821364a2d95a9078d174fd9486288

17 years agoFix some VdbeMemCopy() related problems. (CVS 4787)
danielk1977 [Thu, 14 Feb 2008 15:31:52 +0000 (15:31 +0000)] 
Fix some VdbeMemCopy() related problems. (CVS 4787)

FossilOrigin-Name: aca2bee8662c3adaa47b3e70b1ef35347111f9eb

17 years agoFix a problem in the ptrchng.test script. (CVS 4786)
danielk1977 [Thu, 14 Feb 2008 05:44:45 +0000 (05:44 +0000)] 
Fix a problem in the ptrchng.test script. (CVS 4786)

FossilOrigin-Name: 30a45f078421bc89da9218528110e3bd90054bbf

17 years agosmall correctness fix for os2CheckReservedLock() (CVS 4785)
pweilbacher [Thu, 14 Feb 2008 00:00:50 +0000 (00:00 +0000)] 
small correctness fix for os2CheckReservedLock() (CVS 4785)

FossilOrigin-Name: f364d9342345cb11a4fd1961ab4f6387fb6abacc

17 years agoalways use random access mode when opening files (like on Windows) (CVS 4784)
pweilbacher [Wed, 13 Feb 2008 23:48:02 +0000 (23:48 +0000)] 
always use random access mode when opening files (like on Windows) (CVS 4784)

FossilOrigin-Name: 9f4da1013b558fcabadc3a3bec6bcdae9b06399e