]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Tue, 27 Nov 2007 16:55:07 +0000 (16:55 +0000)]
Fix a bug that can cause a segfault on win32 systems following an
I/O error. (CVS 4565)
FossilOrigin-Name:
eeec8d27c4533f62b4f7e739d9c895552ddb69ff
drh [Tue, 27 Nov 2007 14:50:06 +0000 (14:50 +0000)]
Bug fix in the configure script. Ticket #2799.
The configure script is a real mess and
needs to be completely rewritten. (CVS 4564)
FossilOrigin-Name:
9d15f0330d685e62fbf4a1a1ad18dfecdc511bf8
drh [Tue, 27 Nov 2007 14:46:41 +0000 (14:46 +0000)]
Update the version number to 3.5.3. Fix some minor testing problems. (CVS 4563)
FossilOrigin-Name:
f4c8f2d1918f24514f02cae9172c77f6957d32c1
drh [Tue, 27 Nov 2007 02:38:00 +0000 (02:38 +0000)]
Add likely() and unlikely() macros to the header file. They are not
yet used for anything. (CVS 4562)
FossilOrigin-Name:
485add38a1ef224732575f9998f06466dcc9742d
drh [Mon, 26 Nov 2007 22:54:27 +0000 (22:54 +0000)]
Use macro __DARWIN__ rather than __MACOS__ for conditional
compilation of MacOSX specific features. Ticket #2780. (CVS 4561)
FossilOrigin-Name:
d0a4c2a36385c03dfadbb844823d0ed2458bf619
drh [Mon, 26 Nov 2007 13:36:00 +0000 (13:36 +0000)]
Additional out-of-memory testing. Fix bugs caused by malloc failures in
where.c. Tickets #2794, #2795, #2796, and #2797. (CVS 4560)
FossilOrigin-Name:
5e02dbabcfa42173adff234c086df1e962824c92
drh [Sat, 24 Nov 2007 10:23:44 +0000 (10:23 +0000)]
Declare the invalidateCursorsOnModifiedBtrees function to be static.
Ticket #2792. (CVS 4559)
FossilOrigin-Name:
94f25fc1129c7fb8697a67e509ab9de54a173a58
drh [Sat, 24 Nov 2007 00:41:52 +0000 (00:41 +0000)]
The FTS3 amalgamation can now be appended to the SQLite amalgamation to
generate a single source file that contains both components. (CVS 4558)
FossilOrigin-Name:
0fc61f99b54bd269fcc011f448b9b971e902cb01
drh [Fri, 23 Nov 2007 18:19:22 +0000 (18:19 +0000)]
Fix a typo in a change to all.test from earlier today. (CVS 4557)
FossilOrigin-Name:
8c0b2157f2a2f8ecfa641a041279faf21aedd4e0
drh [Fri, 23 Nov 2007 18:06:23 +0000 (18:06 +0000)]
Do not require SQLITE_ENABLE_BROKEN_FTS2 if FTS2 is not enabled.
The same for FTS1. Ticket #2777. (CVS 4556)
FossilOrigin-Name:
f94cdcfd1171fd110ed9cd4c47f1fb5fa7e99ca9
drh [Fri, 23 Nov 2007 18:01:07 +0000 (18:01 +0000)]
Add a #include of sqlite3.h to fts3_hash.c. Tickets #2762 and #2777. (CVS 4555)
FossilOrigin-Name:
c8485eb8bc62c810ec9f73e103468c57116fd94c
drh [Fri, 23 Nov 2007 17:31:17 +0000 (17:31 +0000)]
Changes fts3 to use only sqlite3_malloc() and not system malloc.
Ticket #2762. (CVS 4554)
FossilOrigin-Name:
460af6bb668094c99a1d4dc1540b44b6d1d036b6
drh [Fri, 23 Nov 2007 15:12:44 +0000 (15:12 +0000)]
Remove most documentation from the source code repository.
Documentation configuration management is now handled by a
separate repository at http://www.sqlite.org/docsrc. (CVS 4553)
FossilOrigin-Name:
b20f3a6fed1027fc8faf886c8998dcb5dc0917c6
drh [Fri, 23 Nov 2007 15:02:19 +0000 (15:02 +0000)]
Make sure that INSERT INTO ... SELECT ... always uses an ephemeral
intermediate table if the SELECT clause refers to the destination table,
even if the SELECT clause is compound or uses the destination table
in a subquery. This fixes a long-standing bug that can cause an
infinite loop for some SQL statements. (CVS 4552)
FossilOrigin-Name:
492b39b6a8bf4ad8792d7a7949f77827a5047fd8
drh [Fri, 23 Nov 2007 13:42:51 +0000 (13:42 +0000)]
Avoid a double-free in an out-of-memory situation with a USING
clause or NATURAL JOIN. Ticket #2789. (CVS 4551)
FossilOrigin-Name:
596694752c5935ae50ad38d3b41bbda39ca999d8
drh [Thu, 22 Nov 2007 00:47:41 +0000 (00:47 +0000)]
Change to sqlite3.pc.in recommended by ticket #2786. (CVS 4550)
FossilOrigin-Name:
247fa2eac0789be48cae3587643ab07576ae7b76
drh [Wed, 21 Nov 2007 15:24:00 +0000 (15:24 +0000)]
Handle out-of-memory situations inside the query flattener.
Ticket #2784. (CVS 4549)
FossilOrigin-Name:
2655a3f2d18fe16a36a6cf3776261ee0507e6912
drh [Sat, 17 Nov 2007 22:23:27 +0000 (22:23 +0000)]
Fix a bug in the grammar. We were giving the ones-complement operator ~
the same precedence as the NOT operator, which is incorrect. (CVS 4548)
FossilOrigin-Name:
b48a4bfd3288906dfb7659c37f76d345011c91a0
danielk1977 [Fri, 16 Nov 2007 14:55:46 +0000 (14:55 +0000)]
Fix a crash that can occur after a malloc failure. Ticket #2775. (CVS 4547)
FossilOrigin-Name:
c91bc8d33306881cb2501070dccced92c82cf165
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