]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Sat, 7 Jan 2006 18:10:32 +0000 (18:10 +0000)]
Make sure there is no ephemeral data on the stack before returning from
an sqlite3_step() call. Otherwise, if the statement is in READ UNCOMMITTED
mode then the data might be deleted or changed out from under us. (CVS 2884)
FossilOrigin-Name:
19f71a6d1982e986f5436bff71ef38b1bcc2e11d
drh [Sat, 7 Jan 2006 16:06:07 +0000 (16:06 +0000)]
Enable redefinable I/O if the SQLITE_ENABLE_REDEF_IO macro exists. (CVS 2883)
FossilOrigin-Name:
e170e15766389e978991b42a0d2ec303162aaad6
danielk1977 [Sat, 7 Jan 2006 14:02:26 +0000 (14:02 +0000)]
Fix some memory leaks caused by obscure syntax errors in SQL. (CVS 2882)
FossilOrigin-Name:
6593199a4d0d0e1f9cc2f48d30327b1c03a8170e
danielk1977 [Sat, 7 Jan 2006 13:21:04 +0000 (13:21 +0000)]
In shared-cache mode, lock all required tables before beginning to execute the body of the statement program. (CVS 2881)
FossilOrigin-Name:
23b587b05b89727248805e6d9e5141e018cf2152
drh [Sat, 7 Jan 2006 04:06:54 +0000 (04:06 +0000)]
Drop the mutex if the TSD key allocation fails. Ticket #1585. (CVS 2880)
FossilOrigin-Name:
77ac231c0e21c09c0b612a4e72bcc863f2c95fd3
drh [Fri, 6 Jan 2006 22:11:20 +0000 (22:11 +0000)]
Fix bugs in test scripts that came of of sse testing. (CVS 2879)
FossilOrigin-Name:
22bf1a2ffac503020dfa78d228b561d1cf6f3894
drh [Fri, 6 Jan 2006 21:52:49 +0000 (21:52 +0000)]
Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878)
FossilOrigin-Name:
9d71b7deaffdd7eb9ddad1f03df3e4c51c2cbd98
drh [Fri, 6 Jan 2006 21:09:01 +0000 (21:09 +0000)]
Additional changes for wince. (CVS 2877)
FossilOrigin-Name:
b10343d9163263f97efb1bbc61af8307a2cfe8a4
drh [Fri, 6 Jan 2006 20:40:28 +0000 (20:40 +0000)]
More changes to support wince. (CVS 2876)
FossilOrigin-Name:
f3cbd995c845dc19596678d05844e0691b63da54
drh [Fri, 6 Jan 2006 20:22:29 +0000 (20:22 +0000)]
Additional efforts to get it to build on WinCE. (CVS 2875)
FossilOrigin-Name:
b45c076f0d5f7c863287ccb5703c492e1010a99d
drh [Fri, 6 Jan 2006 16:17:05 +0000 (16:17 +0000)]
A first attempt at adding native support for WinCE. (CVS 2874)
FossilOrigin-Name:
434405678778e7ce6e0bdec02fa7049a1ca68d27
danielk1977 [Fri, 6 Jan 2006 15:03:48 +0000 (15:03 +0000)]
Fix a crash caused by adding a trigger to a shared-schema and then deleting it
using a different connection. (CVS 2873)
FossilOrigin-Name:
19f93e135f1ff4f987d14afe74b955e119904017
drh [Fri, 6 Jan 2006 14:46:46 +0000 (14:46 +0000)]
Fix an alignment problem in the sqlite3OsRandomSeed(). Ticket #1584. (CVS 2872)
FossilOrigin-Name:
373b56f0048fd6a1946a97acfcca40fd12f7d572
drh [Fri, 6 Jan 2006 14:41:54 +0000 (14:41 +0000)]
Remove vestigial file: crashtest1.c (CVS 2871)
FossilOrigin-Name:
6676c7031d81202ad702142ecf9e64f14d94d968
drh [Fri, 6 Jan 2006 14:32:19 +0000 (14:32 +0000)]
Change the OS interface layer to use traditional direct function call
implementations instead of the more complicated virtual function table.
Omit the asynchronous I/O demo. (CVS 2870)
FossilOrigin-Name:
2529c2e11fa1d345ec61f647e4f6fae20a7133d6
danielk1977 [Fri, 6 Jan 2006 13:00:28 +0000 (13:00 +0000)]
Add some simple tests and fixes for shared-schema locking. (CVS 2869)
FossilOrigin-Name:
d054bed15aee3edef93cc84c83be443cdd489946
drh [Fri, 6 Jan 2006 12:03:19 +0000 (12:03 +0000)]
Back out the addition of the new header file - bad idea. (CVS 2868)
FossilOrigin-Name:
0c4c45c36fe1c3c2980155ef5126a2ad53100d65
danielk1977 [Fri, 6 Jan 2006 06:33:12 +0000 (06:33 +0000)]
Fix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867)
FossilOrigin-Name:
752a2754879becc32da9f9b910f3330f8c7145e4
drh [Fri, 6 Jan 2006 03:29:56 +0000 (03:29 +0000)]
Enable async testing. Modify the OS layer interface. Add the sqlite3_aux.h include file. Add tests for boolean value representation in file format 4. (CVS 2866)
FossilOrigin-Name:
b8332aa8b83142898779972b3dff13cbe3c78623
drh [Fri, 6 Jan 2006 01:42:58 +0000 (01:42 +0000)]
Formatting changes in btree.c. (CVS 2865)
FossilOrigin-Name:
f1922da2d20c5091678e47cc4f43a2a9d141a3b1
drh [Fri, 6 Jan 2006 00:36:00 +0000 (00:36 +0000)]
Windows implementation of the thread-specific data interface. (CVS 2864)
FossilOrigin-Name:
3aa8befedf4534cd100a7309997a4ad2ba08af20
drh [Thu, 5 Jan 2006 23:42:50 +0000 (23:42 +0000)]
Disable the update hook for the truncation optimization used by DELETE. (CVS 2863)
FossilOrigin-Name:
448b3b9dede724749df0004ca39c649951f1f2ca
drh [Thu, 5 Jan 2006 15:50:06 +0000 (15:50 +0000)]
Move TCL interface for sqlite3_release_memory() and sqlite3_soft_heap_limit()
out of tclsqlite.c and into test1.c. Update the TCL interface documention
to describe the "exists" method. (CVS 2862)
FossilOrigin-Name:
98194a45cc60cb9942847f773bc797fb5463bd10
danielk1977 [Thu, 5 Jan 2006 14:22:33 +0000 (14:22 +0000)]
Fix for ticket #1582 (Double delete of invalid LIMIT clause Expr* applied to a UNION ALL query). (CVS 2861)
FossilOrigin-Name:
5dec3a392ba3c249bbca899c12e99c26cc1b8cdb
danielk1977 [Thu, 5 Jan 2006 13:48:29 +0000 (13:48 +0000)]
Disable automatic invocation of sqlite3_release_memory() when a malloc() fails
in those cases where the global mutex is held. (CVS 2860)
FossilOrigin-Name:
6fdbb8b771e490f0d791326689245302c4fe18f5
danielk1977 [Thu, 5 Jan 2006 11:34:32 +0000 (11:34 +0000)]
Add the shared schema/pager modifications. Very few tests so far. (CVS 2859)
FossilOrigin-Name:
deeda0dc06c1595aedd8d06a0c4e88a8abf78cf7
drh [Wed, 4 Jan 2006 21:40:06 +0000 (21:40 +0000)]
Bug fix in the IF NOT EXISTS logic. (CVS 2858)
FossilOrigin-Name:
cb9095ac52e76926f274678ef55ebb9df4b9fcac
drh [Wed, 4 Jan 2006 18:13:26 +0000 (18:13 +0000)]
Bug fix in the new "exists" method of the TCL interface. (CVS 2857)
FossilOrigin-Name:
d0e3d466094f7b2f74ed7ebb324e5024ea8faa6f
drh [Wed, 4 Jan 2006 15:58:28 +0000 (15:58 +0000)]
Update document for CREATE INDEX IF NOT EXISTS and DROP INDEX IF EXISTS (CVS 2856)
FossilOrigin-Name:
963ba8b8f3b7b3a8bcd36b224e283cf3b86d4b1d
drh [Wed, 4 Jan 2006 15:54:36 +0000 (15:54 +0000)]
Add support for CREATE INDEX IF NOT EXISTS and DROP INDEX IF EXISTS. (CVS 2855)
FossilOrigin-Name:
551cdd6c309e75687abaeac5381b794cd5e4c10a
drh [Tue, 3 Jan 2006 15:16:26 +0000 (15:16 +0000)]
Always case 0 to (char*) on varargs functions. Otherwise there are problems
on 64-bit machines. (CVS 2854)
FossilOrigin-Name:
837dc77ff9f5271b7e1bb8602fc021670c7802d1
danielk1977 [Tue, 3 Jan 2006 13:39:25 +0000 (13:39 +0000)]
Add test files for the asynchronous IO concept. (CVS 2853)
FossilOrigin-Name:
7c3492c8404c39c808af4429b4fcdb7413539ab3
drh [Tue, 3 Jan 2006 00:33:50 +0000 (00:33 +0000)]
The sqlite TCL command no longer returns the hex address of the sqlite3*
structure. Instead there is a new command in testfixture to find that
information. (CVS 2852)
FossilOrigin-Name:
70b228575e045bc56013aab945334203ceb31d8b
drh [Mon, 2 Jan 2006 20:00:12 +0000 (20:00 +0000)]
Add the xInMutex method to the os-layer switch for testing whether or not
mutexes are used correctly. (CVS 2851)
FossilOrigin-Name:
a582b159595ff8d31c81e9b3044711d6590d3f0e
drh [Mon, 2 Jan 2006 18:24:40 +0000 (18:24 +0000)]
Additional tests for descending indices. Comment changes. (CVS 2850)
FossilOrigin-Name:
2622c5242b0cba5bc19f190a7c209ab9ed8f57e0
danielk1977 [Fri, 30 Dec 2005 16:31:53 +0000 (16:31 +0000)]
Repair typo in previous commit. (CVS 2849)
FossilOrigin-Name:
a4aa0911bccd0627cd6d926c5bdd2a4f4b8f6cc5
danielk1977 [Fri, 30 Dec 2005 16:28:01 +0000 (16:28 +0000)]
Add part of the btree layer of the shared-cache feature. (CVS 2848)
FossilOrigin-Name:
2afcad990190af97d1ad0010f211a5ca8f0fd745
drh [Thu, 29 Dec 2005 23:33:54 +0000 (23:33 +0000)]
Add support for CREATE TABLE IF NOT EXISTS. (CVS 2847)
FossilOrigin-Name:
0bd9e35fd22946640f4fb1c1874922ae096916f7
drh [Thu, 29 Dec 2005 23:04:01 +0000 (23:04 +0000)]
Bug fix in codec processing. (CVS 2846)
FossilOrigin-Name:
a88580bce045ee1c11cc6fd986ee7bab043ded4f
drh [Thu, 29 Dec 2005 19:23:06 +0000 (19:23 +0000)]
Add serial-types 8 and 9 for integer constants of 0 and 1 that use zero
bytes of storage. Make the default file format 4. Add the
SQLITE_DEFAULT_FILE_FORMAT compile-time option to lower the default
file format number so that newly created databases can be read and
written by older versions of SQLite. (CVS 2845)
FossilOrigin-Name:
ae301db8a61a74bc72f67f5766811d89a3b3ec72
drh [Thu, 29 Dec 2005 12:53:09 +0000 (12:53 +0000)]
Fix for ticket #1575. (CVS 2844)
FossilOrigin-Name:
1586921b54da5ba3bea80e8e656a11d32996ab3a
drh [Thu, 29 Dec 2005 01:11:36 +0000 (01:11 +0000)]
Add support for DROP TABLE IF EXISTS. (CVS 2843)
FossilOrigin-Name:
a4c547de83d8b27f06a58f9e530a7c983ec1dc3a
drh [Thu, 22 Dec 2005 13:47:49 +0000 (13:47 +0000)]
Make genericAllocationSize work on NULL pointers. (CVS 2842)
FossilOrigin-Name:
326fc9cc11c86f2d96763537d60757200ce21a84
drh [Wed, 21 Dec 2005 18:36:45 +0000 (18:36 +0000)]
Bug fixes and additional testing of descending indices. (CVS 2841)
FossilOrigin-Name:
5638a11ed5618dd833d3daffc1715951091d72b2
drh [Wed, 21 Dec 2005 14:43:11 +0000 (14:43 +0000)]
Basic functionality for descending indices is in place. Lots more testing
needed. (CVS 2840)
FossilOrigin-Name:
7064433e5b06a4f858f39ce57650fba99fd72ffd
drh [Wed, 21 Dec 2005 03:16:42 +0000 (03:16 +0000)]
Progress toward decending indices. (CVS 2839)
FossilOrigin-Name:
112a34b8dcceb39540cb0cd629e264a867400bfb
danielk1977 [Tue, 20 Dec 2005 14:37:59 +0000 (14:37 +0000)]
Include sqlite3_release_memory() code when SQLITE_MEMDEBUG is not defined. (CVS 2838)
FossilOrigin-Name:
77a37ceca7792e6cda6810e3387e6dda14a5c7ec
danielk1977 [Tue, 20 Dec 2005 09:19:37 +0000 (09:19 +0000)]
Add simple tests and fixes for sqlite3_soft_heap_limit() (CVS 2837)
FossilOrigin-Name:
c2c5285442f4558dfca61b52f31b5a9cbefaed10
drh [Mon, 19 Dec 2005 17:53:35 +0000 (17:53 +0000)]
Website changes in preparation for the release of 2.8.17. (CVS 2834)
FossilOrigin-Name:
a927696ba30da39cb94ba666a10b7311d46826c9
drh [Mon, 19 Dec 2005 17:26:46 +0000 (17:26 +0000)]
Website changes for the release of 3.2.8. (CVS 2831)
FossilOrigin-Name:
2f7ec117ded31f2c13f2e3ab9dd4e9a483434601
drh [Mon, 19 Dec 2005 16:15:31 +0000 (16:15 +0000)]
Tentative fix for ticket #1567: disable the sqlite3pager_dont_write()
optimization when a statement transaction is active. We continue to look
for a better fix. (CVS 2827)
FossilOrigin-Name:
e6106cc133e5210bfa248d811122e9bf7d6f2b7c
danielk1977 [Mon, 19 Dec 2005 14:18:11 +0000 (14:18 +0000)]
Add some very simple test cases (and resulting bug fixes) for release_memory(). (CVS 2826)
FossilOrigin-Name:
154282fca54bf03d310d6931660f99805bb5477f
danielk1977 [Sun, 18 Dec 2005 08:51:22 +0000 (08:51 +0000)]
Add the (untested) sqlite3_release_memory() function. (CVS 2825)
FossilOrigin-Name:
345addaa03d3bfa3429a59597fbd3addcff62e30
danielk1977 [Fri, 16 Dec 2005 15:24:28 +0000 (15:24 +0000)]
Verify that the rollback-hook is invoked correctly when a malloc() failure occurs. (CVS 2824)
FossilOrigin-Name:
83c8ae5bee3b6bdb556d2e85fa260ba855742601
danielk1977 [Fri, 16 Dec 2005 06:54:01 +0000 (06:54 +0000)]
Add the sqlite3_rollback_hook() API. Still requires further testing. (CVS 2823)
FossilOrigin-Name:
3baa3ff32435b64e7ae7646b17a98fef9296aaa0
drh [Fri, 16 Dec 2005 01:06:16 +0000 (01:06 +0000)]
Initial infrastructure for recognizing DESC indices and being able to read
and write older databases that specify DESC indices but do not really use
them. Nothing is close to working yet. (CVS 2822)
FossilOrigin-Name:
cd110aa225b09591064405dd8952b3df37278c52
drh [Thu, 15 Dec 2005 22:34:00 +0000 (22:34 +0000)]
Fix the utf8 to utf16 conversion routine for short strings. Bug
introduced by check-in (2817). (CVS 2821)
FossilOrigin-Name:
4fba2db38e0693be52ca7251e4958bd836607f05
danielk1977 [Thu, 15 Dec 2005 15:22:08 +0000 (15:22 +0000)]
Add the sqlite3_update_hook() API. (CVS 2820)
FossilOrigin-Name:
36229018817eebfbfca7a66d2285e4faf7b39845
danielk1977 [Thu, 15 Dec 2005 10:50:53 +0000 (10:50 +0000)]
Move malloc(), free(), realloc() and allocationSize() into the Os vtbl. (CVS 2819)
FossilOrigin-Name:
81a41f66370ea7f6810dfb323ba5cea60f240edd
danielk1977 [Thu, 15 Dec 2005 10:11:30 +0000 (10:11 +0000)]
Add the sqlite3_os_routine_set()/get() functions. (CVS 2818)
FossilOrigin-Name:
c1ed79f594fb85009c2e9e5e281cbe66a9d2fa17
drh [Thu, 15 Dec 2005 03:04:10 +0000 (03:04 +0000)]
Fix memory allocation problems on the utf-16 versions of collating function
control routines. (CVS 2817)
FossilOrigin-Name:
ad292e27336b8c5afc0acdf111944a456bd23c32
drh [Wed, 14 Dec 2005 22:51:16 +0000 (22:51 +0000)]
Avoid using the transient value in the UTF-16 collation needed callback. (CVS 2816)
FossilOrigin-Name:
ab6241af29b2e9f5f094b83c13afebe44a8ad6bc
drh [Wed, 14 Dec 2005 20:11:30 +0000 (20:11 +0000)]
Properly zero-terminate UTF-16 collation names on an
sqlite3_collation_needed16 callback. (CVS 2815)
FossilOrigin-Name:
71a49d05bf174025c0d9141b8905c48f43e42541
danielk1977 [Mon, 12 Dec 2005 06:53:03 +0000 (06:53 +0000)]
Fix minor malloc() related problems and add sqlite3_soft_heap_limit() stubs. (CVS 2814)
FossilOrigin-Name:
1637f3796015d1582ed8c6bc8bdf8c067b4bade9
drh [Sat, 10 Dec 2005 21:19:04 +0000 (21:19 +0000)]
Add the "exists" method to the TCL interface. (CVS 2813)
FossilOrigin-Name:
8a355d7aade5c7a95ab08aeedf1ee1857c121c33
drh [Fri, 9 Dec 2005 20:54:34 +0000 (20:54 +0000)]
New bind tests (check-ins (2797) and (2798)) only work right on a UTF8
database. So make sure they are only run when the database is UTF8. (CVS 2812)
FossilOrigin-Name:
398037906956f0274ca35cbff6961f6df5149295
drh [Fri, 9 Dec 2005 20:21:58 +0000 (20:21 +0000)]
More annoying and pointless signedness warnings fixed. (CVS 2811)
FossilOrigin-Name:
590578bef88d0aa545f8138e8eec0db03c093861
drh [Fri, 9 Dec 2005 20:02:05 +0000 (20:02 +0000)]
Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810)
FossilOrigin-Name:
83a59151559d9496d4f546e03e65087ea974717d
danielk1977 [Fri, 9 Dec 2005 14:39:04 +0000 (14:39 +0000)]
Define the sqliteMalloc() macro differently to avoid a compiler warning. (CVS 2809)
FossilOrigin-Name:
3d177bde71811391f79f4ab3bae054ef1bceb6a0
danielk1977 [Fri, 9 Dec 2005 14:25:08 +0000 (14:25 +0000)]
Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808)
FossilOrigin-Name:
601c335463aaabc2e9918e4b9298cff6161be5c4
drh [Fri, 9 Dec 2005 02:35:53 +0000 (02:35 +0000)]
Add more stress testing to autovacuum in an (unsuccessful) attempt to
reproduce a reported problem. Even though these tests did not uncover
anything amiss, extra tests never hurt... (CVS 2807)
FossilOrigin-Name:
d8a8933ff30b83c0483be214403d92c4dfa9a4af
drh [Thu, 8 Dec 2005 18:12:56 +0000 (18:12 +0000)]
Provide a pragma to set the codec key. (CVS 2806)
FossilOrigin-Name:
a7c9e8989c752f6b1148e7cc7bf59bbd8b402e87
danielk1977 [Wed, 7 Dec 2005 06:27:43 +0000 (06:27 +0000)]
Add some tests for malloc() failure within the column_name() and column_decl() APIs. (CVS 2805)
FossilOrigin-Name:
78f10ca0a6a02e9e8e6811489841a19e213f3afb
danielk1977 [Tue, 6 Dec 2005 17:48:31 +0000 (17:48 +0000)]
Allow VACUUM to detach the auxillary database after malloc() fails. (CVS 2804)
FossilOrigin-Name:
6824a78bc7b8582fc5c3a6ab05dd3ed996fc99b3
danielk1977 [Tue, 6 Dec 2005 17:19:11 +0000 (17:19 +0000)]
Modify ATTACH and DETACH to execute at runtime instead of compile time. (CVS 2803)
FossilOrigin-Name:
5e04ec694add7a8331e3d6fbdfcaed51349ae7bc
drh [Tue, 6 Dec 2005 13:19:07 +0000 (13:19 +0000)]
Report errors out of sqlite3_open16(). (CVS 2802)
FossilOrigin-Name:
f5b58163d4520fa3e7137e8445a8ef19aae3e799
danielk1977 [Tue, 6 Dec 2005 12:57:58 +0000 (12:57 +0000)]
Add test file for new malloc() failure handling. (CVS 2801)
FossilOrigin-Name:
0b82f9623cf25b1cb02f70628c992903a6e8ca1c
danielk1977 [Tue, 6 Dec 2005 12:52:59 +0000 (12:52 +0000)]
Some elements of the new malloc() failure handling. Not all cases work properly yet. Also, library is not threadsafe if malloc() fails right now. (CVS 2800)
FossilOrigin-Name:
e1606658f1b4530e3001db4779b5669c8d13c853
drh [Mon, 5 Dec 2005 22:22:40 +0000 (22:22 +0000)]
Update mailing list hyperlink on the support page. (CVS 2799)
FossilOrigin-Name:
41a7aeeeb427d59e3d7cc71c94a8c5be832bd0fa
drh [Mon, 5 Dec 2005 13:20:01 +0000 (13:20 +0000)]
Make sure sqlite3_result_text can handle text strings with embedded '\000'
characters. (CVS 2798)
FossilOrigin-Name:
9d6057cd141e7cdaf32ce68dea39e67c2c67a08d
drh [Fri, 2 Dec 2005 02:44:05 +0000 (02:44 +0000)]
Add a test to verify that binding text with embedded '\000' works. Also
comment changes in os.h. (CVS 2797)
FossilOrigin-Name:
31251a9098662ccf08af5bd5bc3afb282a149701
drh [Fri, 2 Dec 2005 01:57:42 +0000 (01:57 +0000)]
Documentation updates. (CVS 2796)
FossilOrigin-Name:
2ffb90c39d0b60de9a692326ca3f2595c1fc97d0
drh [Wed, 30 Nov 2005 03:20:31 +0000 (03:20 +0000)]
Restructure the OS interface yet again. This time make the OsFile object
a virtual base class which is subclassed for unix, windows, and the crash
test simulator. Add the new file "os.c" for common os layer code. Move
all OS-specific routines into the sqlite3Os structure. (CVS 2795)
FossilOrigin-Name:
bd8740d1aecba69e1b5d64d43db07e8ad8841f07
drh [Tue, 29 Nov 2005 19:56:32 +0000 (19:56 +0000)]
The crash test works now, at least on unix. Untested on windows. But it never
worked on windows before so if it still does not there is no big loss. I am
still troubled by the current design of the OS overloading mechanism. Expect
to see more changes. (CVS 2794)
FossilOrigin-Name:
fa1d7ecfcc648fbe9fc6d92e080cf937bdc9c439
drh [Tue, 29 Nov 2005 19:50:24 +0000 (19:50 +0000)]
Make the build work on windows again. Ticket #1544. (CVS 2793)
FossilOrigin-Name:
59bdca2552b2e5c09d5ca2b7a02ee34460139d7b
drh [Tue, 29 Nov 2005 18:37:15 +0000 (18:37 +0000)]
The crash tests now compile, at least. But they get wrong results. The
problem is fundamental and suggests I need to completely rethink how the
new OS backend should work. (CVS 2792)
FossilOrigin-Name:
966bc68e1bf4e0cc88407871c162ee3014160415
drh [Tue, 29 Nov 2005 03:13:21 +0000 (03:13 +0000)]
Make the OsFile structure opaque with its internal structure known only to
the appropriate os_*.c implementation. Omit the os_unix.h and os_win.h
include files. The crash tests are broken by this patch. (CVS 2791)
FossilOrigin-Name:
058f31753871b16b40fe4048e3adcee411e0f87d
drh [Mon, 28 Nov 2005 12:36:35 +0000 (12:36 +0000)]
Replace a call to sprintf() with sqlite3MPrintf() since on some embedded
platforms, sprintf() is busted. Need to go through and do similar replacements
elsewhere in the code. (CVS 2790)
FossilOrigin-Name:
1b4f2d89bbe833359cefcea580783fd92aa7b8ab
drh [Sat, 26 Nov 2005 14:24:40 +0000 (14:24 +0000)]
Disable the OR-clause optimization if it does not result in an index being
used that would not have been used otherwise. In other words, do not
convert OR clauses into an IN statement if it does not help the optimizer. (CVS 2789)
FossilOrigin-Name:
7e7cfce0f8ed2a6e04747736a2c68484f447cdfb
drh [Sat, 26 Nov 2005 14:08:07 +0000 (14:08 +0000)]
Make sure left joins still work even when the OR clause optimization fires.
Ticket #1537. (CVS 2788)
FossilOrigin-Name:
cbbeb9de0019a0b81318158711590078fcb7e98a
drh [Sat, 26 Nov 2005 03:51:18 +0000 (03:51 +0000)]
Remove some vestiges of the old OS_TEST driver. (CVS 2787)
FossilOrigin-Name:
008f676f20c690255e5cb8ae01df47c5094ac240
drh [Sat, 26 Nov 2005 03:43:23 +0000 (03:43 +0000)]
Add an OS method for making copies of file descriptors. This fixes the
crash tests. (CVS 2786)
FossilOrigin-Name:
57a674fc71512f11393b8eb595961ec9465ba4e1
drh [Sat, 26 Nov 2005 00:25:00 +0000 (00:25 +0000)]
Modify the OS layer so that I/O routines are called through a virtual function
table. The os_test.c module has been replaced by test6.c. The crash tests
are busted now and need to be fixed. (CVS 2785)
FossilOrigin-Name:
1f69aec285dd8e26bd739d5e44bb50fe03a9682a
danielk1977 [Fri, 25 Nov 2005 10:55:57 +0000 (10:55 +0000)]
Ensure a low system limit on the number of open files does not cause manydb.test to fail. (CVS 2784)
FossilOrigin-Name:
dba2cc0d0e0c648c1a4798bc72913e3b19acba6e
danielk1977 [Fri, 25 Nov 2005 10:38:22 +0000 (10:38 +0000)]
Add the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2783)
FossilOrigin-Name:
f9f5ecbb79f03ba8e7d6a036a562252319e82abc
danielk1977 [Fri, 25 Nov 2005 10:38:22 +0000 (10:38 +0000)]
Add the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2782)
FossilOrigin-Name:
f1298bb103aad46c737741d89d33c4c2904aec68
danielk1977 [Fri, 25 Nov 2005 09:01:23 +0000 (09:01 +0000)]
If SQLITE_DISABLE_LFS is defined, omit the bigfile tests. (CVS 2781)
FossilOrigin-Name:
f882a516da18f45dbb668078d0d8240d930e1180
danielk1977 [Fri, 25 Nov 2005 08:47:57 +0000 (08:47 +0000)]
Check the return code of full_fsync() when used to sync a directory fd. (CVS 2780)
FossilOrigin-Name:
84aae3b0ae7381710ff0bc9881cbde3559bb580b
drh [Fri, 25 Nov 2005 02:43:50 +0000 (02:43 +0000)]
Preserve 64-bit last insert rowids across triggers. (CVS 2779)
FossilOrigin-Name:
4dd7cfaa587fd5f76a0b60db0f02d5f57f801564
drh [Thu, 24 Nov 2005 23:14:00 +0000 (23:14 +0000)]
The --enable-cross-thread-connect configuration option or the
-DSQLITE_ALLOW_XTHREAD_CONNECT compile-time option permits database
connections to be moved across threads. This will cause latch-ups
and failures on some linux systems such as RedHat-9. Do not use these
options if you want a portable build. (CVS 2778)
FossilOrigin-Name:
84aa4d58001ed943295f21f429c58c3c99b771d8