0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-17 03:41:13 +00:00

Commit Graph

  • 80c43bcba1 Correctly handle malloc() failure in GenericMalloc() and GenericRealloc(). Fix for #1617. (CVS 2958) danielk1977 2006-01-16 14:29:05 +00:00
  • a96a7103b2 Run the tests in shared.test a second time using an autovacuum database. (CVS 2957) danielk1977 2006-01-16 12:46:41 +00:00
  • efaaf57974 Clarify error handling in pager code. No functional changes. (CVS 2956) danielk1977 2006-01-16 11:29:19 +00:00
  • 45bfcfd3fc Version 3.3.1 (alpha) (CVS 2953) drh 2006-01-16 02:39:05 +00:00
  • 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) drh 2006-01-16 02:37:51 +00:00
  • 9c4315c288 Version 3.3.1 (withdrawn - see ticket #1614) (CVS 2955) drh 2006-01-16 00:04:59 +00:00
  • 3b59a5cc5f Code size reductions in the pager. (CVS 2952) drh 2006-01-15 20:28:28 +00:00
  • 78170b2e65 Prepare for the 3.3.1 alpha release. (CVS 2951) drh 2006-01-15 18:29:17 +00:00
  • f1a221e695 Clean up comments in os_unix.c. (CVS 2950) drh 2006-01-15 17:27:17 +00:00
  • 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) danielk1977 2006-01-15 14:11:48 +00:00
  • 21691543a3 Fix a buffer-overrun that could occur after a malloc() failure. (CVS 2948) danielk1977 2006-01-15 13:13:56 +00:00
  • b597f74af5 Rollback any open write-transaction when a shared-cache connection is closed. (CVS 2947) danielk1977 2006-01-15 11:39:18 +00:00
  • 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) drh 2006-01-15 02:43:16 +00:00
  • 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) drh 2006-01-15 02:30:57 +00:00
  • 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) drh 2006-01-15 00:13:15 +00:00
  • 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) danielk1977 2006-01-14 08:02:28 +00:00
  • 79f27df664 Account for multi-byte characters in ALTER TABLE code. Fix for #1609. (CVS 2942) danielk1977 2006-01-13 18:06:40 +00:00
  • dedf45b260 Tweaks to make OP_Column run a fraction faster. (CVS 2941) danielk1977 2006-01-13 17:12:01 +00:00
  • 9792eeff95 Avoid parsing an entire record header when it is not required. (CVS 2940) danielk1977 2006-01-13 15:58:43 +00:00
  • a3e4d96f5d Make sure the authenticator does not try to authenticate columns in subqueries. Ticket #1607. (CVS 2939) drh 2006-01-13 13:55:44 +00:00
  • 327bd59216 Fix a vdbe stack overflow problem that could occur with a correlated sub-query. (CVS 2938) danielk1977 2006-01-13 13:01:19 +00:00
  • 1fef7d5d3f Remove a few duplicate variable initializations in sqlite3BtreeCursor(). (CVS 2937) danielk1977 2006-01-13 11:22:07 +00:00
  • e725929686 Minor modification to restoreOrClearCursorPosition() to improve efficiency. Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936) danielk1977 2006-01-13 06:33:23 +00:00
  • 777e4c43f2 Additional speed enhancements in btree.c. (CVS 2935) drh 2006-01-13 04:31:58 +00:00
  • 366fda6e60 Small performance improvement on sqlite3BtreeMoveto. (CVS 2934) drh 2006-01-13 02:35:09 +00:00
  • d508e7f1a1 Add a high-speed version of sqlite3GetVarint32 to vdbe.c for a 3% performance gain. (CVS 2933) drh 2006-01-13 01:48:59 +00:00
  • 83330ed8ce Add tests to make sure "PRAGMA table_info" works using sqlite3_prepare16. Ticket #1606. (CVS 2932) drh 2006-01-13 01:25:05 +00:00
  • 24b010fad1 Terminate the va_start in the getDigits function of date.c. (CVS 2931) drh 2006-01-13 01:17:21 +00:00
  • 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) drh 2006-01-12 22:17:50 +00:00
  • 0e6082eb83 Performance boost in sqlite3VdbeRecordCompare. (CVS 2929) drh 2006-01-12 20:28:35 +00:00
  • f1f6c587eb Automatically cast BLOBs to strings prior to handing them over to functions like LIKE that want strings. Ticket #1605. (CVS 2928) drh 2006-01-12 19:42:41 +00:00
  • 8079a0d3f5 Cache the encoding value inside VdbeExec. (CVS 2927) drh 2006-01-12 17:20:50 +00:00
  • d172f86fe2 Additional performance improvements in sqlite3BtreeMoveto. (CVS 2926) drh 2006-01-12 15:01:15 +00:00
  • b562f0ba96 BtreeMoveto optimization goes about 1.5% faster. (CVS 2925) drh 2006-01-12 14:30:19 +00:00
  • 4b494d65a7 About a 2.5% speed improvement by reducing the number of sqlite3ThreadData calls in the parser. (CVS 2924) drh 2006-01-12 12:43:36 +00:00
  • f06c59a3e5 Mark the end of the return codes in the sqlite3.h.in template file. (CVS 2923) drh 2006-01-12 02:50:09 +00:00
  • e321c29a7b Add the legacy_file_format pragma. (CVS 2922) drh 2006-01-12 01:56:43 +00:00
  • 70ff98ab74 Improve performance by about 10% by avoiding excess calls to get the thread-specific data. (CVS 2921) drh 2006-01-12 01:25:18 +00:00
  • b4bc7057e5 Testing of the automatic TSD deallocation logic. The sqlite3_thread_cleanup() API is documented. This should close ticket #1601. (CVS 2920) drh 2006-01-11 23:40:33 +00:00
  • 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) drh 2006-01-11 21:41:20 +00:00
  • 0203bde908 Ensure the database attached as part of VACUUM can be detached successfully after a malloc() failure. (CVS 2918) danielk1977 2006-01-11 16:10:20 +00:00
  • b82e7edae9 Fix bugs caused by assuming that shared-schemas are initialized. (CVS 2917) danielk1977 2006-01-11 14:09:31 +00:00
  • 003437a0a7 Fix typo noted by #1599. (CVS 2916) danielk1977 2006-01-11 05:49:50 +00:00
  • 08ec23324f Version 3.3.0 (alpha) (CVS 2915) drh 2006-01-11 01:28:30 +00:00
  • 1440fc0c58 Add new APIs to the sqlite3.def file. (CVS 2914) drh 2006-01-11 01:28:11 +00:00
  • 7a91dd8602 Prepare for the release of version 3.3.0. (CVS 2913) drh 2006-01-11 01:08:34 +00:00
  • 36d54c1ba5 Fix a typo in the FAQ. (CVS 2912) drh 2006-01-10 23:00:41 +00:00
  • 02d9eca53f Fix bug in the server1 test script. (CVS 2911) drh 2006-01-10 20:36:39 +00:00
  • 97b5748487 Combine multiple small calls to sqlite3OsWrite into one larger call. (CVS 2910) drh 2006-01-10 20:32:32 +00:00
  • fe0f75bb1f Improved comments on the server and asynchronous I/O demo programs. (CVS 2909) drh 2006-01-10 20:01:18 +00:00
  • ee32e0aa27 More pedantic changes to comments in VDBE. No changes to code. Ticket #1596. (CVS 2908) drh 2006-01-10 19:45:49 +00:00
  • 3c899a60c4 Fix opcode name in comments. No changes to code. (CVS 2907) drh 2006-01-10 18:44:08 +00:00
  • da71798256 Initialize variables in malloc3.test (was causing error in all.test). (CVS 2906) danielk1977 2006-01-10 18:27:41 +00:00
  • 3487e679cf Typos in new documentation. (CVS 2905) danielk1977 2006-01-10 18:08:09 +00:00
  • b3bf556ef6 Store collation sequence names instead of pointers in sharable schema data structures. (CVS 2904) danielk1977 2006-01-10 17:58:23 +00:00
  • d2d4a6b00d Updates to the C-API documentation. Change the parameter type of sqlite3_soft_heap_limit to integer. (CVS 2903) drh 2006-01-10 15:18:27 +00:00
  • 7c1817e255 Move the implementation of sqlite3_enable_shared_cache from btree.c to main.c. (CVS 2902) drh 2006-01-10 13:58:48 +00:00
  • eecfb3eebc Fix a problem with shared-schemas and temp triggers. (CVS 2901) danielk1977 2006-01-10 12:31:39 +00:00
  • 311019be0b If compiled with memory-debugging, write garbage to memory when it is freed. Fix for #1594. (CVS 2900) danielk1977 2006-01-10 07:14:23 +00:00
  • bdd6da23cd Enable shared cache on the server demonstration. (CVS 2899) drh 2006-01-10 02:30:33 +00:00
  • 7910e76ddb Add the first simple tests of server mode. Get the Makefile generated from the configure script working again. (CVS 2898) drh 2006-01-09 23:50:11 +00:00
  • 29c636bc12 Added database server example code (untested). Fixed serveral bugs including the autovacuum compile problem described by ticket #1593. (CVS 2897) drh 2006-01-09 23:40:25 +00:00
  • 2366940d8f Reinstate the asynchronous I/O demonstration code and tests with minor changes. (CVS 2896) drh 2006-01-09 17:29:52 +00:00
  • 14db26653a Fix some errors to do with attached databases and text encodings in shared-cache mode. (CVS 2895) danielk1977 2006-01-09 16:12:04 +00:00
  • 52622828ce Add a runtime interface to enable memory-management features. (CVS 2894) danielk1977 2006-01-09 09:59:49 +00:00
  • e501b89ada Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893) danielk1977 2006-01-09 06:29:47 +00:00
  • 2e94d4dea5 Minor changes so that OMIT_SHARED_CACHE works. (CVS 2892) danielk1977 2006-01-09 05:36:27 +00:00
  • 5739103e98 Fix timezone parsing in the date/time functions. Ticket #1587. (CVS 2891) drh 2006-01-09 00:18:02 +00:00
  • 3a12924798 Remove benign reference to an uninitialized variable. Ticket #1590. (CVS 2890) drh 2006-01-09 00:09:01 +00:00
  • 15007a99e4 Get LIMIT and OFFSET working again for negative limits and offsets. Ticket #1586. (CVS 2889) drh 2006-01-08 18:10:17 +00:00
  • 6f58f7069b Remove some cruft from the VDBE. Bring comments up to date. (CVS 2888) drh 2006-01-08 05:26:41 +00:00
  • d59ba6ce61 Reduce memory requirements for ORDER BY combined with LIMIT. Ticket #1586. (CVS 2887) drh 2006-01-08 05:02:54 +00:00
  • 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) drh 2006-01-07 18:48:26 +00:00
  • 4bddfd2f6e Continued progress toward a working wince backend. (CVS 2885) drh 2006-01-07 18:14:48 +00:00
  • 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) drh 2006-01-07 18:10:32 +00:00
  • 3f4590226f Enable redefinable I/O if the SQLITE_ENABLE_REDEF_IO macro exists. (CVS 2883) drh 2006-01-07 16:06:07 +00:00
  • dba99bcc96 Fix some memory leaks caused by obscure syntax errors in SQL. (CVS 2882) danielk1977 2006-01-07 14:02:26 +00:00
  • c00da10565 In shared-cache mode, lock all required tables before beginning to execute the body of the statement program. (CVS 2881) danielk1977 2006-01-07 13:21:04 +00:00
  • 8c0ca7d27c Drop the mutex if the TSD key allocation fails. Ticket #1585. (CVS 2880) drh 2006-01-07 04:06:54 +00:00
  • a34c62d866 Fix bugs in test scripts that came of of sse testing. (CVS 2879) drh 2006-01-06 22:11:20 +00:00
  • 198bf39128 Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878) drh 2006-01-06 21:52:49 +00:00
  • 9e9fe6f877 Additional changes for wince. (CVS 2877) drh 2006-01-06 21:09:01 +00:00
  • e2a926b807 More changes to support wince. (CVS 2876) drh 2006-01-06 20:40:28 +00:00
  • 602bbd3245 Additional efforts to get it to build on WinCE. (CVS 2875) drh 2006-01-06 20:22:29 +00:00
  • cc78fea4b9 A first attempt at adding native support for WinCE. (CVS 2874) drh 2006-01-06 16:17:05 +00:00
  • aaf22685d7 Fix a crash caused by adding a trigger to a shared-schema and then deleting it using a different connection. (CVS 2873) danielk1977 2006-01-06 15:03:48 +00:00
  • 0739723d76 Fix an alignment problem in the sqlite3OsRandomSeed(). Ticket #1584. (CVS 2872) drh 2006-01-06 14:46:46 +00:00
  • 7887942e38 Remove vestigial file: crashtest1.c (CVS 2871) drh 2006-01-06 14:41:54 +00:00
  • 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) drh 2006-01-06 14:32:19 +00:00
  • c87d34d05d Add some simple tests and fixes for shared-schema locking. (CVS 2869) danielk1977 2006-01-06 13:00:28 +00:00
  • 824d7c1893 Back out the addition of the new header file - bad idea. (CVS 2868) drh 2006-01-06 12:03:19 +00:00
  • de0fe3e4c3 Fix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867) danielk1977 2006-01-06 06:33:12 +00:00
  • 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) drh 2006-01-06 03:29:56 +00:00
  • 47ded16fdc Formatting changes in btree.c. (CVS 2865) drh 2006-01-06 01:42:58 +00:00
  • 3fbb0b1a3b Windows implementation of the thread-specific data interface. (CVS 2864) drh 2006-01-06 00:36:00 +00:00
  • d78901da51 Disable the update hook for the truncation optimization used by DELETE. (CVS 2863) drh 2006-01-05 23:42:50 +00:00
  • 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) drh 2006-01-05 15:50:06 +00:00
  • ad68cb6b69 Fix for ticket #1582 (Double delete of invalid LIMIT clause Expr* applied to a UNION ALL query). (CVS 2861) danielk1977 2006-01-05 14:22:33 +00:00
  • 441b09ae55 Disable automatic invocation of sqlite3_release_memory() when a malloc() fails in those cases where the global mutex is held. (CVS 2860) danielk1977 2006-01-05 13:48:29 +00:00
  • da18423620 Add the shared schema/pager modifications. Very few tests so far. (CVS 2859) danielk1977 2006-01-05 11:34:32 +00:00