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

Commit Graph

  • f7eece6cd9 Add "autoinc" and "collseq" columns to the table_info() pragma. (CVS 3058) drh 2006-02-06 21:34:27 +00:00
  • 4440597187 Keep correct track of the amount of outstanding memory even when the system memory allocator returns a different number of bytes than requested. Ticket #1660. (CVS 3057) drh 2006-02-06 21:22:30 +00:00
  • ab63989d42 Update the per-thread bytes allocated counter with the number of bytes actually allocated, not the number requested. Ticket #1660. (CVS 3056) danielk1977 2006-02-06 13:59:42 +00:00
  • fb8de2dc07 Detect circularly defined views and issue an error message. Ticket #1658. (CVS 3055) drh 2006-02-05 18:55:20 +00:00
  • 144f20cbc8 Typecast to silence (incorrect) compiler warning. (CVS 3054) drh 2006-02-01 14:39:53 +00:00
  • 0e819f9032 Always register BINARY collating sequences for UTF-16BE and UTF-16LE both. Formerly we were only registering the native byte order by default. Ticket #1654. Note: There may still be problems with collating sequence synthesis. (CVS 3053) drh 2006-02-01 13:50:41 +00:00
  • 570b935c2a In joins of the form: "A, B left C" make sure that the reordering optimization does not put table A after table C. Ticket #1652. (CVS 3052) drh 2006-02-01 02:45:02 +00:00
  • 8e2e2a1624 Added support for the -enable-thread-override-lock option on the configure script. (CVS 3051) drh 2006-02-01 01:55:17 +00:00
  • 5062d3a048 Add the SQLITE_THREADS_OVERRIDE_LOCKS compile-time option that disables the run-time test to see if threads can override each others locks on unix. (CVS 3050) drh 2006-01-31 23:03:35 +00:00
  • 15b9a15a8d Patches to support linux on embedded platforms. (CVS 3049) drh 2006-01-31 20:49:13 +00:00
  • 0850b5374c Fix some pointless warnings from overly-pedantic compilers. (CVS 3048) drh 2006-01-31 19:31:43 +00:00
  • 5e6078bdba 3rd parameter to sqlite3_prepare() should be -1 if the string length is unknown. Passing in zero causes a zero-length SQL statement to be prepared, which is a no-op. Ticket #1651. This bug introduced by the fix for ticket #1650. (CVS 3047) drh 2006-01-31 19:07:22 +00:00
  • 99049b194a Version 3.3.3 (CVS 3046) drh 2006-01-31 16:21:13 +00:00
  • 4e15354c38 Put in the correct release date for version 3.3.3. (CVS 3045) drh 2006-01-31 16:20:50 +00:00
  • 7aae9943f5 Fix an problem in the test scripts that was show false failures under windows. (CVS 3044) drh 2006-01-31 15:19:45 +00:00
  • 81f2ccdce9 Authorization callback on the ALTER TABLE ADD COLUMN command. Ticket #1479. (CVS 3043) drh 2006-01-31 14:28:44 +00:00
  • 77e96d142a Remove support for the non-standard ON CONFLICT clause on CREATE INDEX. Ticket #1486. The ON CONFLICT clause has never worked on CREATE INDEX so removing it should not break anything. (CVS 3042) drh 2006-01-30 23:04:51 +00:00
  • 3caf58ea65 Memory DB works with autovacuum. (CVS 3041) drh 2006-01-30 22:48:44 +00:00
  • 9051a420d6 Make sure the 3rd parameter to sqlite3_prepare() is honored. Ticket #1650. (CVS 3040) drh 2006-01-30 22:35:43 +00:00
  • f28b266d43 Clarify that the nBytes parameter to sqlite3_prepare is always the number of bytes and never the number of characters. Ticket #1646. (CVS 3039) drh 2006-01-30 22:12:31 +00:00
  • f04902e8f6 Documentation updates in preparation for the release of 3.3.3 stable. (CVS 3038) drh 2006-01-30 16:20:29 +00:00
  • 8f238103ed Add a couple of extra test cases for #1644. (CVS 3037) danielk1977 2006-01-30 15:41:53 +00:00
  • fd426c6611 Expire all prepared statements whenever there is a change to the schema of the TEMP database. Ticket #1644. (CVS 3036) drh 2006-01-30 15:34:22 +00:00
  • afa5f68091 Fix bug with CHECK constraints contain an IN operator. Ticket #1645. (CVS 3035) drh 2006-01-30 14:36:59 +00:00
  • 4d5238f0c0 Fix a couple of (harmless) intel compiler warnings. (CVS 3034) danielk1977 2006-01-27 06:32:00 +00:00
  • 0ed4fcdcac Enhanced comments on the opcode.h building script. (CVS 3033) drh 2006-01-26 14:29:58 +00:00
  • 8c831cdd2e Fix an error in the collation sequence examples in datatype3.html. Ticket #1641. (CVS 3032) danielk1977 2006-01-26 13:25:08 +00:00
  • 9dfa60bf8c Add omittest.tcl script to automate testing compile-time OMIT symbols. (CVS 3031) danielk1977 2006-01-26 13:11:36 +00:00
  • ace3eb21b4 Handle a malloc() failure in resizeOpArray(). (CVS 3030) danielk1977 2006-01-26 10:35:04 +00:00
  • f248e21136 Minor comment changes and code optimizations. (CVS 3029) drh 2006-01-25 22:50:38 +00:00
  • 2d02a67db3 Rename files using for testing only so that their name begins with "test". (CVS 3028) drh 2006-01-25 15:55:37 +00:00
  • 8d34dfd656 Handle errors in saving cursor positions during a rollback by aborting all active statements. (CVS 3027) danielk1977 2006-01-24 16:37:57 +00:00
  • 2b8c13e7a7 Save the position of any open cursors before a rollback. (CVS 3026) danielk1977 2006-01-24 14:21:24 +00:00
  • f2fa8310f9 Return code was being dropped because of overridden variable in OP_IsUnique. Fix this and the test logic problem that hid it. (CVS 3025) danielk1977 2006-01-24 13:09:33 +00:00
  • f011300000 Rename some variables to avoid hiding others. Also add "static" to two function signatures that were missing it. (CVS 3024) danielk1977 2006-01-24 12:09:17 +00:00
  • 7246f5b9cb Coverage improvements for main.c. (CVS 3023) danielk1977 2006-01-24 11:30:27 +00:00
  • 161fb79619 General test coverage improvements. (CVS 3022) danielk1977 2006-01-24 10:58:21 +00:00
  • a7531c699a Sqlite3_analyzer reports an error if it runs into trouble. (CVS 3021) drh 2006-01-24 02:19:53 +00:00
  • 5bd719351a Update the publish scripts to correctly build the TCL DLL for windows. (CVS 3020) drh 2006-01-24 02:00:32 +00:00
  • e09ca2ce83 Version 3.3.2 (beta) (CVS 3019) drh 2006-01-24 00:40:03 +00:00
  • 80d56827fe More test script changes to get it to run without -DSQLITE_MEMDEBUG. (CVS 3018) drh 2006-01-24 00:15:15 +00:00
  • 5de03d6cfa Change the release date for version 3.3.2 to January 24. (CVS 3017) drh 2006-01-23 23:53:17 +00:00
  • 7b3822b36b Disable shared-cache OOM tests if not compiled with -DSQLITE_MEMDEBUG. (CVS 3016) drh 2006-01-23 23:49:34 +00:00
  • 36a5005946 Bug fix in the WinCE bindings. (CVS 3015) drh 2006-01-23 22:15:07 +00:00
  • 2a3e4a714c More progress toward getting SQLITE_OMIT_FLOATING_POINT to pass tests. Ticket #1621. (CVS 3014) drh 2006-01-23 21:44:53 +00:00
  • c693e9e693 Fix the shared pager tests so that they work under windows. (CVS 3013) drh 2006-01-23 21:38:03 +00:00
  • 1b91c729b5 Progress toward getting SQLITE_OMIT_FLOATING_POINT to pass all tests. Ticket #1621 (CVS 3012) drh 2006-01-23 21:37:32 +00:00
  • a86a5b6c7e Bug fix in cases where a compound select has an ORDER BY clause with multiple terms. (CVS 3011) drh 2006-01-23 18:42:21 +00:00
  • 92915541f0 Add documentation on the IF NOT EXISTS clause to CREATE statements. Ticket #1608. (CVS 3010) drh 2006-01-23 18:14:21 +00:00
  • f1878b4ada Makefile changes so that builds work on Solaris. Ticket #1604. (CVS 3009) drh 2006-01-23 18:06:52 +00:00
  • c490e7dc92 Bug fix in the ROWID generation logic of the VDBE. I think this is a benign bug - it never causes a real fault. But I am not certain. (CVS 3008) drh 2006-01-23 17:43:53 +00:00
  • be1f84c021 Get I/O error tests working on windows. (CVS 3007) drh 2006-01-23 16:25:22 +00:00
  • 2f1a4d106d Fix uninitialized variable in os_unix.c. (CVS 3006) drh 2006-01-23 16:24:54 +00:00
  • 7d3a666f2c Add "#ifndef NDEBUG" around sqlite3pager_iswriteable() (only used in assert() expressions). Also set the internal page number of a page to zero if it fails to initialise. (CVS 3005) danielk1977 2006-01-23 16:21:05 +00:00
  • 0acb23dcef Changes to the enc2.test script so that it will run on windows. (CVS 3004) drh 2006-01-23 15:59:55 +00:00
  • 72aead8102 Cut over the patches to support WinCE. Ticket #1600. (CVS 3003) drh 2006-01-23 15:54:25 +00:00
  • 6245e0d19c Fix a bug in pager.c that was overwriting freed memory. Comment changes in util.c. (CVS 3002) drh 2006-01-23 15:39:58 +00:00
  • 8a7aea3bb3 Further coverage improvements for pager.c and another IO error bug fix. (CVS 3001) danielk1977 2006-01-23 15:25:48 +00:00
  • c6dc0f7a79 Fix os_common.h so that the code builds without -DSQLITE_MEMDEBUG. (CVS 3000) drh 2006-01-23 14:05:18 +00:00
  • 7f7bc66ef2 Do not automatically rollback at the btree or pager level if a commit fails. (CVS 2999) danielk1977 2006-01-23 13:47:47 +00:00
  • c93cc42df8 Fix to sqlite3AllocMalloc() when it is a no-op macro. (CVS 2998) drh 2006-01-23 13:28:53 +00:00
  • 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) drh 2006-01-23 13:22:09 +00:00
  • 158ff67b50 Work around buggy malloc() implementations that cause problems on malloc(0). Ticket #1572. (CVS 2996) drh 2006-01-23 13:14:55 +00:00
  • 75bab7d64e Improve coverage of pager.c and fix an IO error handling bug found in the process. (CVS 2995) danielk1977 2006-01-23 13:09:45 +00:00
  • d116739351 Fix additional compiler warnings. Tickets #1615, #1616, #1627 (CVS 2994) drh 2006-01-23 13:00:35 +00:00
  • a1686c9a3b Fixes for OMIT_UTF16 and OMIT_COMPOUND (CVS 2993) danielk1977 2006-01-23 07:52:37 +00:00
  • 4b202ae2a5 Improve coverage of expr.c and btree.c slightly. (CVS 2992) danielk1977 2006-01-23 05:50:58 +00:00
  • 6dc1d95dd8 Remove vestiges of the older TSD code for handling OOM exceptions. Prepare for the release of 3.3.2. (CVS 2991) drh 2006-01-23 00:04:54 +00:00
  • 504b69898b Performance optimization in btree.c. (CVS 2990) drh 2006-01-22 21:52:56 +00:00
  • eda639e111 Code size reductions in select.c. (CVS 2989) drh 2006-01-22 00:42:09 +00:00
  • fe61378a22 Tests for the subquery flattening fix of check-in (2987). (CVS 2988) drh 2006-01-22 00:14:39 +00:00
  • 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) drh 2006-01-21 22:19:54 +00:00
  • bcdb66166e Fix a bug in os.h. How did this slip by before now? (CVS 2986) drh 2006-01-21 19:57:50 +00:00
  • c4da5b9f2c Fix more problems with malloc() and IO failures. (CVS 2985) danielk1977 2006-01-21 12:08:54 +00:00
  • 02afc86171 More compiler warnings fixed - or in some cases comments are added to explain that the compiler is wrong. (CVS 2984) drh 2006-01-20 18:10:57 +00:00
  • 24bd82c396 Fix some compiler warnings. (CVS 2983) drh 2006-01-20 17:56:32 +00:00
  • 97a227c996 Fix another couple of IO or malloc() failure problems in a shared-cache context. (CVS 2982) danielk1977 2006-01-20 16:32:04 +00:00
  • 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) drh 2006-01-20 15:45:36 +00:00
  • 07cb560b23 Handle some of the IO error conditions that may occur in a shared-cache context. (CVS 2980) danielk1977 2006-01-20 10:55:05 +00:00
  • f98477b846 Make sure sqlite3_thread_cleanup() does not try to allocate memory. (CVS 2979) drh 2006-01-19 17:42:50 +00:00
  • dab97c1c8f Fix the #ifdef around sqlite3OutstandingMallocs() in test1.c. (CVS 2978) drh 2006-01-19 11:28:06 +00:00
  • ed4293119a Account for read-uncommitted cursors in sqlite3BtreeClearTable(). (CVS 2977) danielk1977 2006-01-19 08:43:31 +00:00
  • 191c3e7db0 Fix a bug with internally saving cursors open on index tables. Also increase coverage of util.c and btree.c. (CVS 2976) danielk1977 2006-01-19 07:18:14 +00:00
  • e7823cb591 Omit thread2.test if memory-management is enabled at compile time. (CVS 2975) danielk1977 2006-01-18 18:33:42 +00:00
  • 76e8d1a292 Include the ThreadData structure in internal malloc() testing. Also fixes for revealed bugs. (CVS 2974) danielk1977 2006-01-18 18:22:43 +00:00
  • 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) drh 2006-01-18 17:25:45 +00:00
  • 9e12800dec Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972) danielk1977 2006-01-18 16:51:35 +00:00
  • 1de57847f8 Fix compilation error when neither MEMDEBUG or ENABLE_MEMORY_MANAGEMENT is enabled. (CVS 2971) danielk1977 2006-01-18 15:39:26 +00:00
  • 54f0198e47 Change sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970) danielk1977 2006-01-18 15:25:17 +00:00
  • 332b1feaf1 Recursive mutexes in os_win.c. (CVS 2969) drh 2006-01-18 14:20:17 +00:00
  • a3fad6f5f3 Convert the unix driver to use a recusive mutex. Similar changes to the windows driver are pending. (CVS 2968) drh 2006-01-18 14:06:37 +00:00
  • 950f054cec Handle malloc() failures that occur in open16() and errmsg16(). (CVS 2967) danielk1977 2006-01-18 05:51:57 +00:00
  • 9a30cf653f Handle malloc() failures that occur inside create_collation() calls. (CVS 2966) danielk1977 2006-01-18 04:26:07 +00:00
  • cbb8496c5e Arrange for ThreadData to be automatically deallocated even if SQLITE_MEMDEBUG is defined. Fix for #1623. (CVS 2965) danielk1977 2006-01-17 16:10:13 +00:00
  • 08659fee65 Fix compilation errors when building SQLITE_DEBUG defined but without SQLITE_MEMDEBUG. (CVS 2964) danielk1977 2006-01-17 15:36:32 +00:00
  • 771151b67f Various fixes that allow the malloc() failure tests to pass again. (CVS 2963) danielk1977 2006-01-17 13:21:40 +00:00
  • 3bdca9c9a5 Test suite fixes for builds that define OMIT symbols. (CVS 2962) danielk1977 2006-01-17 09:35:01 +00:00
  • ff890793fc Test file fixes for libaries compiled with various SQLITE_OMIT_ macros. (CVS 2961) danielk1977 2006-01-16 16:24:25 +00:00
  • 8212defca2 Fix problems compiling with memory-management enabled. Ticket #1619. (CVS 2960) danielk1977 2006-01-16 15:32:23 +00:00
  • bab45c647d Fix some of the issues raised in #1615. (CVS 2959) danielk1977 2006-01-16 15:14:27 +00:00