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

Commit Graph

  • a6370df1e1 Bug fix in the IF NOT EXISTS logic. (CVS 2858) drh 2006-01-04 21:40:06 +00:00
  • 446a9b825b Bug fix in the new "exists" method of the TCL interface. (CVS 2857) drh 2006-01-04 18:13:26 +00:00
  • 5af7e19bd0 Update document for CREATE INDEX IF NOT EXISTS and DROP INDEX IF EXISTS (CVS 2856) drh 2006-01-04 15:58:28 +00:00
  • 4d91a701bd Add support for CREATE INDEX IF NOT EXISTS and DROP INDEX IF EXISTS. (CVS 2855) drh 2006-01-04 15:54:36 +00:00
  • f93339decb Always case 0 to (char*) on varargs functions. Otherwise there are problems on 64-bit machines. (CVS 2854) drh 2006-01-03 15:16:26 +00:00
  • 34e8494202 Add test files for the asynchronous IO concept. (CVS 2853) danielk1977 2006-01-03 13:39:25 +00:00
  • 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) drh 2006-01-03 00:33:50 +00:00
  • 88f474a938 Add the xInMutex method to the os-layer switch for testing whether or not mutexes are used correctly. (CVS 2851) drh 2006-01-02 20:00:12 +00:00
  • 35a5965a17 Additional tests for descending indices. Comment changes. (CVS 2850) drh 2006-01-02 18:24:40 +00:00
  • 5118b918d8 Repair typo in previous commit. (CVS 2849) danielk1977 2005-12-30 16:31:53 +00:00
  • aef0bf6429 Add part of the btree layer of the shared-cache feature. (CVS 2848) danielk1977 2005-12-30 16:28:01 +00:00
  • faa59554c3 Add support for CREATE TABLE IF NOT EXISTS. (CVS 2847) drh 2005-12-29 23:33:54 +00:00
  • 72e5c6dbb9 Bug fix in codec processing. (CVS 2846) drh 2005-12-29 23:04:01 +00:00
  • 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) drh 2005-12-29 19:23:06 +00:00
  • aa81608eb0 Fix for ticket #1575. (CVS 2844) drh 2005-12-29 12:53:09 +00:00
  • a073384f08 Add support for DROP TABLE IF EXISTS. (CVS 2843) drh 2005-12-29 01:11:36 +00:00
  • ab8aa68325 Make genericAllocationSize work on NULL pointers. (CVS 2842) drh 2005-12-22 13:47:49 +00:00
  • 0b2f3160d6 Bug fixes and additional testing of descending indices. (CVS 2841) drh 2005-12-21 18:36:45 +00:00
  • d28bcb305b Basic functionality for descending indices is in place. Lots more testing needed. (CVS 2840) drh 2005-12-21 14:43:11 +00:00
  • 85eeb692f3 Progress toward decending indices. (CVS 2839) drh 2005-12-21 03:16:42 +00:00
  • db515783f7 Include sqlite3_release_memory() code when SQLITE_MEMDEBUG is not defined. (CVS 2838) danielk1977 2005-12-20 14:37:59 +00:00
  • 5591df558a Add simple tests and fixes for sqlite3_soft_heap_limit() (CVS 2837) danielk1977 2005-12-20 09:19:37 +00:00
  • a34b0794e0 Version 2.8.17 (CVS 2836) drh 2005-12-19 17:56:44 +00:00
  • 6ed65f5a3f Website changes in preparation for the release of 2.8.17. (CVS 2834) drh 2005-12-19 17:53:35 +00:00
  • 058d3c4477 Bump the version number of the 2.8 branch to 2.8.17. (CVS 2833) drh 2005-12-19 17:38:35 +00:00
  • fdd4af7e7b Backport the fix for ticket #1567 to version 2.8. (CVS 2832) drh 2005-12-19 17:37:09 +00:00
  • 739aab893a Version 3.2.8 (CVS 2835) branch_3_2 drh 2005-12-19 17:26:59 +00:00
  • 29b6e57b3e Website changes for the release of 3.2.8. (CVS 2831) drh 2005-12-19 17:26:46 +00:00
  • 6a42c8f368 Bump the version number on the 3.2 branch to 3.2.8. (CVS 2830) drh 2005-12-19 16:34:31 +00:00
  • 523de6a830 Backport the fix for ticket #1567 into the 3.2 branch. (CVS 2829) drh 2005-12-19 16:29:07 +00:00
  • 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) drh 2005-12-19 16:15:31 +00:00
  • 0190d1da46 Add some very simple test cases (and resulting bug fixes) for release_memory(). (CVS 2826) danielk1977 2005-12-19 14:18:11 +00:00
  • 13f7299bbe Add the (untested) sqlite3_release_memory() function. (CVS 2825) danielk1977 2005-12-18 08:51:22 +00:00
  • f3f06bb30c Verify that the rollback-hook is invoked correctly when a malloc() failure occurs. (CVS 2824) danielk1977 2005-12-16 15:24:28 +00:00
  • 71fd80bf5c Add the sqlite3_rollback_hook() API. Still requires further testing. (CVS 2823) danielk1977 2005-12-16 06:54:01 +00:00
  • 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) drh 2005-12-16 01:06:16 +00:00
  • fbfb60bc25 Fix the utf8 to utf16 conversion routine for short strings. Bug introduced by check-in (2817). (CVS 2821) drh 2005-12-15 22:34:00 +00:00
  • 94eb6a14cb Add the sqlite3_update_hook() API. (CVS 2820) danielk1977 2005-12-15 15:22:08 +00:00
  • c529f52046 Move malloc(), free(), realloc() and allocationSize() into the Os vtbl. (CVS 2819) danielk1977 2005-12-15 10:50:53 +00:00
  • 13a68c3f61 Add the sqlite3_os_routine_set()/get() functions. (CVS 2818) danielk1977 2005-12-15 10:11:30 +00:00
  • af9a7c22b5 Fix memory allocation problems on the utf-16 versions of collating function control routines. (CVS 2817) drh 2005-12-15 03:04:10 +00:00
  • 26abcb1eef Avoid using the transient value in the UTF-16 collation needed callback. (CVS 2816) drh 2005-12-14 22:51:16 +00:00
  • 268803a95b Properly zero-terminate UTF-16 collation names on an sqlite3_collation_needed16 callback. (CVS 2815) drh 2005-12-14 20:11:30 +00:00
  • 7ddad969a4 Fix minor malloc() related problems and add sqlite3_soft_heap_limit() stubs. (CVS 2814) danielk1977 2005-12-12 06:53:03 +00:00
  • 97f2ebc192 Add the "exists" method to the TCL interface. (CVS 2813) drh 2005-12-10 21:19:04 +00:00
  • 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) drh 2005-12-09 20:54:34 +00:00
  • 03d847eafe More annoying and pointless signedness warnings fixed. (CVS 2811) drh 2005-12-09 20:21:58 +00:00
  • 2646da7e52 Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810) drh 2005-12-09 20:02:05 +00:00
  • 97cb2e969b Define the sqliteMalloc() macro differently to avoid a compiler warning. (CVS 2809) danielk1977 2005-12-09 14:39:04 +00:00
  • 2e588c7525 Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808) danielk1977 2005-12-09 14:25:08 +00:00
  • 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) drh 2005-12-09 02:35:53 +00:00
  • 3c4f2a4202 Provide a pragma to set the codec key. (CVS 2806) drh 2005-12-08 18:12:56 +00:00
  • 00fd957b78 Add some tests for malloc() failure within the column_name() and column_decl() APIs. (CVS 2805) danielk1977 2005-12-07 06:27:43 +00:00
  • f4208043d6 Allow VACUUM to detach the auxillary database after malloc() fails. (CVS 2804) danielk1977 2005-12-06 17:48:31 +00:00
  • f744bb56a1 Modify ATTACH and DETACH to execute at runtime instead of compile time. (CVS 2803) danielk1977 2005-12-06 17:19:11 +00:00
  • 7dd90a4785 Report errors out of sqlite3_open16(). (CVS 2802) drh 2005-12-06 13:19:07 +00:00
  • 1a485fca83 Add test file for new malloc() failure handling. (CVS 2801) danielk1977 2005-12-06 12:57:58 +00:00
  • 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) danielk1977 2005-12-06 12:52:59 +00:00
  • 67e0b84f7d Update mailing list hyperlink on the support page. (CVS 2799) drh 2005-12-05 22:22:40 +00:00
  • 5c434b7265 Make sure sqlite3_result_text can handle text strings with embedded '\000' characters. (CVS 2798) drh 2005-12-05 13:20:01 +00:00
  • bf8aa2a6c5 Add a test to verify that binding text with embedded '\000' works. Also comment changes in os.h. (CVS 2797) drh 2005-12-02 02:44:05 +00:00
  • e90a9ffa12 Documentation updates. (CVS 2796) drh 2005-12-02 01:57:42 +00:00
  • 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) drh 2005-11-30 03:20:31 +00:00
  • 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) drh 2005-11-29 19:56:32 +00:00
  • a2eebaa43b Make the build work on windows again. Ticket #1544. (CVS 2793) drh 2005-11-29 19:50:24 +00:00
  • 1a23593dc0 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) drh 2005-11-29 18:37:15 +00:00
  • 9cbe635219 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) drh 2005-11-29 03:13:21 +00:00
  • 9267bdcecd 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) drh 2005-11-28 12:36:35 +00:00
  • 9a5f7474e3 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) drh 2005-11-26 14:24:40 +00:00
  • 54a167d1fe Make sure left joins still work even when the OR clause optimization fires. Ticket #1537. (CVS 2788) drh 2005-11-26 14:08:07 +00:00
  • d86959f588 Remove some vestiges of the old OS_TEST driver. (CVS 2787) drh 2005-11-26 03:51:18 +00:00
  • 18839217da Add an OS method for making copies of file descriptors. This fixes the crash tests. (CVS 2786) drh 2005-11-26 03:43:23 +00:00
  • 9c06c95309 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) drh 2005-11-26 00:25:00 +00:00
  • aa2289f89c Ensure a low system limit on the number of open files does not cause manydb.test to fail. (CVS 2784) danielk1977 2005-11-25 10:55:57 +00:00
  • 4af65bb160 Add the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2783) danielk1977 2005-11-25 10:38:22 +00:00
  • d7c03f7485 Add the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2782) danielk1977 2005-11-25 10:38:22 +00:00
  • 26c5d79f60 If SQLITE_DISABLE_LFS is defined, omit the bigfile tests. (CVS 2781) danielk1977 2005-11-25 09:01:23 +00:00
  • 0964b23a99 Check the return code of full_fsync() when used to sync a directory fd. (CVS 2780) danielk1977 2005-11-25 08:47:57 +00:00
  • 94c1f6f731 Preserve 64-bit last insert rowids across triggers. (CVS 2779) drh 2005-11-25 02:43:50 +00:00
  • 91636d58c0 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) drh 2005-11-24 23:14:00 +00:00
  • 22465ced29 Make sure sqliteInt.h is included before any system includes. This is required for QNX. Ticket #1478. (CVS 2777) drh 2005-11-24 22:33:05 +00:00
  • fa3b19ef3d Reduce the number of distinct token symbols in the parser so that the parser can store tokens in a single byte and thus be smaller in size. (CVS 2776) drh 2005-11-24 22:22:29 +00:00
  • 31beae983e Comment changes. No changes to code. (CVS 2775) drh 2005-11-24 14:34:36 +00:00
  • 3a4a2d40e1 Fix a comment in btree.c. No code changes. (CVS 2774) drh 2005-11-24 14:24:28 +00:00
  • 3eda040be9 Fix incorrect type conversions when copying from a table into itself. Ticket #1536. (CVS 2773) drh 2005-11-24 13:15:32 +00:00
  • 32daab6cb0 Less verbose output when EXPLAIN QUERY PLAN identifies use of the primary key. (CVS 2772) drh 2005-11-21 12:48:24 +00:00
  • 36d649303f The EXPLAIN QUERY PLAN now identifies when tables use the integer primary key. (CVS 2771) drh 2005-11-21 12:46:27 +00:00
  • 4efc083f57 Fix a problem with the sorting of literals in a compound query. Ticket #1501. (CVS 2770) drh 2005-11-16 13:47:50 +00:00
  • 7e56e71125 Do not allow aggregate functions in a WHERE clause. Ticket #1514. (CVS 2769) drh 2005-11-16 12:53:15 +00:00
  • ed2df7fb68 Avoid unnecessary strlen() calls in the OP_String opcode. (CVS 2768) drh 2005-11-16 04:34:32 +00:00
  • a0943e6666 Fix a bug in UTF-16 handling introduced by the previous check-in. (CVS 2767) drh 2005-11-15 02:14:00 +00:00
  • 8a51256c0c Create separate affinities for INTEGER and REAL. (CVS 2766) drh 2005-11-14 22:29:05 +00:00
  • a8f1914b72 Fix documentation typo. (CVS 2765) drh 2005-11-14 11:51:45 +00:00
  • fd405314d3 About 0.5KiB of additional compression in the parser tables. (CVS 2764) drh 2005-11-06 04:06:59 +00:00
  • 152410fade Work around a bug in MSVC++. Ticket #1513. (CVS 2763) drh 2005-11-05 15:11:22 +00:00
  • 8a9f38feb2 Remove a C++-ism that slipped into the code during the recent CHECK enhancements. Ticket #1513. (CVS 2762) drh 2005-11-05 15:07:55 +00:00
  • ada354db0e Improved table compression in lemon reduces the overall library size by about 1.5KiB. (CVS 2761) drh 2005-11-05 15:03:59 +00:00
  • c9ac5caa45 VACUUM works even on an empty database. Ticket #1512. (CVS 2760) drh 2005-11-04 22:03:30 +00:00
  • c01be744bc sqlite3_column_int() and similar routines return 0 or 0.0 on an out-of-memory condition, not some mysterious error code. (CVS 2759) drh 2005-11-03 14:29:55 +00:00
  • 4284fb0778 Prohibit parameters in CHECK constraint expressions. (CVS 2758) drh 2005-11-03 12:33:28 +00:00