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

17 years agoWhere possible, avoid freeing buffers allocated for vdbe memory cells in case they...
danielk1977 [Wed, 13 Feb 2008 18:25:27 +0000 (18:25 +0000)] 
Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783)

FossilOrigin-Name: 990237e27e417aff3dbf05784b716c21f3761a3a

17 years agoWhen materializing a view for an UPDATE or DELETE make use of the WHERE
drh [Tue, 12 Feb 2008 16:52:14 +0000 (16:52 +0000)] 
When materializing a view for an UPDATE or DELETE make use of the WHERE
clause to limit the number of rows materialized.  Ticket #2938. (CVS 4782)

FossilOrigin-Name: 5ab71c3a79cac04cb2c576f83a62218d05571006

17 years agoALTER TABLE uses double-quotes for quoting table names. (CVS 4781)
drh [Sat, 9 Feb 2008 14:30:29 +0000 (14:30 +0000)] 
ALTER TABLE uses double-quotes for quoting table names. (CVS 4781)

FossilOrigin-Name: 607247c27b80520b8c25c489757288b8ea186f9e

17 years agoModify shared.test to do case independent comparison of filenames. To account for...
danielk1977 [Fri, 8 Feb 2008 18:25:48 +0000 (18:25 +0000)] 
Modify shared.test to do case independent comparison of filenames. To account for the fact that "c:/test.db" and "C:/test.db" are the same file. (CVS 4780)

FossilOrigin-Name: 63915b54cfb41c2361c387636aa904145b166411

17 years agoChange the test code used for speed tests so that it does not throw an exception...
danielk1977 [Fri, 8 Feb 2008 18:25:29 +0000 (18:25 +0000)] 
Change the test code used for speed tests so that it does not throw an exception if the time command returns "0 microseconds per iteration". (CVS 4779)

FossilOrigin-Name: f37e8637d234e50436760497f8001c33975510ce

17 years agoDo not release registers used to hold the results of a compound select
drh [Wed, 6 Feb 2008 23:52:36 +0000 (23:52 +0000)] 
Do not release registers used to hold the results of a compound select
after just the first select has run.  Ticket #2927.  For now, we will
never release the registers used to hold the result set, since the same
register set will be used for each select.  This is not an unacceptable
register leak and it is the safest approach. (CVS 4778)

FossilOrigin-Name: e9fcb793998be07eaea01404407087b71c29853d

17 years agoVersion 3.5.6 (CVS 4777)
drh [Wed, 6 Feb 2008 16:58:27 +0000 (16:58 +0000)] 
Version 3.5.6 (CVS 4777)

FossilOrigin-Name: 1d82ab6987e567fff051cf4dd7b1a0bf6d174145

17 years agoBump the version number to 3.5.6. (CVS 4776)
drh [Wed, 6 Feb 2008 14:14:45 +0000 (14:14 +0000)] 
Bump the version number to 3.5.6. (CVS 4776)

FossilOrigin-Name: 3444efabfc3d9a30b7ef22f40ecfa401d033d43f

17 years agoAdd the sqlite3_result_error_code() application interface. Use it in the
drh [Wed, 6 Feb 2008 14:11:34 +0000 (14:11 +0000)] 
Add the sqlite3_result_error_code() application interface.  Use it in the
ATTACH function so that a failed attach returns a proper error code.
Ticket #2914. (CVS 4775)

FossilOrigin-Name: c24616204307936d03d39d2ef0fe6856113f6977

17 years agoDelete unused "pager3_refinfo_enable" flag and its associated debugging
drh [Sat, 2 Feb 2008 20:47:38 +0000 (20:47 +0000)] 
Delete unused "pager3_refinfo_enable" flag and its associated debugging
macros.  Ticket #2923. (CVS 4774)

FossilOrigin-Name: fccb217d91d08c5a2f5d51b21c6035474931957b

17 years agoWhen OMIT_TRIGGER is defined, provide a no-op macro for sqlite3SelectMask(). Fix...
danielk1977 [Sat, 2 Feb 2008 04:47:09 +0000 (04:47 +0000)] 
When OMIT_TRIGGER is defined, provide a no-op macro for sqlite3SelectMask(). Fix for #2918. (CVS 4773)

FossilOrigin-Name: 1d478e9091ef5775297ca4d50c85e39ccdf9e245

17 years agoAdd more test cases to prove that ticket #2920 does not exist in
drh [Sat, 2 Feb 2008 02:48:52 +0000 (02:48 +0000)] 
Add more test cases to prove that ticket #2920 does not exist in
CVS HEAD.  The problem was previously fixed by the changes to
ticket #2686.  Ticket #2920 is a duplicate of #2686. (CVS 4772)

FossilOrigin-Name: b3259e872124fd7e17bbc23e582aa4d802044837

17 years agoUse the buffer size as limit for temp file names. This is done for windows too, see...
pweilbacher [Fri, 1 Feb 2008 19:44:28 +0000 (19:44 +0000)] 
Use the buffer size as limit for temp file names. This is done for windows too, see check-in (4595). (CVS 4771)

FossilOrigin-Name: 99275bcd624c57585fc962235082fb0ca213d9c0

17 years agofix broken OS/2 mutex implementation (Ticket #2905) (CVS 4770)
pweilbacher [Fri, 1 Feb 2008 19:42:37 +0000 (19:42 +0000)] 
fix broken OS/2 mutex implementation (Ticket #2905) (CVS 4770)

FossilOrigin-Name: 05afd86e2d25a219843be48c21c212e84f94e7ef

17 years agoMinor fixes to FTS3 so that it works better when appended to the end
drh [Fri, 1 Feb 2008 15:34:09 +0000 (15:34 +0000)] 
Minor fixes to FTS3 so that it works better when appended to the end
of the amalgamation. (CVS 4769)

FossilOrigin-Name: 62ede6699d8f116921a5a0baddca5e7e63740cd3

17 years agoFix the build scripts for windows binaries. ticket #2916. (CVS 4768)
drh [Fri, 1 Feb 2008 13:44:33 +0000 (13:44 +0000)] 
Fix the build scripts for windows binaries.  ticket #2916. (CVS 4768)

FossilOrigin-Name: c336b2318a56c1deb94c41107754f5f622a9b1ee

17 years agoModify the printf test script so that it does not depend on the platform
drh [Fri, 1 Feb 2008 01:19:53 +0000 (01:19 +0000)] 
Modify the printf test script so that it does not depend on the platform
printf, so that we do not spurious test failures when moving from one
platform to another. (CVS 4767)

FossilOrigin-Name: 514d7e474391278a121af285dc4aca6216358ad7

17 years agomake os2Truncate() actually do something and fix os2FullPathname() to be more elegant...
pweilbacher [Fri, 1 Feb 2008 00:31:59 +0000 (00:31 +0000)] 
make os2Truncate() actually do something and fix os2FullPathname() to be more elegant and work more correctly in all cases (Ticket #2904) (CVS 4766)

FossilOrigin-Name: 921c7a0ac4581255ea5061980ff7991088b9b78a

17 years agoFix a problem with virtual tables and left joins introduced by
drh [Thu, 31 Jan 2008 19:34:51 +0000 (19:34 +0000)] 
Fix a problem with virtual tables and left joins introduced by
check-in (4761).  Ticket #2894 and #2913. (CVS 4765)

FossilOrigin-Name: ebeac2a499ce16ac7e6d12daa5ce9d41e9067d28

17 years agoVersion 3.5.5 (CVS 4764)
drh [Thu, 31 Jan 2008 17:25:14 +0000 (17:25 +0000)] 
Version 3.5.5 (CVS 4764)

FossilOrigin-Name: cb5bf4642f30ccd9052d76c3a47e7c5afc32afe6

17 years agoRemove a broken hyperlink from the API documentation. (CVS 4763)
drh [Thu, 31 Jan 2008 17:21:21 +0000 (17:21 +0000)] 
Remove a broken hyperlink from the API documentation. (CVS 4763)

FossilOrigin-Name: 5fbda121743261f965d18342356a7c270daba416

17 years agoFixes to API definition comments in sqlite.h.in. Updates to the
drh [Thu, 31 Jan 2008 16:36:40 +0000 (16:36 +0000)] 
Fixes to API definition comments in sqlite.h.in.  Updates to the
build script - ticket #2874. (CVS 4762)

FossilOrigin-Name: c23f51de61398b08a9f02cc65befcbfe506137c0

17 years agoMake sure virtual table interfaces are not invoked after EOF when
drh [Thu, 31 Jan 2008 15:53:45 +0000 (15:53 +0000)] 
Make sure virtual table interfaces are not invoked after EOF when
the virtual table appears in an outer join.  Ticket #2894. (CVS 4761)

FossilOrigin-Name: face510bc14f440fc08dd5a354882ae05499bfa7

17 years agoAdd "return rc;" to the end of sqlite3_test_control(). (CVS 4760)
danielk1977 [Thu, 31 Jan 2008 15:31:01 +0000 (15:31 +0000)] 
Add "return rc;" to the end of sqlite3_test_control(). (CVS 4760)

FossilOrigin-Name: b547e7ea75294997de4298e30af813f36dfa3b05

17 years agoFix assertion fault in sqllimits1.test encountered when auto_vacuum is
drh [Thu, 31 Jan 2008 14:54:43 +0000 (14:54 +0000)] 
Fix assertion fault in sqllimits1.test encountered when auto_vacuum is
enabled.  Correct the sqllimit1 tests to account for extra pages inserted
by auto_vacuum. (CVS 4759)

FossilOrigin-Name: 9b207d1a6690206a6d7a10fcb517579b8bdadca2

17 years agoAdd the sqlite3_test_control() API. Use it to control the fault injector. (CVS 4758)
drh [Thu, 31 Jan 2008 14:43:24 +0000 (14:43 +0000)] 
Add the sqlite3_test_control() API.  Use it to control the fault injector. (CVS 4758)

FossilOrigin-Name: 413ddade6a13f993cddc57389d1107d82fa19972

17 years agoVersion number to 3.5.5. Include FTS3 in the amalgamation by default
drh [Thu, 31 Jan 2008 13:35:48 +0000 (13:35 +0000)] 
Version number to 3.5.5.  Include FTS3 in the amalgamation by default
(but disabled unless compiled with -DSQLITE_ENABLE_FTS3).  Fix a memory
allocation problem. (CVS 4757)

FossilOrigin-Name: 72411043e60d5358d5a7adf566d662d65d3b3336

17 years agoAdditional API documentation updates in sqlite.h.in. (CVS 4756)
drh [Thu, 31 Jan 2008 12:26:49 +0000 (12:26 +0000)] 
Additional API documentation updates in sqlite.h.in. (CVS 4756)

FossilOrigin-Name: 9b6ab9faad39dd20d761efa68f137c596fbcd7a5

17 years agoImprovements to the API documentation found in comments in the sqlite.h.in
drh [Wed, 30 Jan 2008 16:16:14 +0000 (16:16 +0000)] 
Improvements to the API documentation found in comments in the sqlite.h.in
source file. (CVS 4755)

FossilOrigin-Name: 0b8b5c2e833c90aec1c14d16c12334e01b50f35f

17 years agoDisable the likely() and unlikely() macros as they do not work some
drh [Wed, 30 Jan 2008 16:14:23 +0000 (16:14 +0000)] 
Disable the likely() and unlikely() macros as they do not work some
older versions of GCC. (CVS 4754)

FossilOrigin-Name: e01f9ed9450d3e23fc052e1b779c7a1965e76f7e

17 years agoCommitted changes for ticket #2909 (CVS 4753)
aswift [Mon, 28 Jan 2008 22:09:23 +0000 (22:09 +0000)] 
Committed changes for ticket #2909 (CVS 4753)

FossilOrigin-Name: 29ce204dbf2ccd051032f23f175b5c225f209fda

17 years agoFix an incorrect comment on the Mem object in vdbeInt.h. (CVS 4752)
drh [Mon, 28 Jan 2008 15:19:26 +0000 (15:19 +0000)] 
Fix an incorrect comment on the Mem object in vdbeInt.h. (CVS 4752)

FossilOrigin-Name: 50c9cf9bbbe858d53697b4d3a0c1ec2d63ff5b18

17 years agoremove an unused variable (CVS 4751)
rse [Sun, 27 Jan 2008 10:35:56 +0000 (10:35 +0000)] 
remove an unused variable (CVS 4751)

FossilOrigin-Name: 88846195474e620d0c3029d464d074aea6e82a22

17 years agoError messages says "no such view" instead of "no such table" when
drh [Fri, 25 Jan 2008 15:04:48 +0000 (15:04 +0000)] 
Error messages says "no such view" instead of "no such table" when
trying to DROP a VIEW that does not exist. (CVS 4750)

FossilOrigin-Name: 50815a82e0ec9a5c1399f5fe6ef416434b55a821

17 years agoFix a segfault that may follow a malloc failure during compilation of an INSTEAD...
danielk1977 [Thu, 24 Jan 2008 14:27:44 +0000 (14:27 +0000)] 
Fix a segfault that may follow a malloc failure during compilation of an INSTEAD OF trigger. (CVS 4749)

FossilOrigin-Name: c6635a71dbb2a06d56a0cfce7f0383325e12dc01

17 years agoFix another segfault that can occur following a malloc failure in the SQL compiler...
danielk1977 [Wed, 23 Jan 2008 17:13:40 +0000 (17:13 +0000)] 
Fix another segfault that can occur following a malloc failure in the SQL compiler. (CVS 4748)

FossilOrigin-Name: 9d98a3f0dded4ee7ed53872f48ee8592ff077f92

17 years agoFix a couple of segfaults that could occur after a malloc() failure in the SQL compil...
danielk1977 [Wed, 23 Jan 2008 15:44:51 +0000 (15:44 +0000)] 
Fix a couple of segfaults that could occur after a malloc() failure in the SQL compiler. (CVS 4747)

FossilOrigin-Name: 6bd8db3839d57a738cae2196679819186968b40e

17 years agoTesting coverage enhancements to sqlite3_get_table() and to the SELECT
drh [Wed, 23 Jan 2008 14:51:49 +0000 (14:51 +0000)] 
Testing coverage enhancements to sqlite3_get_table() and to the SELECT
code generator. (CVS 4746)

FossilOrigin-Name: 45c59802f6d35c7745b96c578ab43d5a336fe822

17 years agoImprovements to test coverage in the lemon-generated parser and in the
drh [Wed, 23 Jan 2008 12:52:40 +0000 (12:52 +0000)] 
Improvements to test coverage in the lemon-generated parser and in the
sqlite3_get_table() interface. (CVS 4745)

FossilOrigin-Name: 9f95d79daeb5e7f6fd62f3c896dae4d332121d1c

17 years agoMake sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when
drh [Wed, 23 Jan 2008 03:03:05 +0000 (03:03 +0000)] 
Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when
compiling without -DSQLITE_DEBUG=1. (CVS 4744)

FossilOrigin-Name: 5375ad6b4b652f388469b0ce4e8e78b3f49169bd

17 years agoImproved test coverage for the tokenizer and sqlite3_complete() interface.
drh [Tue, 22 Jan 2008 23:37:09 +0000 (23:37 +0000)] 
Improved test coverage for the tokenizer and sqlite3_complete() interface.
Fix bugs in parsing blob literals and SQL variables beginning with $. (CVS 4743)

FossilOrigin-Name: c82033faf8bdb83ce43f0dd1611408e7796d53de

17 years agoAdd the fault injector module in fault.c. Use it as a basis for memory
drh [Tue, 22 Jan 2008 21:30:53 +0000 (21:30 +0000)] 
Add the fault injector module in fault.c.  Use it as a basis for memory
allocation failure testing. (CVS 4742)

FossilOrigin-Name: 1a335e180183b414fcc3510ce28b98b21cd134a6

17 years agoFix a bug introduced by checkin (4739). (CVS 4741)
drh [Tue, 22 Jan 2008 19:34:27 +0000 (19:34 +0000)] 
Fix a bug introduced by checkin (4739). (CVS 4741)

FossilOrigin-Name: c8394ac24b87707fa7f2e3cb43ad8efb65d2595e

17 years agoDetect and report a particular type of database corruption that would
drh [Tue, 22 Jan 2008 16:35:36 +0000 (16:35 +0000)] 
Detect and report a particular type of database corruption that would
formerly cause a segfault. (CVS 4740)

FossilOrigin-Name: f47cf3cc5c70ffb70795e9412e6eaeaf044c3559

17 years agoDetect and report a particular type of database corruption that would
drh [Tue, 22 Jan 2008 16:35:36 +0000 (16:35 +0000)] 
Detect and report a particular type of database corruption that would
formerly cause a segfault. (CVS 4739)

FossilOrigin-Name: 6ed2d9f82e2c81d5f6c22a4e05c1a2cb5eedd10c

17 years agoRemove dead code from the lemon-generated parser. Better testing
drh [Tue, 22 Jan 2008 14:50:16 +0000 (14:50 +0000)] 
Remove dead code from the lemon-generated parser.  Better testing
of the sqlite3_file_control() interface, and in particular make sure
the interface works on :memory: databases. (CVS 4738)

FossilOrigin-Name: 83ca4fc7dc18d6deca58fe4181905eb9754e03da

17 years agoMove the test (sqlite3_simulate_device) functionality out of the main code and into...
danielk1977 [Tue, 22 Jan 2008 11:50:13 +0000 (11:50 +0000)] 
Move the test (sqlite3_simulate_device) functionality out of the main code and into a test vfs. (CVS 4737)

FossilOrigin-Name: 17e7bd6c3f507ffc6b56f54ae8c70730e8246f39

17 years agoChanges to lemon to generate additional comments in the output file and
drh [Tue, 22 Jan 2008 01:48:05 +0000 (01:48 +0000)] 
Changes to lemon to generate additional comments in the output file and
to remove unreachable code.  Additional test cases for improved test
coverage. (CVS 4736)

FossilOrigin-Name: 2a0bc1e186532a0bfe36ca18fda74a5e7a199227

17 years agoAdditional test cases for the RTRIM collation. (CVS 4735)
drh [Mon, 21 Jan 2008 16:47:16 +0000 (16:47 +0000)] 
Additional test cases for the RTRIM collation. (CVS 4735)

FossilOrigin-Name: 51452d20f99ecbe0fdb73cfafde5270711aeacad

17 years agoMiscellaneous test coverage improvements. (CVS 4734)
drh [Mon, 21 Jan 2008 16:22:45 +0000 (16:22 +0000)] 
Miscellaneous test coverage improvements. (CVS 4734)

FossilOrigin-Name: 720bc20a11275ffe139df9203f23e0683b9b4db1

17 years agoRemove some unused branches from internal function sqlite3PagerDontRollback(). (CVS...
danielk1977 [Mon, 21 Jan 2008 13:04:34 +0000 (13:04 +0000)] 
Remove some unused branches from internal function sqlite3PagerDontRollback(). (CVS 4733)

FossilOrigin-Name: 3d4252b06b42151874ee437c3a484e818232a5c9

17 years agoAdd the RTRIM collating sequence. Only implemented for UTF8. Still
drh [Sun, 20 Jan 2008 23:19:56 +0000 (23:19 +0000)] 
Add the RTRIM collating sequence.  Only implemented for UTF8.  Still
considered experimental and may be removed if we find adverse impact
elsewhere in the system. (CVS 4732)

FossilOrigin-Name: 0bf4e7fefdbbf7be4e32195473563158f22f1869

17 years agoAdditional test coverage improvements. Test coverage now stands at 98.73%. (CVS...
drh [Sat, 19 Jan 2008 23:50:26 +0000 (23:50 +0000)] 
Additional test coverage improvements.  Test coverage now stands at 98.73%. (CVS 4731)

FossilOrigin-Name: 010f7b780cb9c8f21af9ce810494fbd2be98a13f

17 years agoMiscellaneous code simplifications and cleanup and test coverage
drh [Sat, 19 Jan 2008 20:11:25 +0000 (20:11 +0000)] 
Miscellaneous code simplifications and cleanup and test coverage
enhancements. (CVS 4730)

FossilOrigin-Name: af129b6d158cc90ce9752dd6383c1de47f7b3e43

17 years agoCleanup and simplification of constraint processing. Simplifications
drh [Sat, 19 Jan 2008 03:35:58 +0000 (03:35 +0000)] 
Cleanup and simplification of constraint processing.  Simplifications
to the VM for better test coverage. (CVS 4729)

FossilOrigin-Name: d9ebe9d78c558af050c44ac4437ce0ef8193a4a8

17 years agoFix test instrumentation problems on shared_err.test. (CVS 4728)
drh [Fri, 18 Jan 2008 17:03:32 +0000 (17:03 +0000)] 
Fix test instrumentation problems on shared_err.test. (CVS 4728)

FossilOrigin-Name: 5aef5b0dd8e44a56f84fbc6f843016bca5101987