drh
22db44b00d
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
2007-11-23 15:12:44 +00:00
drh
48d1178ad8
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
2007-11-23 15:02:19 +00:00
drh
f4ce8ed048
Avoid a double-free in an out-of-memory situation with a USING
...
clause or NATURAL JOIN. Ticket #2789 . (CVS 4551)
FossilOrigin-Name: 596694752c5935ae50ad38d3b41bbda39ca999d8
2007-11-23 13:42:51 +00:00
drh
2e6037cd23
Change to sqlite3.pc.in recommended by ticket #2786 . (CVS 4550)
...
FossilOrigin-Name: 247fa2eac0789be48cae3587643ab07576ae7b76
2007-11-22 00:47:41 +00:00
drh
cfa063b377
Handle out-of-memory situations inside the query flattener.
...
Ticket #2784 . (CVS 4549)
FossilOrigin-Name: 2655a3f2d18fe16a36a6cf3776261ee0507e6912
2007-11-21 15:24:00 +00:00
drh
e9cf59e344
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
2007-11-17 22:23:27 +00:00
danielk1977
932083c60f
Fix a crash that can occur after a malloc failure. Ticket #2775 . (CVS 4547)
...
FossilOrigin-Name: c91bc8d33306881cb2501070dccced92c82cf165
2007-11-16 14:55:46 +00:00
shess
cd7274ceb0
Don't do anything when input doclists are both empty. Ticket #2774 (CVS 4546)
...
FossilOrigin-Name: 75cb46f82a6a95dbe9e279dede299bafa2e91cae
2007-11-16 00:23:07 +00:00
danielk1977
a185ddbfba
Return SQLITE_MISUSE instead of crashing if NULL is (incorrectly) passed to sqlite3_step(). Ticket #2773 . (CVS 4545)
...
FossilOrigin-Name: 3bfee76fa6191c6e3aaa4632949b53253c612f36
2007-11-15 16:04:15 +00:00
danielk1977
b8b4bfa061
Fix a segfault that can occur after a malloc failure in an ANALYZE statement. Ticket #2772 . (CVS 4544)
...
FossilOrigin-Name: d05eb67dd6e171cfe8b9528aa3c7c953780d8c82
2007-11-15 13:10:22 +00:00
danielk1977
d0e2a85436
Add an experimental API for retrieving the SQL source from a compiled statement: sqlite3_sql(). Ticket #2769 . (CVS 4543)
...
FossilOrigin-Name: d31f1e0d74a871d66cf7d3ef35faae5171d5cbc3
2007-11-14 06:48:48 +00:00
danielk1977
8e556520e9
Modify the Tcl interface to use sqlite3_prepare_v2(). (CVS 4542)
...
FossilOrigin-Name: 7bb00c7df672cb8988121f30e3bbdea9ad951603
2007-11-13 10:30:24 +00:00
chw
65d3c13cad
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
2007-11-12 21:09:10 +00:00
drh
1c96cac1cc
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
2007-11-12 17:56:42 +00:00
danielk1977
0318d4414d
Fix a code comment in select.c. No code changes. (CVS 4539)
...
FossilOrigin-Name: cf41d6a00f658d2cd64ff9811a3b1270ad1a580b
2007-11-12 15:40:41 +00:00
danielk1977
3c4809a201
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
2007-11-12 15:29:18 +00:00
danielk1977
390025053e
Allow collation sequence names to be quoted. Ticket #2744 . (CVS 4537)
...
FossilOrigin-Name: 06749ac7afeea4adbdeb9315f3819d5224534c66
2007-11-12 09:50:26 +00:00
danielk1977
6c9240938f
Modify the order of assert() macros in vdbe.c as per the suggestion in #2768 . (CVS 4536)
...
FossilOrigin-Name: af5af5dc2608f369f0f4274ca06974b365424e72
2007-11-12 08:09:34 +00:00
drh
95c0775484
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
2007-11-11 18:36:34 +00:00
drh
bc674334e5
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
2007-11-07 15:13:25 +00:00
drh
40a7178132
Changes the asynchronous I/O test module so that it can be appended to the
...
end of the amalgamation. (CVS 4533)
FossilOrigin-Name: c1fe27de7b6f0080466cc3f827979db9997e22a4
2007-11-07 01:23:12 +00:00
drh
f024f0bb9b
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
2007-11-07 01:19:07 +00:00
drh
84a6892f17
Version 3.5.2 (CVS 4531)
...
FossilOrigin-Name: 60da01630ab3668541aea7d303fc5d52fe3ee281
2007-11-05 20:49:21 +00:00
drh
e08fe712fd
Preparing documentation for the release of version 3.5.2. (CVS 4530)
...
FossilOrigin-Name: b985328ad98669cbf2fb9a56b015a1db35657004
2007-11-05 18:11:17 +00:00
drh
d64621d68d
Drop support for the SQLITE_OMIT_MEMORY_ALLOCATION compile-time option. (CVS 4529)
...
FossilOrigin-Name: b57c89fed0b74c2e8fb68ccfdf5e5e7d4b2603a1
2007-11-05 17:54:17 +00:00
danielk1977
7eb42c8204
Reset the writer-thread halt criteria after halting the thread. (CVS 4528)
...
FossilOrigin-Name: ecbff972a1f5c7d846c322c435fa73584655b7f0
2007-11-05 17:01:08 +00:00
danielk1977
662278e4de
Fix some minor problems with malloc failure and in-memory databases. (CVS 4527)
...
FossilOrigin-Name: b752906e708e1c8c76084152f5829e16e8988ef2
2007-11-05 15:30:12 +00:00
drh
0152123730
Fix a bug in the misc1 test script. (CVS 4526)
...
FossilOrigin-Name: fa16996d99cdce9f652508e3a70b7e5747810823
2007-11-05 14:58:23 +00:00
drh
f54cc03585
Make sure the default page size never exceeds the maximum page size. (CVS 4525)
...
FossilOrigin-Name: 9c2731f143d52f8bf27f309612c38a1be22e3019
2007-11-05 14:30:22 +00:00
danielk1977
d949fd3b34
Use malloc to obtain space for sqlite3_aggregate_context(). Ticket #2751 . (CVS 4524)
...
FossilOrigin-Name: bf75058f5777ce4b03f2287406805236470f70d0
2007-11-05 12:46:04 +00:00
danielk1977
6d64307b03
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
2007-11-05 05:12:53 +00:00
drh
3b1a9881e7
Add the ".timer" command to the CLI. (CVS 4522)
...
FossilOrigin-Name: 56680360d3b14a66a077ebb735f4594ed524a4bb
2007-11-02 12:53:03 +00:00
drh
7b12d46146
Fix building of sqlite3_analyzer on Mac. (CVS 4521)
...
FossilOrigin-Name: a616b6cb646a35a68bebc7d013c13185a9a6f47d
2007-11-02 12:52:39 +00:00
danielk1977
fa166726a4
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
2007-11-02 09:07:57 +00:00
drh
b0689696f2
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
2007-11-01 17:38:30 +00:00
danielk1977
7c055b9b7c
Avoid leaking a file descriptor after a malloc failure on unix. (CVS 4518)
...
FossilOrigin-Name: c249d5da721b32f6fe409a5b55a5d49a58994fec
2007-10-30 17:28:51 +00:00
danielk1977
5f0f253315
Remove a debugging assert() that went in by accident with the previous commit. (CVS 4517)
...
FossilOrigin-Name: 4ad60bdba0f1aa068dcc42fb58b80d7912e36b1b
2007-10-30 15:38:12 +00:00
danielk1977
5be7d5d139
Fix a race condtion in test_async.c. (CVS 4516)
...
FossilOrigin-Name: 5e3f7c3dec3e8d92b28a74293387b390fe6fc1fa
2007-10-30 15:29:42 +00:00
drh
dc1d9f1bd4
Clarify the behavior of sqlite3_last_insert_rowid() when using
...
INSERT OR IGNORE. (CVS 4515)
FossilOrigin-Name: c0fa0c8ba80f4cd60bd06da7a032c6424ffd16f8
2007-10-27 16:25:16 +00:00
shess
adafd5747f
Be a bit more susicious of invalid results from the tokenizer. (CVS 4514)
...
FossilOrigin-Name: deb8f56d3adea0025d28b8effabec7c7b7fe3026
2007-10-24 23:24:22 +00:00
pweilbacher
71be8e692b
Fix os2CurrentTime() to give correct results for negative timezones. (CVS 4513)
...
FossilOrigin-Name: a3b82548cb51431569aafacf38e3391a8a1b697b
2007-10-24 23:04:32 +00:00
pweilbacher
99295b4933
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
2007-10-24 23:03:25 +00:00
shess
b6d78dc7bb
fts3.c buildTerms() passes -1 for nInput. (CVS 4511)
...
FossilOrigin-Name: e87c883a1235ac47ee340a31051dcd5deb369d4e
2007-10-24 21:52:37 +00:00
drh
0cf19ed817
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
2007-10-23 18:55:48 +00:00
drh
9e0ebbfa41
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
2007-10-23 15:59:18 +00:00
drh
71674ce9ce
Make sure the _LARGEFILE_SOURCE macro occurs before any system
...
includes. Ticket #2739 . (CVS 4508)
FossilOrigin-Name: 36465aeb1f8f92d336faf16c25608c9a8a6585d3
2007-10-23 15:51:26 +00:00
drh
598f134020
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
2007-10-23 15:39:45 +00:00
drh
55bfeb10cb
Fix limit assertions in vdbe.c. Ticket #2740 . (CVS 4506)
...
FossilOrigin-Name: 27f846d089ebe9e4970a2499ad4e2e98773d2e78
2007-10-23 14:55:06 +00:00
drh
9bc5449f9d
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
2007-10-23 14:49:59 +00:00
danielk1977
0d6e7a00d6
Add speed4.test, with some speed tests for triggers, sub-selects, views and joins. (CVS 4504)
...
FossilOrigin-Name: 3e3475b9e0f996841aa40419693c7c3eaa6c71aa
2007-10-23 10:25:30 +00:00