]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
17 years agoVersion 3.5.2 (CVS 4531)
drh [Mon, 5 Nov 2007 20:49:21 +0000 (20:49 +0000)] 
Version 3.5.2 (CVS 4531)

FossilOrigin-Name: 60da01630ab3668541aea7d303fc5d52fe3ee281

17 years agoPreparing documentation for the release of version 3.5.2. (CVS 4530)
drh [Mon, 5 Nov 2007 18:11:17 +0000 (18:11 +0000)] 
Preparing documentation for the release of version 3.5.2. (CVS 4530)

FossilOrigin-Name: b985328ad98669cbf2fb9a56b015a1db35657004

17 years agoDrop support for the SQLITE_OMIT_MEMORY_ALLOCATION compile-time option. (CVS 4529)
drh [Mon, 5 Nov 2007 17:54:17 +0000 (17:54 +0000)] 
Drop support for the SQLITE_OMIT_MEMORY_ALLOCATION compile-time option. (CVS 4529)

FossilOrigin-Name: b57c89fed0b74c2e8fb68ccfdf5e5e7d4b2603a1

17 years agoReset the writer-thread halt criteria after halting the thread. (CVS 4528)
danielk1977 [Mon, 5 Nov 2007 17:01:08 +0000 (17:01 +0000)] 
Reset the writer-thread halt criteria after halting the thread. (CVS 4528)

FossilOrigin-Name: ecbff972a1f5c7d846c322c435fa73584655b7f0

17 years agoFix some minor problems with malloc failure and in-memory databases. (CVS 4527)
danielk1977 [Mon, 5 Nov 2007 15:30:12 +0000 (15:30 +0000)] 
Fix some minor problems with malloc failure and in-memory databases. (CVS 4527)

FossilOrigin-Name: b752906e708e1c8c76084152f5829e16e8988ef2

17 years agoFix a bug in the misc1 test script. (CVS 4526)
drh [Mon, 5 Nov 2007 14:58:23 +0000 (14:58 +0000)] 
Fix a bug in the misc1 test script. (CVS 4526)

FossilOrigin-Name: fa16996d99cdce9f652508e3a70b7e5747810823

17 years agoMake sure the default page size never exceeds the maximum page size. (CVS 4525)
drh [Mon, 5 Nov 2007 14:30:22 +0000 (14:30 +0000)] 
Make sure the default page size never exceeds the maximum page size. (CVS 4525)

FossilOrigin-Name: 9c2731f143d52f8bf27f309612c38a1be22e3019

17 years agoUse malloc to obtain space for sqlite3_aggregate_context(). Ticket #2751. (CVS 4524)
danielk1977 [Mon, 5 Nov 2007 12:46:04 +0000 (12:46 +0000)] 
Use malloc to obtain space for sqlite3_aggregate_context(). Ticket #2751. (CVS 4524)

FossilOrigin-Name: bf75058f5777ce4b03f2287406805236470f70d0

17 years agoHandle "IS NULL" constraints on virtual table scans. IS NULL constraints are not...
danielk1977 [Mon, 5 Nov 2007 05:12:53 +0000 (05:12 +0000)] 
Handle "IS NULL" constraints on virtual table scans. IS NULL constraints are not passed to the virtual table layer. Ticket #2759. (CVS 4523)

FossilOrigin-Name: 7027368c15b3270a139bea5612d7c03c2288dcc4

17 years agoAdd the ".timer" command to the CLI. (CVS 4522)
drh [Fri, 2 Nov 2007 12:53:03 +0000 (12:53 +0000)] 
Add the ".timer" command to the CLI. (CVS 4522)

FossilOrigin-Name: 56680360d3b14a66a077ebb735f4594ed524a4bb

17 years agoFix building of sqlite3_analyzer on Mac. (CVS 4521)
drh [Fri, 2 Nov 2007 12:52:39 +0000 (12:52 +0000)] 
Fix building of sqlite3_analyzer on Mac. (CVS 4521)

FossilOrigin-Name: a616b6cb646a35a68bebc7d013c13185a9a6f47d

17 years agoAdd some assert() statements to the asychronous backend demo to enforce the strategy...
danielk1977 [Fri, 2 Nov 2007 09:07:57 +0000 (09:07 +0000)] 
Add some assert() statements to the asychronous backend demo to enforce the strategy used to avoid deadlock. Also a minor change to avoid a potential deadlock. (CVS 4520)

FossilOrigin-Name: 6340ca5eee3d398a9ef4f37a442efad37c9bf547

17 years agoAdd a prototype "group_concat()" aggregate function to func.c.
drh [Thu, 1 Nov 2007 17:38:30 +0000 (17:38 +0000)] 
Add a prototype "group_concat()" aggregate function to func.c.
Disabled by default.  No documentation nor test cases.  No effort
to make it efficient. (CVS 4519)

FossilOrigin-Name: 61987a89d1c4af59c745d1c5f17bab3301588b6c

17 years agoAvoid leaking a file descriptor after a malloc failure on unix. (CVS 4518)
danielk1977 [Tue, 30 Oct 2007 17:28:51 +0000 (17:28 +0000)] 
Avoid leaking a file descriptor after a malloc failure on unix. (CVS 4518)

FossilOrigin-Name: c249d5da721b32f6fe409a5b55a5d49a58994fec

17 years agoRemove a debugging assert() that went in by accident with the previous commit. (CVS...
danielk1977 [Tue, 30 Oct 2007 15:38:12 +0000 (15:38 +0000)] 
Remove a debugging assert() that went in by accident with the previous commit. (CVS 4517)

FossilOrigin-Name: 4ad60bdba0f1aa068dcc42fb58b80d7912e36b1b

17 years agoFix a race condtion in test_async.c. (CVS 4516)
danielk1977 [Tue, 30 Oct 2007 15:29:42 +0000 (15:29 +0000)] 
Fix a race condtion in test_async.c. (CVS 4516)

FossilOrigin-Name: 5e3f7c3dec3e8d92b28a74293387b390fe6fc1fa

17 years agoClarify the behavior of sqlite3_last_insert_rowid() when using
drh [Sat, 27 Oct 2007 16:25:16 +0000 (16:25 +0000)] 
Clarify the behavior of sqlite3_last_insert_rowid() when using
INSERT OR IGNORE. (CVS 4515)

FossilOrigin-Name: c0fa0c8ba80f4cd60bd06da7a032c6424ffd16f8

17 years agoBe a bit more susicious of invalid results from the tokenizer. (CVS 4514)
shess [Wed, 24 Oct 2007 23:24:22 +0000 (23:24 +0000)] 
Be a bit more susicious of invalid results from the tokenizer. (CVS 4514)

FossilOrigin-Name: deb8f56d3adea0025d28b8effabec7c7b7fe3026

17 years agoFix os2CurrentTime() to give correct results for negative timezones. (CVS 4513)
pweilbacher [Wed, 24 Oct 2007 23:04:32 +0000 (23:04 +0000)] 
Fix os2CurrentTime() to give correct results for negative timezones. (CVS 4513)

FossilOrigin-Name: a3b82548cb51431569aafacf38e3391a8a1b697b

17 years agoFix os2GetTempname() to actually work: DosScanEnv() wants an empty PSZ as argument...
pweilbacher [Wed, 24 Oct 2007 23:03:25 +0000 (23:03 +0000)] 
Fix os2GetTempname() to actually work: DosScanEnv() wants an empty PSZ as argument and we obviously don't need to test for file existence any more. (CVS 4512)

FossilOrigin-Name: 8a233845f61080cca24da3672444f3e5b985da67

17 years agofts3.c buildTerms() passes -1 for nInput. (CVS 4511)
shess [Wed, 24 Oct 2007 21:52:37 +0000 (21:52 +0000)] 
fts3.c buildTerms() passes -1 for nInput. (CVS 4511)

FossilOrigin-Name: e87c883a1235ac47ee340a31051dcd5deb369d4e

17 years agoAdd comments, assertions, and test cases to demonstrate that the
drh [Tue, 23 Oct 2007 18:55:48 +0000 (18:55 +0000)] 
Add comments, assertions, and test cases to demonstrate that the
problem described in ticket #2742 is not a real problem. (CVS 4510)

FossilOrigin-Name: c085d6dfc0f5849113986cb2a25e64d0c95b3dfb

17 years agoAdd comments to the code warning that _XOPEN_SOURCE might need to be
drh [Tue, 23 Oct 2007 15:59:18 +0000 (15:59 +0000)] 
Add comments to the code warning that _XOPEN_SOURCE might need to be
defined manually if using USE_PREAD or USE_PREAD64. (CVS 4509)

FossilOrigin-Name: d7ed7cd077fe5f9ffba2bca48b84b231ccfd85b0

17 years agoMake sure the _LARGEFILE_SOURCE macro occurs before any system
drh [Tue, 23 Oct 2007 15:51:26 +0000 (15:51 +0000)] 
Make sure the _LARGEFILE_SOURCE macro occurs before any system
includes.  Ticket #2739. (CVS 4508)

FossilOrigin-Name: 36465aeb1f8f92d336faf16c25608c9a8a6585d3

17 years agoFloating point and 64-bit integer constants store in the virtual
drh [Tue, 23 Oct 2007 15:39:45 +0000 (15:39 +0000)] 
Floating point and 64-bit integer constants store in the virtual
machine opcodes in binary, not as text.  Performance improvement.
Ticket #2733. (CVS 4507)

FossilOrigin-Name: 7e30fd6a09899842c922b044714dc66796e545d4

17 years agoFix limit assertions in vdbe.c. Ticket #2740. (CVS 4506)
drh [Tue, 23 Oct 2007 14:55:06 +0000 (14:55 +0000)] 
Fix limit assertions in vdbe.c.  Ticket #2740. (CVS 4506)

FossilOrigin-Name: 27f846d089ebe9e4970a2499ad4e2e98773d2e78

17 years agoMake sure the sqlite3_vfs_register() and sqlite3_vfs_unregister() APIs
drh [Tue, 23 Oct 2007 14:49:59 +0000 (14:49 +0000)] 
Make sure the sqlite3_vfs_register() and sqlite3_vfs_unregister() APIs
work right even if not VFS is currently registered.  Ticket #2738. (CVS 4505)

FossilOrigin-Name: c36500871e85b55cb0804d5c9e88fa6861a507a9

17 years agoAdd speed4.test, with some speed tests for triggers, sub-selects, views and joins...
danielk1977 [Tue, 23 Oct 2007 10:25:30 +0000 (10:25 +0000)] 
Add speed4.test, with some speed tests for triggers, sub-selects, views and joins. (CVS 4504)

FossilOrigin-Name: 3e3475b9e0f996841aa40419693c7c3eaa6c71aa

17 years agoFix an error message in the tcl interface. (CVS 4503)
danielk1977 [Tue, 23 Oct 2007 08:17:48 +0000 (08:17 +0000)] 
Fix an error message in the tcl interface. (CVS 4503)

FossilOrigin-Name: 2449e08069ef830f119203c4a3737d6756e73c63

17 years agoAdd the NEAR operator to fts3. (CVS 4502)
danielk1977 [Mon, 22 Oct 2007 18:02:20 +0000 (18:02 +0000)] 
Add the NEAR operator to fts3. (CVS 4502)

FossilOrigin-Name: aef7720e0bb49d52332ddebe6f698feb926ef7d7

17 years agoWe need an extra define to activate OS/2 semaphores for compiling/linking. (CVS 4501)
pweilbacher [Sun, 21 Oct 2007 22:59:12 +0000 (22:59 +0000)] 
We need an extra define to activate OS/2 semaphores for compiling/linking. (CVS 4501)

FossilOrigin-Name: 0604dace0e22297bafcf90f4485d3c07383f876e

17 years agoFinally bring OS/2 to the 3.5 level. This at least is a first draft version that...
pweilbacher [Sun, 21 Oct 2007 22:47:03 +0000 (22:47 +0000)] 
Finally bring OS/2 to the 3.5 level. This at least is a first draft version that survives very basic tests. It still contains a lot of debugging stuff... (CVS 4500)

FossilOrigin-Name: 46b2d1034b3d25ded71085c901301ad64b5aaba2

17 years agoUse the 2-argument version of substr() in the SQL contained in the
drh [Sat, 20 Oct 2007 20:58:57 +0000 (20:58 +0000)] 
Use the 2-argument version of substr() in the SQL contained in the
VACUUM and ALTER TABLE commands.  Ticket #2737. (CVS 4499)

FossilOrigin-Name: 82b08a3dc2366007bcac4d9e451ef61c8c018fa5

17 years agoAdd the new memory allocator to the amalgamation. Improvements to
drh [Sat, 20 Oct 2007 16:36:31 +0000 (16:36 +0000)] 
Add the new memory allocator to the amalgamation.  Improvements to
out-of-memory handling. (CVS 4498)

FossilOrigin-Name: b58c2b37a5deb19ce0ef78629989016743a46bb3

17 years agoBug fix in the realloc algorithm of the static memory allocator. (CVS 4497)
drh [Sat, 20 Oct 2007 16:11:39 +0000 (16:11 +0000)] 
Bug fix in the realloc algorithm of the static memory allocator. (CVS 4497)

FossilOrigin-Name: 50db16be5025f6d5efc51e3354615059da7e8611

17 years agoSimplify the mem3.c memory allocator. Have it call sqlite3_release_memory()
drh [Sat, 20 Oct 2007 15:41:57 +0000 (15:41 +0000)] 
Simplify the mem3.c memory allocator.  Have it call sqlite3_release_memory()
automatically, without having to specify the soft heap limit. (CVS 4496)

FossilOrigin-Name: ca51b2f54076fcf73a8857aecf4b45d66ef0c7b6

17 years agoGo back to allocating each page and its header with a single memory
drh [Sat, 20 Oct 2007 13:17:54 +0000 (13:17 +0000)] 
Go back to allocating each page and its header with a single memory
allocation.  This undoes the change of (4409). (CVS 4495)

FossilOrigin-Name: f56c9884be796dee3f267aca6021eb1846d8527c

17 years agoFix a mutex leak in the new malloc-free memory allocator. (CVS 4494)
drh [Sat, 20 Oct 2007 12:34:00 +0000 (12:34 +0000)] 
Fix a mutex leak in the new malloc-free memory allocator. (CVS 4494)

FossilOrigin-Name: 30f014d3d0231a668c40508ff4a6b90ce622c857

17 years agoAdded an experimental malloc-free memory allocation subsystem, intended
drh [Fri, 19 Oct 2007 17:47:24 +0000 (17:47 +0000)] 
Added an experimental malloc-free memory allocation subsystem, intended
for use on embedded systems.  Runs 7% faster than when using system
malloc() on Linux. (CVS 4493)

FossilOrigin-Name: 8487ca82fade60b9fa63abf74e10f6ebcb48b98e

18 years agoReorder some tests at the beginning of sqlite3_step() to work around
drh [Wed, 17 Oct 2007 01:44:20 +0000 (01:44 +0000)] 
Reorder some tests at the beginning of sqlite3_step() to work around
misuse by python.  Ticket #2732. (CVS 4492)

FossilOrigin-Name: e8d591e8c369794921a4acbba5b17fddca730ee7

18 years agoA cosmetic changes to btree.c which (we are told) works around a bug
drh [Tue, 16 Oct 2007 19:45:29 +0000 (19:45 +0000)] 
A cosmetic changes to btree.c which (we are told) works around a bug
in MSVC++. (CVS 4491)

FossilOrigin-Name: 329dd014b0d851f21ff6690b6149e9d73c92302d

18 years agoAdd a malloc size histogram to the debugging malloc implementation
drh [Mon, 15 Oct 2007 19:34:32 +0000 (19:34 +0000)] 
Add a malloc size histogram to the debugging malloc implementation
in mem2.c. (CVS 4490)

FossilOrigin-Name: 3e51696cb878063e4ebfdcc2a61ba94c9bebdfe3

18 years agoFix for OMIT_AUTHORIZATION builds. (CVS 4489)
danielk1977 [Mon, 15 Oct 2007 07:08:44 +0000 (07:08 +0000)] 
Fix for OMIT_AUTHORIZATION builds. (CVS 4489)

FossilOrigin-Name: 260711a14d5ab2d7c9888c7c46c33a28a3da0415

18 years agoDo not invoke the authorizer when reparsing the schema after a schema
drh [Fri, 12 Oct 2007 20:42:28 +0000 (20:42 +0000)] 
Do not invoke the authorizer when reparsing the schema after a schema
change or when trying to figure out the result set of a view. (CVS 4488)

FossilOrigin-Name: e756bc9b74ef357c088b3044527c41e6834ba1a2

18 years agoConvert a K&R style function to ANSI style. Ticket #2548. (CVS 4487)
drh [Fri, 12 Oct 2007 19:35:48 +0000 (19:35 +0000)] 
Convert a K&R style function to ANSI style.  Ticket #2548. (CVS 4487)

FossilOrigin-Name: e1b2e7c24ce0f838687a503dc98188a0e67c79de

18 years agoMake the 3rd parameter of the SUBSTR() function optional. Ticket #2579. (CVS 4486)
drh [Fri, 12 Oct 2007 19:11:55 +0000 (19:11 +0000)] 
Make the 3rd parameter of the SUBSTR() function optional.  Ticket #2579. (CVS 4486)

FossilOrigin-Name: 4a807d48ea9923c1e3df4a5ad503710e62ae29f8

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

FossilOrigin-Name: 043cee2fd9319f24bb5c70d6619bfe8f8e2e3b91

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

FossilOrigin-Name: a7292c14ded6cfca65850ef8169799d2d5f35a61

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

FossilOrigin-Name: e4527dd6ed81f5cb7862b76305be7d7b6d31016d

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

FossilOrigin-Name: b2bdb476858c6e4b8977ea06be68b2331d1d84df

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

FossilOrigin-Name: beb91af7061a3950636064bf60946132a884cd7b

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

FossilOrigin-Name: 07c00fffe50e8380748f7ae02328531a75d64610

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

FossilOrigin-Name: ccd709e1791b1c1091a61139633b972b378c1816

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

FossilOrigin-Name: 27346fa55ed9b5c20016d07a37268fbd42dc097f

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

FossilOrigin-Name: a36fca4cdef162c87ce47a50ededdea19a8865f9

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

FossilOrigin-Name: 5cdbc0972fe94c13dffee1f908a77f903e580449

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

FossilOrigin-Name: 7e9b886dabf10557bc1aa80caad411809ce5a39f

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

FossilOrigin-Name: 4424357d17f615fab922780616eac6773535923a

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

FossilOrigin-Name: 1c68d93412a608f5164ad984ff290ab3b832bf7a

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

FossilOrigin-Name: a51946e66badab37cd54982265631bbc5e414f8e

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

FossilOrigin-Name: f795431c725d88bd4011f20cf63cac630de842f1

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

FossilOrigin-Name: fe067d706b40d9756433eac9896660514d1c8216

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

FossilOrigin-Name: e65842a9d4c779d24207e8a7934fe3bf35ff228b

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

FossilOrigin-Name: 38674fd287e0ca67e27c46a3ad0db4dcc8ed1e0c

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

FossilOrigin-Name: d261e2c731ef97d86fa9dc3caa1ce31ee9ce78ae

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

FossilOrigin-Name: 755fcaf7e355042d88fed6b9b49669300b010695

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

FossilOrigin-Name: 81cf518646b277b08e04079c67053450a259542b

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

FossilOrigin-Name: 837fc86166bfc789a53de1853043044f5e8ae3ac

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

FossilOrigin-Name: 0d05f3fbaad44a0d3723cd543b865326acddf883

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

FossilOrigin-Name: 96dd3c336b5bbf9da6ba9ace85dbe7c4b1ff2bcb

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

FossilOrigin-Name: a57b25a2e4127bb3d9dc83031db117664c10d4ea

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

FossilOrigin-Name: 84616a13af633700635ad2f91e92c2f7271e96d1

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

FossilOrigin-Name: b59f7bcbabcccde9d2519e10e65e121343f2af7a

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

FossilOrigin-Name: 0fb6d5a5773c282882e7283e6f8f8c009e238ff4

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

FossilOrigin-Name: 3d1d13d1eb5817c22956e6e7792783116a828962

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

FossilOrigin-Name: 7d3f0b149bd2b9c7c12aabb93d022c0ea26f0d74

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

FossilOrigin-Name: 028ec36c71d6ac43c8f1cda77578d844c6955f68

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

FossilOrigin-Name: 12eca32a6a3d68d5b20eed03afdffe7599e66014

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

FossilOrigin-Name: 272959cc91d0c9299d6fca8a962eb563650af87b

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

FossilOrigin-Name: eb5d78451ee2a5d8480537530f30fbb305bf7632

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

FossilOrigin-Name: ebe3e6913c35bebb0e78dac995527d5da97a9377

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

FossilOrigin-Name: 0bbf654b6745058a705ef5c320bdd5fb06735271

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

FossilOrigin-Name: 6232ee6750562b2cb913af4bb26111a097dd1192

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

FossilOrigin-Name: f7a2647033817c73f40010e145e4c29173a55689

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

FossilOrigin-Name: 2ea278a2af5b3e94acf5321375cc33d1f58c3885

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

FossilOrigin-Name: b2befc84c360dde42c6dd10cbcc9572e37852438

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

FossilOrigin-Name: 005d780de6e9e377ee296ff576e58cf1b512f245

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

FossilOrigin-Name: 0c1e6f69cd55ced4af5dcfbeff04820ba0d5b051

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

FossilOrigin-Name: 02c8d60bea36825c1c763bbf2c6107869915aafd

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

FossilOrigin-Name: aa61b244252399cce3b9c1ece9c6816ae9cb6717

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

FossilOrigin-Name: 138d3fcc5a74eb570107ae1299184a318b5417df

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

FossilOrigin-Name: ac645c8f30aac0d98fc481260084c9bd3975a845

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

FossilOrigin-Name: d748694f8d9b14d98b6fe7ceb404754692761705

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

FossilOrigin-Name: c2ac43a4ef674c0202d5bd1ec57fc25c89d0554e

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

FossilOrigin-Name: 27fe1288336665c4d47c5d7ddcbeacc451ec4a9d

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

FossilOrigin-Name: 91831ff2922666b39d8f4ba448982c6763030633

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

FossilOrigin-Name: 5c41619e292699c72231cff10e26dfbe9a363a00

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

FossilOrigin-Name: b2d605a2714245febb316a24edc7a076e21a3849

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

FossilOrigin-Name: 8b29f5fbfc723cdf67cf3410cd01f7c17ea39a4b

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

FossilOrigin-Name: ad3687b16e9420d8bbaa3a645aaf803813b36061