]>
git.ipfire.org Git - thirdparty/sqlite.git/log
shess [Fri, 16 Nov 2007 00:23:07 +0000 (00:23 +0000)]
Don't do anything when input doclists are both empty. Ticket #2774 (CVS 4546)
FossilOrigin-Name:
75cb46f82a6a95dbe9e279dede299bafa2e91cae
danielk1977 [Thu, 15 Nov 2007 16:04:15 +0000 (16:04 +0000)]
Return SQLITE_MISUSE instead of crashing if NULL is (incorrectly) passed to sqlite3_step(). Ticket #2773. (CVS 4545)
FossilOrigin-Name:
3bfee76fa6191c6e3aaa4632949b53253c612f36
danielk1977 [Thu, 15 Nov 2007 13:10:22 +0000 (13:10 +0000)]
Fix a segfault that can occur after a malloc failure in an ANALYZE statement. Ticket #2772. (CVS 4544)
FossilOrigin-Name:
d05eb67dd6e171cfe8b9528aa3c7c953780d8c82
danielk1977 [Wed, 14 Nov 2007 06:48:48 +0000 (06:48 +0000)]
Add an experimental API for retrieving the SQL source from a compiled statement: sqlite3_sql(). Ticket #2769. (CVS 4543)
FossilOrigin-Name:
d31f1e0d74a871d66cf7d3ef35faae5171d5cbc3
danielk1977 [Tue, 13 Nov 2007 10:30:24 +0000 (10:30 +0000)]
Modify the Tcl interface to use sqlite3_prepare_v2(). (CVS 4542)
FossilOrigin-Name:
7bb00c7df672cb8988121f30e3bbdea9ad951603
chw [Mon, 12 Nov 2007 21:09:10 +0000 (21:09 +0000)]
Various changes to enable compilation of SQLite library and command
line shell with the Windows CE cross compiler from cegcc.sourceforge.net (CVS 4541)
FossilOrigin-Name:
8ad0ab8cb374bd34e47af9e71b2aad9dd9af0d1b
drh [Mon, 12 Nov 2007 17:56:42 +0000 (17:56 +0000)]
Another attempt at fixing a memory leak in the TCL interface.
See check-in (4338) for the first attempt. Ticket #2597. (CVS 4540)
FossilOrigin-Name:
68a43c99f1b02b8a93bfdcd5c8426b2b4199d68f
danielk1977 [Mon, 12 Nov 2007 15:40:41 +0000 (15:40 +0000)]
Fix a code comment in select.c. No code changes. (CVS 4539)
FossilOrigin-Name:
cf41d6a00f658d2cd64ff9811a3b1270ad1a580b
danielk1977 [Mon, 12 Nov 2007 15:29:18 +0000 (15:29 +0000)]
Where possible, transform the DISTINCT qualifier to a GROUP BY clause. GROUP BY clauses may be optimized by indices, DISTINCT qualifiers cannot. (CVS 4538)
FossilOrigin-Name:
e56331234791cf3d830a30e4cfa66682bdf2eed1
danielk1977 [Mon, 12 Nov 2007 09:50:26 +0000 (09:50 +0000)]
Allow collation sequence names to be quoted. Ticket #2744. (CVS 4537)
FossilOrigin-Name:
06749ac7afeea4adbdeb9315f3819d5224534c66
danielk1977 [Mon, 12 Nov 2007 08:09:34 +0000 (08:09 +0000)]
Modify the order of assert() macros in vdbe.c as per the suggestion in #2768. (CVS 4536)
FossilOrigin-Name:
af5af5dc2608f369f0f4274ca06974b365424e72
drh [Sun, 11 Nov 2007 18:36:34 +0000 (18:36 +0000)]
Fix the code generation for UPDATE and DELETE so that
BEFORE triggers that use RAISE(IGNORE) do not leave extra
values on the stack. Ticket #2767 (CVS 4535)
FossilOrigin-Name:
3391f4139ccfe62cc27739a06567c422ddae9c69
drh [Wed, 7 Nov 2007 15:13:25 +0000 (15:13 +0000)]
Add asserts on sqlite3_mutex_held() to the zero-malloc memory allocator,
in order to prove that the mutex is held when it is needed. (CVS 4534)
FossilOrigin-Name:
31eb4abc89e9c0fd90fde5486d4008f9d09fdf4e
drh [Wed, 7 Nov 2007 01:23:12 +0000 (01:23 +0000)]
Changes the asynchronous I/O test module so that it can be appended to the
end of the amalgamation. (CVS 4533)
FossilOrigin-Name:
c1fe27de7b6f0080466cc3f827979db9997e22a4
drh [Wed, 7 Nov 2007 01:19:07 +0000 (01:19 +0000)]
In the windows VFS, make sure we do not return an error if attempting
to delete a file that does not exist. (CVS 4532)
FossilOrigin-Name:
08a685abc149cd29c3595a61c9bc1a04e6d95c4d
drh [Mon, 5 Nov 2007 20:49:21 +0000 (20:49 +0000)]
Version 3.5.2 (CVS 4531)
FossilOrigin-Name:
60da01630ab3668541aea7d303fc5d52fe3ee281
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
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
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
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
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
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
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
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
drh [Fri, 2 Nov 2007 12:53:03 +0000 (12:53 +0000)]
Add the ".timer" command to the CLI. (CVS 4522)
FossilOrigin-Name:
56680360d3b14a66a077ebb735f4594ed524a4bb
drh [Fri, 2 Nov 2007 12:52:39 +0000 (12:52 +0000)]
Fix building of sqlite3_analyzer on Mac. (CVS 4521)
FossilOrigin-Name:
a616b6cb646a35a68bebc7d013c13185a9a6f47d
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
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
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
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
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
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
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
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
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
shess [Wed, 24 Oct 2007 21:52:37 +0000 (21:52 +0000)]
fts3.c buildTerms() passes -1 for nInput. (CVS 4511)
FossilOrigin-Name:
e87c883a1235ac47ee340a31051dcd5deb369d4e
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
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
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
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
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
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
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
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
danielk1977 [Mon, 22 Oct 2007 18:02:20 +0000 (18:02 +0000)]
Add the NEAR operator to fts3. (CVS 4502)
FossilOrigin-Name:
aef7720e0bb49d52332ddebe6f698feb926ef7d7
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
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
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
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
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
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
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
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
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
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
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
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
danielk1977 [Mon, 15 Oct 2007 07:08:44 +0000 (07:08 +0000)]
Fix for OMIT_AUTHORIZATION builds. (CVS 4489)
FossilOrigin-Name:
260711a14d5ab2d7c9888c7c46c33a28a3da0415
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
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
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
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
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
drh [Fri, 12 Oct 2007 00:23:44 +0000 (00:23 +0000)]
Fix to the main.mk makefile. (CVS 4483)
FossilOrigin-Name:
e4527dd6ed81f5cb7862b76305be7d7b6d31016d
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
danielk1977 [Thu, 4 Oct 2007 18:11:15 +0000 (18:11 +0000)]
Fixes for OMIT_AUTHORIZATION builds. #2691. (CVS 4466)
FossilOrigin-Name:
755fcaf7e355042d88fed6b9b49669300b010695
drh [Thu, 4 Oct 2007 00:30:53 +0000 (00:30 +0000)]
Version 3.5.1 (CVS 4465)
FossilOrigin-Name:
81cf518646b277b08e04079c67053450a259542b
drh [Thu, 4 Oct 2007 00:29:28 +0000 (00:29 +0000)]
Updates to the documentation index page. (CVS 4464)
FossilOrigin-Name:
837fc86166bfc789a53de1853043044f5e8ae3ac
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
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
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
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
drh [Wed, 3 Oct 2007 18:45:04 +0000 (18:45 +0000)]
Simplify the vdbeHalt logic slightly. (CVS 4459)
FossilOrigin-Name:
b59f7bcbabcccde9d2519e10e65e121343f2af7a
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
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
danielk1977 [Wed, 3 Oct 2007 15:02:40 +0000 (15:02 +0000)]
Add a test case to malloc.test. (CVS 4456)
FossilOrigin-Name:
7d3f0b149bd2b9c7c12aabb93d022c0ea26f0d74
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
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
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
drh [Mon, 1 Oct 2007 17:47:00 +0000 (17:47 +0000)]
Additional #ifdefing around _XOPEN_SOURCE. Ticket #2681. (CVS 4452)
FossilOrigin-Name:
eb5d78451ee2a5d8480537530f30fbb305bf7632
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
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
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
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
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