Commit Graph

3085 Commits

Author SHA1 Message Date
danielk1977 7f7bc66ef2 Do not automatically rollback at the btree or pager level if a commit fails. (CVS 2999)
FossilOrigin-Name: 0f6329ef1fe0d5b225b6381fda1e8d800f65ea0f
2006-01-23 13:47:47 +00:00
drh c93cc42df8 Fix to sqlite3AllocMalloc() when it is a no-op macro. (CVS 2998)
FossilOrigin-Name: 8caa9f95b8a36e34510cf46d518bd63bd8fa0a32
2006-01-23 13:28:53 +00:00
drh b52076cd7a Do not name variables "operator" because some compilers do not realize that
"operator" is not a reserved word in ANSI-C.  Ticket #1625. (CVS 2997)

FossilOrigin-Name: 1f42a338e2ee90f4c24a9eb19054c4b831dd661f
2006-01-23 13:22:09 +00:00
drh 158ff67b50 Work around buggy malloc() implementations that cause problems on malloc(0).
Ticket #1572. (CVS 2996)

FossilOrigin-Name: ada5490f12795a8d13d0f42077c463709c677846
2006-01-23 13:14:55 +00:00
danielk1977 75bab7d64e Improve coverage of pager.c and fix an IO error handling bug found in the process. (CVS 2995)
FossilOrigin-Name: 6ec8e6b7856a0b394b8497ab9166b882f98124ba
2006-01-23 13:09:45 +00:00
drh d116739351 Fix additional compiler warnings. Tickets #1615, #1616, #1627 (CVS 2994)
FossilOrigin-Name: 6385628edd79187dff1687815d0101c31248e54f
2006-01-23 13:00:35 +00:00
danielk1977 a1686c9a3b Fixes for OMIT_UTF16 and OMIT_COMPOUND (CVS 2993)
FossilOrigin-Name: f58bbdc0ac6e618686c598aaafb3a41b972e078e
2006-01-23 07:52:37 +00:00
danielk1977 4b202ae2a5 Improve coverage of expr.c and btree.c slightly. (CVS 2992)
FossilOrigin-Name: cc2e8e87cfd474b4dc6833ee0c38e2cd2dd3a494
2006-01-23 05:50:58 +00:00
drh 6dc1d95dd8 Remove vestiges of the older TSD code for handling OOM exceptions.
Prepare for the release of 3.3.2. (CVS 2991)

FossilOrigin-Name: a65e85f0e01f3bca5f4e78999c10db3916824b5b
2006-01-23 00:04:54 +00:00
drh 504b69898b Performance optimization in btree.c. (CVS 2990)
FossilOrigin-Name: 3e1e6affe256a950a81ad5939b628bafb8463b42
2006-01-22 21:52:56 +00:00
drh eda639e111 Code size reductions in select.c. (CVS 2989)
FossilOrigin-Name: 3c2eee5e1f6c7d701a6d362a04cf896d44e97fd9
2006-01-22 00:42:09 +00:00
drh fe61378a22 Tests for the subquery flattening fix of check-in (2987). (CVS 2988)
FossilOrigin-Name: 72a067f0df5818c0fdb3b9f8af20f83bb2e1dd34
2006-01-22 00:14:39 +00:00
drh ac83963afa Do not flatten subqueries in a join where the subquery includes a LIMIT.
Ticket #1634.  This is just an initial fix.  Many test cases need to be
added prior to closing the ticket. (CVS 2987)

FossilOrigin-Name: af18c0f431a1a6349e40249009f2ac222f8c8114
2006-01-21 22:19:54 +00:00
drh bcdb66166e Fix a bug in os.h. How did this slip by before now? (CVS 2986)
FossilOrigin-Name: 29725de474f9aec81cea0041d9ac2df932258d01
2006-01-21 19:57:50 +00:00
danielk1977 c4da5b9f2c Fix more problems with malloc() and IO failures. (CVS 2985)
FossilOrigin-Name: 29281dea81c909b70b2d914d7061a6df8f388195
2006-01-21 12:08:54 +00:00
drh 02afc86171 More compiler warnings fixed - or in some cases comments are added to explain
that the compiler is wrong. (CVS 2984)

FossilOrigin-Name: 507653a98cbd096f836a977408e373640c7cdb8f
2006-01-20 18:10:57 +00:00
drh 24bd82c396 Fix some compiler warnings. (CVS 2983)
FossilOrigin-Name: b7bdac0afd99b8dc03749877f675a5f782120295
2006-01-20 17:56:32 +00:00
danielk1977 97a227c996 Fix another couple of IO or malloc() failure problems in a shared-cache context. (CVS 2982)
FossilOrigin-Name: 7e34163a65a5842ecc50a14a9d60601e7c9d3249
2006-01-20 16:32:04 +00:00
drh 90669c1dca Fix and test the processing of sqlite3_result_error() withing aggregate
functions.  Allow errors to come from the step function (a new
capability).  Ticket #1632. (CVS 2981)

FossilOrigin-Name: fd4a6bb1ac94d085dda247799c0a5c64aaeec046
2006-01-20 15:45:36 +00:00
danielk1977 07cb560b23 Handle some of the IO error conditions that may occur in a shared-cache context. (CVS 2980)
FossilOrigin-Name: 97491d4eb5fc24d8f5cc7605db844359ecc6a818
2006-01-20 10:55:05 +00:00
drh f98477b846 Make sure sqlite3_thread_cleanup() does not try to allocate memory. (CVS 2979)
FossilOrigin-Name: 0208e4221a2d90b5ae0755061c345d3351a30da8
2006-01-19 17:42:50 +00:00
drh dab97c1c8f Fix the #ifdef around sqlite3OutstandingMallocs() in test1.c. (CVS 2978)
FossilOrigin-Name: 218c6184c8edec22f9b56b3c9446d27fda9c1e00
2006-01-19 11:28:06 +00:00
danielk1977 ed4293119a Account for read-uncommitted cursors in sqlite3BtreeClearTable(). (CVS 2977)
FossilOrigin-Name: 950798326860de40926e82e10134f09e6ea86245
2006-01-19 08:43:31 +00:00
danielk1977 191c3e7db0 Fix a bug with internally saving cursors open on index tables. Also increase coverage of util.c and btree.c. (CVS 2976)
FossilOrigin-Name: a628d84d3185fb7742cc929e758bfd59c811ca0b
2006-01-19 07:18:14 +00:00
danielk1977 e7823cb591 Omit thread2.test if memory-management is enabled at compile time. (CVS 2975)
FossilOrigin-Name: df91f685cacbcb3e048eaa03260b33bbcfcb321c
2006-01-18 18:33:42 +00:00
danielk1977 76e8d1a292 Include the ThreadData structure in internal malloc() testing. Also fixes for revealed bugs. (CVS 2974)
FossilOrigin-Name: c7b9d50d0a975912776aaa2b870308652f77e1e6
2006-01-18 18:22:43 +00:00
drh 757b04ed36 Modify the sqlite3OsInMutex os-layer interface to take a single parameter
to distinguish between mutexes held by the current thread and mutexes held
by any thread.  Part of the fix for ticket #1630. (CVS 2973)

FossilOrigin-Name: e1ad9df1cf46287f2a7789275e98d28e05880e17
2006-01-18 17:25:45 +00:00
danielk1977 9e12800dec Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972)
FossilOrigin-Name: ac090f2ab3b5a792c2fdf897e10060f263e0d408
2006-01-18 16:51:35 +00:00
danielk1977 1de57847f8 Fix compilation error when neither MEMDEBUG or ENABLE_MEMORY_MANAGEMENT is enabled. (CVS 2971)
FossilOrigin-Name: 4de5c52920c94e2a29ef4b68eb8b990c63005b3d
2006-01-18 15:39:26 +00:00
danielk1977 54f0198e47 Change sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970)
FossilOrigin-Name: e0b022e5b2bfd272b4e25cd7a7b472206a118bbe
2006-01-18 15:25:17 +00:00
drh 332b1feaf1 Recursive mutexes in os_win.c. (CVS 2969)
FossilOrigin-Name: dd3e07cae4d0cbd4f8977e1dd11e0103e0e45b75
2006-01-18 14:20:17 +00:00
drh a3fad6f5f3 Convert the unix driver to use a recusive mutex. Similar changes to the
windows driver are pending. (CVS 2968)

FossilOrigin-Name: 8830bbbac8e0c9243956aac42dc9f86a0bd1fa07
2006-01-18 14:06:37 +00:00
danielk1977 950f054cec Handle malloc() failures that occur in open16() and errmsg16(). (CVS 2967)
FossilOrigin-Name: 86eab9e53db8d7fecc789fe3d8cd8d7be3196fed
2006-01-18 05:51:57 +00:00
danielk1977 9a30cf653f Handle malloc() failures that occur inside create_collation() calls. (CVS 2966)
FossilOrigin-Name: 95c5903f368413019af83aa73263e0e9d1204b62
2006-01-18 04:26:07 +00:00
danielk1977 cbb8496c5e Arrange for ThreadData to be automatically deallocated even if SQLITE_MEMDEBUG is defined. Fix for #1623. (CVS 2965)
FossilOrigin-Name: 9e2e40845d30cc150abe23ee318a721b4fe9613c
2006-01-17 16:10:13 +00:00
danielk1977 08659fee65 Fix compilation errors when building SQLITE_DEBUG defined but without SQLITE_MEMDEBUG. (CVS 2964)
FossilOrigin-Name: 62dd2427784721436737a6e8e11fc05e10f0c44d
2006-01-17 15:36:32 +00:00
danielk1977 771151b67f Various fixes that allow the malloc() failure tests to pass again. (CVS 2963)
FossilOrigin-Name: 0505405fb9ae1068b7976718efbf2aabd07592d4
2006-01-17 13:21:40 +00:00
danielk1977 3bdca9c9a5 Test suite fixes for builds that define OMIT symbols. (CVS 2962)
FossilOrigin-Name: 3a54a33dcb7e765ee3773397407e8929a8cfe1a9
2006-01-17 09:35:01 +00:00
danielk1977 ff890793fc Test file fixes for libaries compiled with various SQLITE_OMIT_ macros. (CVS 2961)
FossilOrigin-Name: c058f483a52c8043178b6329aa5e58bedf0c8277
2006-01-16 16:24:25 +00:00
danielk1977 8212defca2 Fix problems compiling with memory-management enabled. Ticket #1619. (CVS 2960)
FossilOrigin-Name: 36b03259654ffa9b14ebe1093984b29e9efbd56c
2006-01-16 15:32:23 +00:00
danielk1977 bab45c647d Fix some of the issues raised in #1615. (CVS 2959)
FossilOrigin-Name: 0d5d83bcbd65dd7ae968909acfee075185e49c38
2006-01-16 15:14:27 +00:00
danielk1977 80c43bcba1 Correctly handle malloc() failure in GenericMalloc() and GenericRealloc(). Fix for #1617. (CVS 2958)
FossilOrigin-Name: 9dfc4a880b49869e945d6a19e63fcf6dc94412ad
2006-01-16 14:29:05 +00:00
danielk1977 a96a7103b2 Run the tests in shared.test a second time using an autovacuum database. (CVS 2957)
FossilOrigin-Name: 9927522923558348a846e033b92100c0ed4ee556
2006-01-16 12:46:41 +00:00
danielk1977 efaaf57974 Clarify error handling in pager code. No functional changes. (CVS 2956)
FossilOrigin-Name: 7b48836214ea3152f46e2dffb097ae7ea14901f4
2006-01-16 11:29:19 +00:00
drh 45bfcfd3fc Version 3.3.1 (alpha) (CVS 2953)
FossilOrigin-Name: bd7c5699939fda2bb792a0e2448df064a1171769
2006-01-16 02:39:05 +00:00
drh 799fa956fa Fix the script that cross-compiles the windows DLL so that it works
correctly with the latest interface.  Ticket #1614.  Do not strip
the windows DLL.  Ticket #1474. (CVS 2954)

FossilOrigin-Name: 6591d365d4ba1263c3bc48f5ab47633fae2b2a3a
2006-01-16 02:37:51 +00:00
drh 9c4315c288 Version 3.3.1 (withdrawn - see ticket #1614) (CVS 2955)
FossilOrigin-Name: ed0f1d9086de3ffa77c9864bf880e2930ef0f96f
2006-01-16 00:04:59 +00:00
drh 3b59a5cc5f Code size reductions in the pager. (CVS 2952)
FossilOrigin-Name: c7da3aa9bdf7b788424633015000955606e93f48
2006-01-15 20:28:28 +00:00
drh 78170b2e65 Prepare for the 3.3.1 alpha release. (CVS 2951)
FossilOrigin-Name: 3e32bcf0b8ee8d7a3f26ced8d5887561eeb3e7ab
2006-01-15 18:29:17 +00:00
drh f1a221e695 Clean up comments in os_unix.c. (CVS 2950)
FossilOrigin-Name: 2170e803ad48cffa6dddf8b591e0c085a7e66c86
2006-01-15 17:27:17 +00:00
danielk1977 819d7f4735 Correctly set the length of the string in bytes when transforming an OP_String8 to OP_String in a utf-16 vdbe program. (CVS 2949)
FossilOrigin-Name: 69f996e0fac1dc50b8c43d5fa132f79776843819
2006-01-15 14:11:48 +00:00
danielk1977 21691543a3 Fix a buffer-overrun that could occur after a malloc() failure. (CVS 2948)
FossilOrigin-Name: 662522218f967a8fb07427a9abd53334bb1400f7
2006-01-15 13:13:56 +00:00
danielk1977 b597f74af5 Rollback any open write-transaction when a shared-cache connection is closed. (CVS 2947)
FossilOrigin-Name: 1944d92b530d3bbcd31561063660de03d668af23
2006-01-15 11:39:18 +00:00
drh 3832230e25 Closing a file from the wrong thread is harmless on most systems.
(See ticket #1611)
But on systems like RedHat9 with broken fcntl() locks, it leaks file
descriptors.  That is better than the alternative of prematurely breaking
locks and causing database corruption.  Nevertheless, it would be good
if we could figure out a way to report errors when closing a file from
the wrong thread. (CVS 2946)

FossilOrigin-Name: ad8f12cad1fcd9c54478abe20050f9a953035506
2006-01-15 02:43:16 +00:00
drh 64b1bea3ba Add tests and fix bugs in the new cross-thread lock resolution code.
When an unlock fails, do not leak file descriptors (ticket #1611).
But we really ought to report SQLITE_MISUSE or some other error instead
of just returning SQLITE_OK. (CVS 2945)

FossilOrigin-Name: f68e05cb2be65fad43fac823b2a9c53b6d2e797d
2006-01-15 02:30:57 +00:00
drh 029b44bdd3 Documentation updates. Fix to date.c. But most importantly: database
connections are now allowed to change threads as long as they are not
holding a lock. (CVS 2944)

FossilOrigin-Name: 03c422ecb508dd84dfafc8b7a0b790a43f5dadda
2006-01-15 00:13:15 +00:00
danielk1977 1576cd9251 Fixes for OMIT_SUBQUERY builds: Disable where clause OR->IN optimization. Include EXISTS keyword (for new CREATE TABLE syntax). Test file fixes. (CVS 2943)
FossilOrigin-Name: 8e79a0c24a03ccf960d6ccfb7c6b9b0f7c614e9b
2006-01-14 08:02:28 +00:00
danielk1977 79f27df664 Account for multi-byte characters in ALTER TABLE code. Fix for #1609. (CVS 2942)
FossilOrigin-Name: d634f8b28abd7af4565c644bd7972b067caa0133
2006-01-13 18:06:40 +00:00
danielk1977 dedf45b260 Tweaks to make OP_Column run a fraction faster. (CVS 2941)
FossilOrigin-Name: 2d74cc22de2aa59329b1ea5c26acd6ebe46e16c2
2006-01-13 17:12:01 +00:00
danielk1977 9792eeff95 Avoid parsing an entire record header when it is not required. (CVS 2940)
FossilOrigin-Name: 0de729d9144afba144811799f65e32140c14ef8a
2006-01-13 15:58:43 +00:00
drh a3e4d96f5d Make sure the authenticator does not try to authenticate columns in
subqueries.   Ticket #1607. (CVS 2939)

FossilOrigin-Name: 55b7dfaf4d3a6d01fffdaf1707e88bcd215d7333
2006-01-13 13:55:44 +00:00
danielk1977 327bd59216 Fix a vdbe stack overflow problem that could occur with a correlated sub-query. (CVS 2938)
FossilOrigin-Name: caa7da807d6578f7d8848978a7d3175b6ea1743b
2006-01-13 13:01:19 +00:00
danielk1977 1fef7d5d3f Remove a few duplicate variable initializations in sqlite3BtreeCursor(). (CVS 2937)
FossilOrigin-Name: 5e46ec01ff3fe8654fc267efbb12d2d1b01c48aa
2006-01-13 11:22:07 +00:00
danielk1977 e725929686 Minor modification to restoreOrClearCursorPosition() to improve efficiency. Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936)
FossilOrigin-Name: dd705955429d847af85ffaf248976bcd1d861852
2006-01-13 06:33:23 +00:00
drh 777e4c43f2 Additional speed enhancements in btree.c. (CVS 2935)
FossilOrigin-Name: 48b550ce2ea43c7c1c59cd43d0008ba18fc0215b
2006-01-13 04:31:58 +00:00
drh 366fda6e60 Small performance improvement on sqlite3BtreeMoveto. (CVS 2934)
FossilOrigin-Name: c780152f3cff9c0a13d231935ae3c2e2d28b4460
2006-01-13 02:35:09 +00:00
drh d508e7f1a1 Add a high-speed version of sqlite3GetVarint32 to vdbe.c for a 3% performance
gain. (CVS 2933)

FossilOrigin-Name: a64e8251a606fb2c298d7d804f3964a9155c73c5
2006-01-13 01:48:59 +00:00
drh 83330ed8ce Add tests to make sure "PRAGMA table_info" works using sqlite3_prepare16.
Ticket #1606. (CVS 2932)

FossilOrigin-Name: ace8ba817766f9da270cd7f06b68cc537768a8be
2006-01-13 01:25:05 +00:00
drh 24b010fad1 Terminate the va_start in the getDigits function of date.c. (CVS 2931)
FossilOrigin-Name: 94eac140f2363c7c3df68fa6f46728abfbfee1e6
2006-01-13 01:17:21 +00:00
drh a97fdd3bfc Add support for the TOTAL() aggregate function - works like SUM() except
that it returns 0 instead of NULL when presented with an empty list. (CVS 2930)

FossilOrigin-Name: a7f528ff3446d50b280fb0b85063879e3ac5751a
2006-01-12 22:17:50 +00:00
drh 0e6082eb83 Performance boost in sqlite3VdbeRecordCompare. (CVS 2929)
FossilOrigin-Name: 14c423075bcebf42a3f4e24838bc865cfb90afda
2006-01-12 20:28:35 +00:00
drh f1f6c587eb Automatically cast BLOBs to strings prior to handing them over to
functions like LIKE that want strings.  Ticket #1605. (CVS 2928)

FossilOrigin-Name: 730ddb0b74ed23c916dabd7ce893bd6bc55f3549
2006-01-12 19:42:41 +00:00
drh 8079a0d3f5 Cache the encoding value inside VdbeExec. (CVS 2927)
FossilOrigin-Name: 6d2a816ede8d17b993a21e418cf25edd103334de
2006-01-12 17:20:50 +00:00
drh d172f86fe2 Additional performance improvements in sqlite3BtreeMoveto. (CVS 2926)
FossilOrigin-Name: 52b3be96b6e96994ec6fbcc67bf355cd05f61730
2006-01-12 15:01:15 +00:00
drh b562f0ba96 BtreeMoveto optimization goes about 1.5% faster. (CVS 2925)
FossilOrigin-Name: 4e4a650484a39cac43386d8488ff42a8a0cc2820
2006-01-12 14:30:19 +00:00
drh 4b494d65a7 About a 2.5% speed improvement by reducing the number of sqlite3ThreadData
calls in the parser. (CVS 2924)

FossilOrigin-Name: 0caa1994770142d6ca15284a26bad3879b07b15a
2006-01-12 12:43:36 +00:00
drh f06c59a3e5 Mark the end of the return codes in the sqlite3.h.in template file. (CVS 2923)
FossilOrigin-Name: 19b848d99f215914454422edc0ce72422de0774e
2006-01-12 02:50:09 +00:00
drh e321c29a7b Add the legacy_file_format pragma. (CVS 2922)
FossilOrigin-Name: b2dbd1a5b7f5a70049f25755f07b9c4c5116549b
2006-01-12 01:56:43 +00:00
drh 70ff98ab74 Improve performance by about 10% by avoiding excess calls to get
the thread-specific data. (CVS 2921)

FossilOrigin-Name: a8c74febec11eb689ca9f6b454f8c8bbadfc49d7
2006-01-12 01:25:18 +00:00
drh b4bc7057e5 Testing of the automatic TSD deallocation logic. The sqlite3_thread_cleanup()
API is documented.  This should close ticket #1601. (CVS 2920)

FossilOrigin-Name: fb518b0ce4ddd4aaca5cccf61e651f173e735119
2006-01-11 23:40:33 +00:00
drh 6f7adc8a80 Automatically deallocate thread-specific data when it is no longer
being used.  Ticket #1601.  Also implemented the suggestion of
ticket #1603. Memory management is now off by default at compile-time.
The sqlite3_enable_memory_management() API has been removed. (CVS 2919)

FossilOrigin-Name: 5d9c6aa964305c3f36741ff0058da5b5f3ce0d24
2006-01-11 21:41:20 +00:00
danielk1977 0203bde908 Ensure the database attached as part of VACUUM can be detached successfully after a malloc() failure. (CVS 2918)
FossilOrigin-Name: 8c26893c65574b0667bb84bde3ca49751079cc8d
2006-01-11 16:10:20 +00:00
danielk1977 b82e7edae9 Fix bugs caused by assuming that shared-schemas are initialized. (CVS 2917)
FossilOrigin-Name: 3970eb875d1830d35b3a70a7583a8ab6b238cad6
2006-01-11 14:09:31 +00:00
danielk1977 003437a0a7 Fix typo noted by #1599. (CVS 2916)
FossilOrigin-Name: 1b368c7c5ca7974e0975dc4e3c931680c9e8df1f
2006-01-11 05:49:50 +00:00
drh 08ec23324f Version 3.3.0 (alpha) (CVS 2915)
FossilOrigin-Name: 59a7a56c1bba84b5c60a2f3e25bf51d933075aaf
2006-01-11 01:28:30 +00:00
drh 1440fc0c58 Add new APIs to the sqlite3.def file. (CVS 2914)
FossilOrigin-Name: 9258931a80e0dac78b015e1e200d1291a6177320
2006-01-11 01:28:11 +00:00
drh 7a91dd8602 Prepare for the release of version 3.3.0. (CVS 2913)
FossilOrigin-Name: 302993ae16750c56fd1418531ba716cff53d2df0
2006-01-11 01:08:34 +00:00
drh 36d54c1ba5 Fix a typo in the FAQ. (CVS 2912)
FossilOrigin-Name: 5be03a361d9292ccdf311372be6add29ade4dd04
2006-01-10 23:00:41 +00:00
drh 02d9eca53f Fix bug in the server1 test script. (CVS 2911)
FossilOrigin-Name: 25db22b6711590214f4f953e6e3cf6be2d7451db
2006-01-10 20:36:39 +00:00
drh 97b5748487 Combine multiple small calls to sqlite3OsWrite into one larger call. (CVS 2910)
FossilOrigin-Name: e6e6750c24dc8b87be96bdc0e93254d7f0700543
2006-01-10 20:32:32 +00:00
drh fe0f75bb1f Improved comments on the server and asynchronous I/O demo programs. (CVS 2909)
FossilOrigin-Name: c0f47ccbc915f20d56f393383c21b4026785e6a5
2006-01-10 20:01:18 +00:00
drh ee32e0aa27 More pedantic changes to comments in VDBE. No changes to code. Ticket #1596. (CVS 2908)
FossilOrigin-Name: 1cf6855430352ffbf921a977186345d7272fe272
2006-01-10 19:45:49 +00:00
drh 3c899a60c4 Fix opcode name in comments. No changes to code. (CVS 2907)
FossilOrigin-Name: 511ac9db12ad84bb02d84568b75fc65cef661e88
2006-01-10 18:44:08 +00:00
danielk1977 da71798256 Initialize variables in malloc3.test (was causing error in all.test). (CVS 2906)
FossilOrigin-Name: 16a8172a617d4ff739660ae67d3e381b2dea68e6
2006-01-10 18:27:41 +00:00
danielk1977 3487e679cf Typos in new documentation. (CVS 2905)
FossilOrigin-Name: b5bedb2a9f349b32acbd0356c61cdc30fd474eca
2006-01-10 18:08:09 +00:00
danielk1977 b3bf556ef6 Store collation sequence names instead of pointers in sharable schema data structures. (CVS 2904)
FossilOrigin-Name: 0f0213be4d064b3d24e31ff93ec16f6862003d26
2006-01-10 17:58:23 +00:00
drh d2d4a6b00d Updates to the C-API documentation. Change the parameter type of
sqlite3_soft_heap_limit to integer. (CVS 2903)

FossilOrigin-Name: bdd35e9fbb651fe7a1ed5042923c9529c3c5ab7c
2006-01-10 15:18:27 +00:00
drh 7c1817e255 Move the implementation of sqlite3_enable_shared_cache from btree.c to main.c. (CVS 2902)
FossilOrigin-Name: 4f2ec95283f1ae0a28b2f9ce0afc5a7203de87fb
2006-01-10 13:58:48 +00:00
danielk1977 eecfb3eebc Fix a problem with shared-schemas and temp triggers. (CVS 2901)
FossilOrigin-Name: 9c18a1ce1e7ff6a02eb0f9ce344cab9660819740
2006-01-10 12:31:39 +00:00
danielk1977 311019be0b If compiled with memory-debugging, write garbage to memory when it is freed. Fix for #1594. (CVS 2900)
FossilOrigin-Name: bd02a6faefa3602d0b93d54bc57809a2222d5903
2006-01-10 07:14:23 +00:00
drh bdd6da23cd Enable shared cache on the server demonstration. (CVS 2899)
FossilOrigin-Name: 8719f880a395db8be65ea45615d8e55985306f1e
2006-01-10 02:30:33 +00:00
drh 7910e76ddb Add the first simple tests of server mode. Get the Makefile generated from
the configure script working again. (CVS 2898)

FossilOrigin-Name: 66f84068f3c7c0963ce88f84fc0ba6775f64cd19
2006-01-09 23:50:11 +00:00
drh 29c636bc12 Added database server example code (untested). Fixed serveral bugs including
the autovacuum compile problem described by ticket #1593. (CVS 2897)

FossilOrigin-Name: ec332d8822d1ac9673581a26ab2a2fce5f2554a3
2006-01-09 23:40:25 +00:00
drh 2366940d8f Reinstate the asynchronous I/O demonstration code and tests with minor
changes. (CVS 2896)

FossilOrigin-Name: eeebc640aaeeb0ab7f730d854069f159aa41968b
2006-01-09 17:29:52 +00:00
danielk1977 14db26653a Fix some errors to do with attached databases and text encodings in shared-cache mode. (CVS 2895)
FossilOrigin-Name: 3e75d3d5efebc0dfff1adfc13d85e85ec39db3eb
2006-01-09 16:12:04 +00:00
danielk1977 52622828ce Add a runtime interface to enable memory-management features. (CVS 2894)
FossilOrigin-Name: 44f8e3139aa3ad3fcce9028565dd9ad23bbe62a2
2006-01-09 09:59:49 +00:00
danielk1977 e501b89ada Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893)
FossilOrigin-Name: 82b81f69c78cb3f54634d9aea4f6a838474dc5e5
2006-01-09 06:29:47 +00:00
danielk1977 2e94d4dea5 Minor changes so that OMIT_SHARED_CACHE works. (CVS 2892)
FossilOrigin-Name: cc963f8cfc6c704c645c627bffb8df21dfebffc6
2006-01-09 05:36:27 +00:00
drh 5739103e98 Fix timezone parsing in the date/time functions. Ticket #1587. (CVS 2891)
FossilOrigin-Name: 94c87b70161d4d44fbf1602fc2baae22dca08759
2006-01-09 00:18:02 +00:00
drh 3a12924798 Remove benign reference to an uninitialized variable. Ticket #1590. (CVS 2890)
FossilOrigin-Name: 32998fe8ed38a79eb79d8b13051b47bf74661e3c
2006-01-09 00:09:01 +00:00
drh 15007a99e4 Get LIMIT and OFFSET working again for negative limits and offsets.
Ticket #1586. (CVS 2889)

FossilOrigin-Name: b2ac0be07ec76ab23b7e5b800c0bc62d0bc97f4b
2006-01-08 18:10:17 +00:00
drh 6f58f7069b Remove some cruft from the VDBE. Bring comments up to date. (CVS 2888)
FossilOrigin-Name: 41aef6496a10c81e1095408dc8f69740d6ea7627
2006-01-08 05:26:41 +00:00
drh d59ba6ce61 Reduce memory requirements for ORDER BY combined with LIMIT. Ticket #1586. (CVS 2887)
FossilOrigin-Name: 55e703ecac6e03d7364c2d919ba18d7293d6b7f6
2006-01-08 05:02:54 +00:00
drh 76873ab240 Invalidate all VDBE cursor row caches in between calls to sqlite3_step()
since the emphemeral content that those caches point to might change if
the statement is READ UNCOMMITTED. (CVS 2886)

FossilOrigin-Name: 0ae461313c1642a49a9f6cda608c42c7c0053ce4
2006-01-07 18:48:26 +00:00
drh 4bddfd2f6e Continued progress toward a working wince backend. (CVS 2885)
FossilOrigin-Name: 15fda14ee0c0524d3064d767f48edd689c090d95
2006-01-07 18:14:48 +00:00
drh 403110c84a 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
2006-01-07 18:10:32 +00:00
drh 3f4590226f Enable redefinable I/O if the SQLITE_ENABLE_REDEF_IO macro exists. (CVS 2883)
FossilOrigin-Name: e170e15766389e978991b42a0d2ec303162aaad6
2006-01-07 16:06:07 +00:00
danielk1977 dba99bcc96 Fix some memory leaks caused by obscure syntax errors in SQL. (CVS 2882)
FossilOrigin-Name: 6593199a4d0d0e1f9cc2f48d30327b1c03a8170e
2006-01-07 14:02:26 +00:00
danielk1977 c00da10565 In shared-cache mode, lock all required tables before beginning to execute the body of the statement program. (CVS 2881)
FossilOrigin-Name: 23b587b05b89727248805e6d9e5141e018cf2152
2006-01-07 13:21:04 +00:00
drh 8c0ca7d27c Drop the mutex if the TSD key allocation fails. Ticket #1585. (CVS 2880)
FossilOrigin-Name: 77ac231c0e21c09c0b612a4e72bcc863f2c95fd3
2006-01-07 04:06:54 +00:00
drh a34c62d866 Fix bugs in test scripts that came of of sse testing. (CVS 2879)
FossilOrigin-Name: 22bf1a2ffac503020dfa78d228b561d1cf6f3894
2006-01-06 22:11:20 +00:00
drh 198bf39128 Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878)
FossilOrigin-Name: 9d71b7deaffdd7eb9ddad1f03df3e4c51c2cbd98
2006-01-06 21:52:49 +00:00
drh 9e9fe6f877 Additional changes for wince. (CVS 2877)
FossilOrigin-Name: b10343d9163263f97efb1bbc61af8307a2cfe8a4
2006-01-06 21:09:01 +00:00
drh e2a926b807 More changes to support wince. (CVS 2876)
FossilOrigin-Name: f3cbd995c845dc19596678d05844e0691b63da54
2006-01-06 20:40:28 +00:00
drh 602bbd3245 Additional efforts to get it to build on WinCE. (CVS 2875)
FossilOrigin-Name: b45c076f0d5f7c863287ccb5703c492e1010a99d
2006-01-06 20:22:29 +00:00
drh cc78fea4b9 A first attempt at adding native support for WinCE. (CVS 2874)
FossilOrigin-Name: 434405678778e7ce6e0bdec02fa7049a1ca68d27
2006-01-06 16:17:05 +00:00
danielk1977 aaf22685d7 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
2006-01-06 15:03:48 +00:00
drh 0739723d76 Fix an alignment problem in the sqlite3OsRandomSeed(). Ticket #1584. (CVS 2872)
FossilOrigin-Name: 373b56f0048fd6a1946a97acfcca40fd12f7d572
2006-01-06 14:46:46 +00:00
drh 7887942e38 Remove vestigial file: crashtest1.c (CVS 2871)
FossilOrigin-Name: 6676c7031d81202ad702142ecf9e64f14d94d968
2006-01-06 14:41:54 +00:00
drh 66560adab3 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
2006-01-06 14:32:19 +00:00
danielk1977 c87d34d05d Add some simple tests and fixes for shared-schema locking. (CVS 2869)
FossilOrigin-Name: d054bed15aee3edef93cc84c83be443cdd489946
2006-01-06 13:00:28 +00:00
drh 824d7c1893 Back out the addition of the new header file - bad idea. (CVS 2868)
FossilOrigin-Name: 0c4c45c36fe1c3c2980155ef5126a2ad53100d65
2006-01-06 12:03:19 +00:00
danielk1977 de0fe3e4c3 Fix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867)
FossilOrigin-Name: 752a2754879becc32da9f9b910f3330f8c7145e4
2006-01-06 06:33:12 +00:00
drh e19d594067 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
2006-01-06 03:29:56 +00:00
drh 47ded16fdc Formatting changes in btree.c. (CVS 2865)
FossilOrigin-Name: f1922da2d20c5091678e47cc4f43a2a9d141a3b1
2006-01-06 01:42:58 +00:00
drh 3fbb0b1a3b Windows implementation of the thread-specific data interface. (CVS 2864)
FossilOrigin-Name: 3aa8befedf4534cd100a7309997a4ad2ba08af20
2006-01-06 00:36:00 +00:00
drh d78901da51 Disable the update hook for the truncation optimization used by DELETE. (CVS 2863)
FossilOrigin-Name: 448b3b9dede724749df0004ca39c649951f1f2ca
2006-01-05 23:42:50 +00:00
drh 6aafc29b5f 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
2006-01-05 15:50:06 +00:00
danielk1977 ad68cb6b69 Fix for ticket #1582 (Double delete of invalid LIMIT clause Expr* applied to a UNION ALL query). (CVS 2861)
FossilOrigin-Name: 5dec3a392ba3c249bbca899c12e99c26cc1b8cdb
2006-01-05 14:22:33 +00:00
danielk1977 441b09ae55 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
2006-01-05 13:48:29 +00:00
danielk1977 da18423620 Add the shared schema/pager modifications. Very few tests so far. (CVS 2859)
FossilOrigin-Name: deeda0dc06c1595aedd8d06a0c4e88a8abf78cf7
2006-01-05 11:34:32 +00:00
drh a6370df1e1 Bug fix in the IF NOT EXISTS logic. (CVS 2858)
FossilOrigin-Name: cb9095ac52e76926f274678ef55ebb9df4b9fcac
2006-01-04 21:40:06 +00:00
drh 446a9b825b Bug fix in the new "exists" method of the TCL interface. (CVS 2857)
FossilOrigin-Name: d0e3d466094f7b2f74ed7ebb324e5024ea8faa6f
2006-01-04 18:13:26 +00:00
drh 5af7e19bd0 Update document for CREATE INDEX IF NOT EXISTS and DROP INDEX IF EXISTS (CVS 2856)
FossilOrigin-Name: 963ba8b8f3b7b3a8bcd36b224e283cf3b86d4b1d
2006-01-04 15:58:28 +00:00
drh 4d91a701bd Add support for CREATE INDEX IF NOT EXISTS and DROP INDEX IF EXISTS. (CVS 2855)
FossilOrigin-Name: 551cdd6c309e75687abaeac5381b794cd5e4c10a
2006-01-04 15:54:36 +00:00
drh f93339decb Always case 0 to (char*) on varargs functions. Otherwise there are problems
on 64-bit machines. (CVS 2854)

FossilOrigin-Name: 837dc77ff9f5271b7e1bb8602fc021670c7802d1
2006-01-03 15:16:26 +00:00
danielk1977 34e8494202 Add test files for the asynchronous IO concept. (CVS 2853)
FossilOrigin-Name: 7c3492c8404c39c808af4429b4fcdb7413539ab3
2006-01-03 13:39:25 +00:00
drh dddca28608 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
2006-01-03 00:33:50 +00:00
drh 88f474a938 Add the xInMutex method to the os-layer switch for testing whether or not
mutexes are used correctly. (CVS 2851)

FossilOrigin-Name: a582b159595ff8d31c81e9b3044711d6590d3f0e
2006-01-02 20:00:12 +00:00
drh 35a5965a17 Additional tests for descending indices. Comment changes. (CVS 2850)
FossilOrigin-Name: 2622c5242b0cba5bc19f190a7c209ab9ed8f57e0
2006-01-02 18:24:40 +00:00
danielk1977 5118b918d8 Repair typo in previous commit. (CVS 2849)
FossilOrigin-Name: a4aa0911bccd0627cd6d926c5bdd2a4f4b8f6cc5
2005-12-30 16:31:53 +00:00
danielk1977 aef0bf6429 Add part of the btree layer of the shared-cache feature. (CVS 2848)
FossilOrigin-Name: 2afcad990190af97d1ad0010f211a5ca8f0fd745
2005-12-30 16:28:01 +00:00
drh faa59554c3 Add support for CREATE TABLE IF NOT EXISTS. (CVS 2847)
FossilOrigin-Name: 0bd9e35fd22946640f4fb1c1874922ae096916f7
2005-12-29 23:33:54 +00:00
drh 72e5c6dbb9 Bug fix in codec processing. (CVS 2846)
FossilOrigin-Name: a88580bce045ee1c11cc6fd986ee7bab043ded4f
2005-12-29 23:04:01 +00:00
drh d946db0064 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
2005-12-29 19:23:06 +00:00
drh aa81608eb0 Fix for ticket #1575. (CVS 2844)
FossilOrigin-Name: 1586921b54da5ba3bea80e8e656a11d32996ab3a
2005-12-29 12:53:09 +00:00
drh a073384f08 Add support for DROP TABLE IF EXISTS. (CVS 2843)
FossilOrigin-Name: a4c547de83d8b27f06a58f9e530a7c983ec1dc3a
2005-12-29 01:11:36 +00:00
drh ab8aa68325 Make genericAllocationSize work on NULL pointers. (CVS 2842)
FossilOrigin-Name: 326fc9cc11c86f2d96763537d60757200ce21a84
2005-12-22 13:47:49 +00:00
drh 0b2f3160d6 Bug fixes and additional testing of descending indices. (CVS 2841)
FossilOrigin-Name: 5638a11ed5618dd833d3daffc1715951091d72b2
2005-12-21 18:36:45 +00:00
drh d28bcb305b Basic functionality for descending indices is in place. Lots more testing
needed. (CVS 2840)

FossilOrigin-Name: 7064433e5b06a4f858f39ce57650fba99fd72ffd
2005-12-21 14:43:11 +00:00
drh 85eeb692f3 Progress toward decending indices. (CVS 2839)
FossilOrigin-Name: 112a34b8dcceb39540cb0cd629e264a867400bfb
2005-12-21 03:16:42 +00:00
danielk1977 db515783f7 Include sqlite3_release_memory() code when SQLITE_MEMDEBUG is not defined. (CVS 2838)
FossilOrigin-Name: 77a37ceca7792e6cda6810e3387e6dda14a5c7ec
2005-12-20 14:37:59 +00:00
danielk1977 5591df558a Add simple tests and fixes for sqlite3_soft_heap_limit() (CVS 2837)
FossilOrigin-Name: c2c5285442f4558dfca61b52f31b5a9cbefaed10
2005-12-20 09:19:37 +00:00
drh 6ed65f5a3f Website changes in preparation for the release of 2.8.17. (CVS 2834)
FossilOrigin-Name: a927696ba30da39cb94ba666a10b7311d46826c9
2005-12-19 17:53:35 +00:00
drh 29b6e57b3e Website changes for the release of 3.2.8. (CVS 2831)
FossilOrigin-Name: 2f7ec117ded31f2c13f2e3ab9dd4e9a483434601
2005-12-19 17:26:46 +00:00
drh 8f9b728b62 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
2005-12-19 16:15:31 +00:00
danielk1977 0190d1da46 Add some very simple test cases (and resulting bug fixes) for release_memory(). (CVS 2826)
FossilOrigin-Name: 154282fca54bf03d310d6931660f99805bb5477f
2005-12-19 14:18:11 +00:00
danielk1977 13f7299bbe Add the (untested) sqlite3_release_memory() function. (CVS 2825)
FossilOrigin-Name: 345addaa03d3bfa3429a59597fbd3addcff62e30
2005-12-18 08:51:22 +00:00
danielk1977 f3f06bb30c Verify that the rollback-hook is invoked correctly when a malloc() failure occurs. (CVS 2824)
FossilOrigin-Name: 83c8ae5bee3b6bdb556d2e85fa260ba855742601
2005-12-16 15:24:28 +00:00
danielk1977 71fd80bf5c Add the sqlite3_rollback_hook() API. Still requires further testing. (CVS 2823)
FossilOrigin-Name: 3baa3ff32435b64e7ae7646b17a98fef9296aaa0
2005-12-16 06:54:01 +00:00
drh fdd6e85a34 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
2005-12-16 01:06:16 +00:00
drh fbfb60bc25 Fix the utf8 to utf16 conversion routine for short strings. Bug
introduced by check-in (2817). (CVS 2821)

FossilOrigin-Name: 4fba2db38e0693be52ca7251e4958bd836607f05
2005-12-15 22:34:00 +00:00
danielk1977 94eb6a14cb Add the sqlite3_update_hook() API. (CVS 2820)
FossilOrigin-Name: 36229018817eebfbfca7a66d2285e4faf7b39845
2005-12-15 15:22:08 +00:00
danielk1977 c529f52046 Move malloc(), free(), realloc() and allocationSize() into the Os vtbl. (CVS 2819)
FossilOrigin-Name: 81a41f66370ea7f6810dfb323ba5cea60f240edd
2005-12-15 10:50:53 +00:00
danielk1977 13a68c3f61 Add the sqlite3_os_routine_set()/get() functions. (CVS 2818)
FossilOrigin-Name: c1ed79f594fb85009c2e9e5e281cbe66a9d2fa17
2005-12-15 10:11:30 +00:00
drh af9a7c22b5 Fix memory allocation problems on the utf-16 versions of collating function
control routines. (CVS 2817)

FossilOrigin-Name: ad292e27336b8c5afc0acdf111944a456bd23c32
2005-12-15 03:04:10 +00:00
drh 26abcb1eef Avoid using the transient value in the UTF-16 collation needed callback. (CVS 2816)
FossilOrigin-Name: ab6241af29b2e9f5f094b83c13afebe44a8ad6bc
2005-12-14 22:51:16 +00:00
drh 268803a95b Properly zero-terminate UTF-16 collation names on an
sqlite3_collation_needed16 callback. (CVS 2815)

FossilOrigin-Name: 71a49d05bf174025c0d9141b8905c48f43e42541
2005-12-14 20:11:30 +00:00
danielk1977 7ddad969a4 Fix minor malloc() related problems and add sqlite3_soft_heap_limit() stubs. (CVS 2814)
FossilOrigin-Name: 1637f3796015d1582ed8c6bc8bdf8c067b4bade9
2005-12-12 06:53:03 +00:00
drh 97f2ebc192 Add the "exists" method to the TCL interface. (CVS 2813)
FossilOrigin-Name: 8a355d7aade5c7a95ab08aeedf1ee1857c121c33
2005-12-10 21:19:04 +00:00
drh e57c06fdf0 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
2005-12-09 20:54:34 +00:00
drh 03d847eafe More annoying and pointless signedness warnings fixed. (CVS 2811)
FossilOrigin-Name: 590578bef88d0aa545f8138e8eec0db03c093861
2005-12-09 20:21:58 +00:00
drh 2646da7e52 Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810)
FossilOrigin-Name: 83a59151559d9496d4f546e03e65087ea974717d
2005-12-09 20:02:05 +00:00
danielk1977 97cb2e969b Define the sqliteMalloc() macro differently to avoid a compiler warning. (CVS 2809)
FossilOrigin-Name: 3d177bde71811391f79f4ab3bae054ef1bceb6a0
2005-12-09 14:39:04 +00:00
danielk1977 2e588c7525 Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808)
FossilOrigin-Name: 601c335463aaabc2e9918e4b9298cff6161be5c4
2005-12-09 14:25:08 +00:00
drh fde4a6f8a4 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
2005-12-09 02:35:53 +00:00
drh 3c4f2a4202 Provide a pragma to set the codec key. (CVS 2806)
FossilOrigin-Name: a7c9e8989c752f6b1148e7cc7bf59bbd8b402e87
2005-12-08 18:12:56 +00:00
danielk1977 00fd957b78 Add some tests for malloc() failure within the column_name() and column_decl() APIs. (CVS 2805)
FossilOrigin-Name: 78f10ca0a6a02e9e8e6811489841a19e213f3afb
2005-12-07 06:27:43 +00:00
danielk1977 f4208043d6 Allow VACUUM to detach the auxillary database after malloc() fails. (CVS 2804)
FossilOrigin-Name: 6824a78bc7b8582fc5c3a6ab05dd3ed996fc99b3
2005-12-06 17:48:31 +00:00
danielk1977 f744bb56a1 Modify ATTACH and DETACH to execute at runtime instead of compile time. (CVS 2803)
FossilOrigin-Name: 5e04ec694add7a8331e3d6fbdfcaed51349ae7bc
2005-12-06 17:19:11 +00:00
drh 7dd90a4785 Report errors out of sqlite3_open16(). (CVS 2802)
FossilOrigin-Name: f5b58163d4520fa3e7137e8445a8ef19aae3e799
2005-12-06 13:19:07 +00:00
danielk1977 1a485fca83 Add test file for new malloc() failure handling. (CVS 2801)
FossilOrigin-Name: 0b82f9623cf25b1cb02f70628c992903a6e8ca1c
2005-12-06 12:57:58 +00:00
danielk1977 261919cc16 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
2005-12-06 12:52:59 +00:00
drh 67e0b84f7d Update mailing list hyperlink on the support page. (CVS 2799)
FossilOrigin-Name: 41a7aeeeb427d59e3d7cc71c94a8c5be832bd0fa
2005-12-05 22:22:40 +00:00
drh 5c434b7265 Make sure sqlite3_result_text can handle text strings with embedded '\000'
characters. (CVS 2798)

FossilOrigin-Name: 9d6057cd141e7cdaf32ce68dea39e67c2c67a08d
2005-12-05 13:20:01 +00:00
drh bf8aa2a6c5 Add a test to verify that binding text with embedded '\000' works. Also
comment changes in os.h. (CVS 2797)

FossilOrigin-Name: 31251a9098662ccf08af5bd5bc3afb282a149701
2005-12-02 02:44:05 +00:00
drh e90a9ffa12 Documentation updates. (CVS 2796)
FossilOrigin-Name: 2ffb90c39d0b60de9a692326ca3f2595c1fc97d0
2005-12-02 01:57:42 +00:00
drh 054889ec6d 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
2005-11-30 03:20:31 +00:00
drh 392b3ddf2e 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
2005-11-29 19:56:32 +00:00
drh a2eebaa43b Make the build work on windows again. Ticket #1544. (CVS 2793)
FossilOrigin-Name: 59bdca2552b2e5c09d5ca2b7a02ee34460139d7b
2005-11-29 19:50:24 +00:00