drh
3c7f2dc4ca
Use the specified buffer length, not the maximum buffer length in
...
unixFullPathname() and related functions. (CVS 4595)
FossilOrigin-Name: f015a38771d98996366d66787b9b066f9ef5e248
2007-12-06 13:26:20 +00:00
drh
f5befa0339
Continuing work on the C/C++ interface requirements that appears as
...
comments in sqlite.h.in. (CVS 4594)
FossilOrigin-Name: 2130e7125187ca46df3f65237f933b0e568a36ed
2007-12-06 02:42:07 +00:00
drh
fddfa2d863
Begin adding requirements numbers to the C/C++ interface documentation. (CVS 4593)
...
FossilOrigin-Name: ae1936aadf00bec91750d41be7507cf1b81fc411
2007-12-05 18:05:16 +00:00
drh
ddac25c732
Add the ability to change the autovacuum status of an existing database
...
by setting the auto_vacuum pragma then running the VACUUM command. (CVS 4592)
FossilOrigin-Name: bdfc19e838b369a8c5d5d23663fad690f55ba3d7
2007-12-05 01:38:23 +00:00
drh
77658e2f0d
Make sure statement journals are initiated when doing DROP operations
...
(since the DROP might fail after sqlite_master changes). Also make
sure statement journals are initiated if there are pending SELECT
statements. Ticket #2820 . (CVS 4591)
FossilOrigin-Name: bf34284ff0c60ae6e735e09bb29cd48b158e8dce
2007-12-04 16:54:52 +00:00
drh
0349688fbc
Fix a bug in the TCL code for sqlite3_analyzer. (CVS 4590)
...
FossilOrigin-Name: 7c2cf4542852a81daf29a930ab103c52bb678326
2007-12-04 13:41:51 +00:00
drh
2dd62be503
Clarify the operation of sqlite3_blob_close() in the API documentation.
...
Ticket #2815 . (CVS 4589)
FossilOrigin-Name: 78f359dffa6f4af4d5b7e4523f451e0e405350c0
2007-12-04 13:22:43 +00:00
drh
275ac343df
Do not require os_other.h if compiling with -DOS_OTHER=1. (CVS 4588)
...
FossilOrigin-Name: 96ec39031e0b0b9a69e7b5647580326a87f94d2e
2007-12-03 21:52:09 +00:00
danielk1977
fe91033907
When parsing CREATE INDEX statements from the sqlite_master table, do not search the temp database schema for the corresponding table. Only consider the database for which the schema is being parsed. Ticket #2817 . (CVS 4587)
...
FossilOrigin-Name: e6f02aa5ae6da0befdf98fdd5884345f3cb7f5ea
2007-12-02 11:46:34 +00:00
drh
0c1cddbe86
Another fix to Makefile.in for mingw. (CVS 4586)
...
FossilOrigin-Name: cfaeb02554ab86fffbfb8eb2a78c7d8a59a9cba5
2007-12-01 19:25:17 +00:00
drh
4dd022aba8
Beginning attempts at casting the sqlite.h.in documentation into
...
formal requirements. (CVS 4585)
FossilOrigin-Name: 2ea78d2cbd86edda6f998fbb364800d3ecf76479
2007-12-01 19:23:19 +00:00
drh
afbd06bb93
Bug fix to Makefile.in to allow it to work with mingw. (CVS 4584)
...
FossilOrigin-Name: fdca98d1eb44c05ffb3c42acb9f87f57460c4cc8
2007-12-01 09:32:53 +00:00
drh
5fc102eac1
Add a few function requirements numbers to interfaces in the comments
...
of sqlite3.h.in. This is experimental. (CVS 4583)
FossilOrigin-Name: b829a64515e88e83aecd339342bad3b140c86bb0
2007-11-30 01:06:16 +00:00
drh
7fe3f7e918
Make sure we never try to "truncate" a file to a larger size. (CVS 4582)
...
FossilOrigin-Name: 7d2f6a1d6c5ab89a3b65fbcaf172abf6d81e206b
2007-11-29 18:44:27 +00:00
drh
ace03d1b3a
Add the optional (and experimental) mmap() memory allocator in the
...
mem4.c module. (CVS 4581)
FossilOrigin-Name: cfd683ac80fd043343e0f0af90805058daa3818d
2007-11-29 18:36:49 +00:00
danielk1977
21de2e755c
When using an index to scan a database table, read column data from the index in preference to the table. This increases the likelihood that the table will not be required at all. (CVS 4580)
...
FossilOrigin-Name: 061608c72ac0a96eacf3b64d638235e4739f96ba
2007-11-29 17:43:27 +00:00
danielk1977
9a96b66810
Optimisations for expressions of the form "<value> IN (SELECT <column> FROM <table>)". (CVS 4579)
...
FossilOrigin-Name: 56d0e32677744df8570b519fae1c04da4ea4984d
2007-11-29 17:05:18 +00:00
drh
ade8648301
Add the {quote: StrAccum} object
...
for accumulating strings. Revamp xprintf to use
the new object. Rewrite the group_concat() function to use the new object.
Productize and test the group_concat() function. (CVS 4578)
FossilOrigin-Name: 221aee72be040769e8026b91648f03c6366a8821
2007-11-28 22:36:40 +00:00
drh
26b7994a97
Change the BTree so that it uses the Pagers temporary page space when
...
reorganizing the rows on a page, rather than mallocing for space of
its own. In this way, we avoid having to deal with a malloc failure
deep down inside the page reorganizer. Ticket #2806 (CVS 4577)
FossilOrigin-Name: 98960132dc082da61652201f4bd2b559725350c0
2007-11-28 16:19:56 +00:00
drh
0167f28508
Reorganize the code for the homegrown recursive mutexes. Fix a place
...
in the previous check-in where the #ifdef label was incorrect.
Ticket #2804 . (CVS 4576)
FossilOrigin-Name: 542e11f954983ae26fef4ea850c8b2a20f738edd
2007-11-28 14:04:57 +00:00
drh
5f3d652394
Clarify the conditions under which homegrown recursive mutexes work
...
(they require a coherent cache) and only enable them if there is an
explicit #define so as to avoid accidental use on platforms that do
not meet the constraints. Ticket #2805 . (CVS 4575)
FossilOrigin-Name: 80299eebddba9aac4c1bc36ffa2b440bffbf1751
2007-11-28 13:55:55 +00:00
drh
4aa2bfe67d
Preset the legacy_file_format pragma to the value of the primary
...
database so that a VACUUM will not unknowingly alter the setting.
Ticket #2804 . (CVS 4574)
FossilOrigin-Name: f731fa6bb398d8af621af17dc0677dd0f715c4a7
2007-11-28 13:43:16 +00:00
drh
ed05efbf7b
Add an implementation of recursive mutexes for unix systems that
...
lack pthreads recursive mutexes (ex: Solaris 2.6). Modern unix
systems continue to use the recursive mutexes provided by pthreads. (CVS 4573)
FossilOrigin-Name: f366a776c1b2dda42b4f10fdb8be66029165d084
2007-11-28 00:51:34 +00:00
drh
f32fabfd75
Add test cases to verify that the file format is preserved across
...
VACUUM. Ticket #2804 . (CVS 4572)
FossilOrigin-Name: 57400f50c600a59b56ba6eadfdc740235c194cd6
2007-11-27 23:36:59 +00:00
drh
039edbb479
Use the hexio test utility rather than TCL's binary I/O to avoid
...
32/64-bit problems in io.test. Ticket #2803 . (This is a change
to the test harness only - not to SQLite.) (CVS 4571)
FossilOrigin-Name: 07f7dde8a636aa05b917daa6b248c6f98654aab8
2007-11-27 23:11:45 +00:00
drh
aa71367a7e
Remove superfluous -lpthread from publish_osx.sh. Ticket #2801 .
...
Fix a bug in mkdll.sh. (CVS 4570)
FossilOrigin-Name: 8d6e8fd381d26b9f14464f545c37363218206391
2007-11-27 21:44:30 +00:00
drh
f042f51ea7
Omit the superfluous -lpthread option in publish.sh. Ticket #2800 . (CVS 4569)
...
FossilOrigin-Name: 4f09f233f0603696aac80f1a4f86bcc803a00daf
2007-11-27 18:45:31 +00:00
drh
7771c541dd
Add the publish_osx.sh script for building binaries for OSX (CVS 4568)
...
FossilOrigin-Name: 9bd7c31496d1d2959761c09a4cfa94662891b81c
2007-11-27 18:30:38 +00:00
drh
e0d5e34623
Update the "publish.sh" scripts used to build the binaries for the website. (CVS 4567)
...
FossilOrigin-Name: 2f748318fbb8ac4614c07629506b3955ce4fe20d
2007-11-27 17:38:14 +00:00
drh
b3a95cd1af
Version 3.5.3 (CVS 4566)
...
FossilOrigin-Name: a39007d5b1f0d8925153ab3aac44fd655ed2536e
2007-11-27 17:12:10 +00:00
drh
d3cf2473eb
Fix a bug that can cause a segfault on win32 systems following an
...
I/O error. (CVS 4565)
FossilOrigin-Name: eeec8d27c4533f62b4f7e739d9c895552ddb69ff
2007-11-27 16:55:07 +00:00
drh
0b47d34020
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
2007-11-27 14:50:06 +00:00
drh
543165ef97
Update the version number to 3.5.3. Fix some minor testing problems. (CVS 4563)
...
FossilOrigin-Name: f4c8f2d1918f24514f02cae9172c77f6957d32c1
2007-11-27 14:46:41 +00:00
drh
b6dbc00078
Add likely() and unlikely() macros to the header file. They are not
...
yet used for anything. (CVS 4562)
FossilOrigin-Name: 485add38a1ef224732575f9998f06466dcc9742d
2007-11-27 02:38:00 +00:00
drh
454ad58c3f
Use macro __DARWIN__ rather than __MACOS__ for conditional
...
compilation of MacOSX specific features. Ticket #2780 . (CVS 4561)
FossilOrigin-Name: d0a4c2a36385c03dfadbb844823d0ed2458bf619
2007-11-26 22:54:27 +00:00
drh
f998b730dd
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
2007-11-26 13:36:00 +00:00
drh
ade6c9c513
Declare the invalidateCursorsOnModifiedBtrees function to be static.
...
Ticket #2792 . (CVS 4559)
FossilOrigin-Name: 94f25fc1129c7fb8697a67e509ab9de54a173a58
2007-11-24 10:23:44 +00:00
drh
8255feca02
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
2007-11-24 00:41:52 +00:00
drh
0f31c45c10
Fix a typo in a change to all.test from earlier today. (CVS 4557)
...
FossilOrigin-Name: 8c0b2157f2a2f8ecfa641a041279faf21aedd4e0
2007-11-23 18:19:22 +00:00
drh
a6f46e991e
Do not require SQLITE_ENABLE_BROKEN_FTS2 if FTS2 is not enabled.
...
The same for FTS1. Ticket #2777 . (CVS 4556)
FossilOrigin-Name: f94cdcfd1171fd110ed9cd4c47f1fb5fa7e99ca9
2007-11-23 18:06:23 +00:00
drh
ac320cc14a
Add a #include of sqlite3.h to fts3_hash.c. Tickets #2762 and #2777 . (CVS 4555)
...
FossilOrigin-Name: c8485eb8bc62c810ec9f73e103468c57116fd94c
2007-11-23 18:01:07 +00:00
drh
613a0fe455
Changes fts3 to use only sqlite3_malloc() and not system malloc.
...
Ticket #2762 . (CVS 4554)
FossilOrigin-Name: 460af6bb668094c99a1d4dc1540b44b6d1d036b6
2007-11-23 17:31:17 +00:00
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