0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-16 20:41:23 +00:00

Commit Graph

  • 81db88e630 Remove the unused sqlite3_context.isStep element. (CVS 2156) drh 2004-12-07 12:29:17 +00:00
  • 32c0d4f17b Updates to API documentation and comments in sqlite3.h. (CVS 2155) drh 2004-12-07 02:14:51 +00:00
  • 61212b69c1 Get the build of sqlite3_analyzer working with Makefile.in. (CVS 2154) drh 2004-12-02 20:17:00 +00:00
  • 4b2266ae4c Disable the cursors. "make install" now builds and installs a TCL package for SQLite if TCL is installed on the system. (CVS 2153) drh 2004-11-27 15:52:16 +00:00
  • 7b5717e1a1 The configure script now automatically detects tclConfig.sh and builds the Tcl extension only if tclConfig.sh is present. The Tcl extension can be disabled using --disable-tcl. (CVS 2152) drh 2004-11-25 13:50:01 +00:00
  • 3b7b78b312 Fix a memory leak in pager.c. (CVS 2151) drh 2004-11-24 01:16:43 +00:00
  • 251b067ccd fulltest runs now, but still finds a memory leak. (CVS 2150) drh 2004-11-23 22:16:39 +00:00
  • 8b840013da Fix a memory leak in ALTER TABLE. (CVS 2149) danielk1977 2004-11-23 16:31:16 +00:00
  • 1d54df88e3 Add authorization callbacks for REINDEX. (CVS 2148) danielk1977 2004-11-23 15:41:16 +00:00
  • 78583d2440 Include the 'FOR' keyword in builds that include cursors but not triggers. (CVS 2147) danielk1977 2004-11-23 12:24:13 +00:00
  • 11cf9fbcf2 Make the test suite pass when SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS is defined. (CVS 2146) danielk1977 2004-11-23 11:16:42 +00:00
  • c7b4a44cda Ensure the test suite runs with SQLITE_OMIT_PAGER_PRAGMAS defined. (CVS 2145) danielk1977 2004-11-23 10:52:51 +00:00
  • 27188fb5f0 Have tests pass when SQLITE_OMIT_SCHEMA_PRAGMAS is defined. (CVS 2144) danielk1977 2004-11-23 10:13:03 +00:00
  • ae82558bd0 Fix a bug involving balance_shallow() and the sqlite_master table. (CVS 2143) danielk1977 2004-11-23 09:06:55 +00:00
  • e4e7207248 More work on the implementation of cursors, but they are still not functioning. (CVS 2142) drh 2004-11-23 01:47:30 +00:00
  • b6c29897eb Add initial infrastructure for cursors. In where.c, optimize out clauses of the form "ORDER BY rowid" if a table scan is being performed. Do a reverse table scan if "ORDER BY rowid DESC" is present. (CVS 2141) drh 2004-11-22 19:12:19 +00:00
  • 8237d45ed8 Fix a long-standing bug in btree.c in the sqlite3BtreePrevious() routine. The problem has gone unnoticed before now because it only occurs when you use the OP_Prev opcode on a B+Tree. (CVS 2140) drh 2004-11-22 19:07:09 +00:00
  • d8702b4d40 Fix a couple of extra test-suite problems with SQLITE_OMIT_VIEW. (CVS 2139) danielk1977 2004-11-22 15:05:58 +00:00
  • 27c774388a Ensure tests pass when SQLITE_OMIT_COMPOUND_SELECT is defined. (CVS 2138) danielk1977 2004-11-22 13:35:41 +00:00
  • 81650dc6c8 Ensure tests pass when SQLITE_OMIT_TRIGGER is defined. (CVS 2137) danielk1977 2004-11-22 11:51:13 +00:00
  • 125254784d Fix a test-suite error made in check-in (2132) (CVS 2136) danielk1977 2004-11-22 10:20:13 +00:00
  • aecc8ba904 Back out changes allowing writes to tables that have open cursors. (CVS 2135) danielk1977 2004-11-22 10:02:23 +00:00
  • 12b13002ce Back out changes allowing writes to tables that have open cursors. (CVS 2134) danielk1977 2004-11-22 10:02:21 +00:00
  • 299b187d76 Back out changes allowing writes to tables that have open cursors. (CVS 2133) danielk1977 2004-11-22 10:02:10 +00:00
  • 0fa8ddbdec Modify test suite to work when SQLITE_OMIT_VIEW is defined. (CVS 2132) danielk1977 2004-11-22 08:43:32 +00:00
  • 03aded4924 Have tests pass when SQLITE_OMIT_MEMORYDB is defined. (CVS 2131) danielk1977 2004-11-22 05:26:27 +00:00
  • 215e64da5e Fix auth.test to work when SQLITE_OMIT_ALTERTABLE is defined. (CVS 2130) danielk1977 2004-11-22 03:34:21 +00:00
  • f856582562 AUTOINCREMENT documentation added. Improvements to lang.html. (CVS 2129) drh 2004-11-21 01:02:00 +00:00
  • 60404f46c1 Fix to the documentation on sqlite3_create_function. Ticket #899. (CVS 2128) drh 2004-11-20 21:02:13 +00:00
  • b9ecf6fa8e Avoid excess heap usage when copying expressions. Ticket #979. (CVS 2127) drh 2004-11-20 20:44:13 +00:00
  • 6f65beb084 Avoid excess heap usage when copying expressions. Ticket #979. (CVS 2126) drh 2004-11-20 20:42:10 +00:00
  • 42cac6dacb Correct use of usableSize versus pageSize in btree.c. Ticket #1010. (CVS 2125) drh 2004-11-20 20:31:11 +00:00
  • b08153d0fb Better error message on an SQLITE_RANGE error. Ticket #991. (CVS 2124) drh 2004-11-20 20:18:55 +00:00
  • bf128941d0 Rename source file sqlite.1 as sqlite3.1. Ticket #995. (CVS 2123) drh 2004-11-20 19:55:18 +00:00
  • 6c90fecc96 Omit the maximum loop count on the random name chooser in the VACUUM command. Add a comment to explain why this is safe and does not result in an infinite loop. Ticket #1009. (CVS 2122) drh 2004-11-20 19:18:55 +00:00
  • 4693423b09 Rig the sqliteMalloc() routine so that we can make it fail multiple times in a row. Modify the malloc.test procedure to make malloc fail in this way and verify that the failures are still handled correctly. (CVS 2121) drh 2004-11-20 19:18:00 +00:00
  • 7a5b729aa7 Preserve the default_temp_store pragma across VACUUM in version 2.8. (Version 3.0 already does this.) Ticket #1008. (CVS 2120) drh 2004-11-20 19:01:44 +00:00
  • 73c42a1386 Fix segfaults that might occur after a malloc failure. (CVS 2119) drh 2004-11-20 18:13:10 +00:00
  • f9c852bfd5 Documentation for REINDEX and ALTER TABLE commands. (CVS 2118) danielk1977 2004-11-20 08:17:18 +00:00
  • 2097e949f6 Add a documentation page for compilation options. Still some work to go. (CVS 2117) danielk1977 2004-11-20 06:05:56 +00:00
  • cd45ab2d6f Split up the lang.html page into a seperate page for each command. (CVS 2116) danielk1977 2004-11-19 11:59:23 +00:00
  • 023f41762c Ensure ALTER TABLE respects the system table convention - "sqlite_*". (CVS 2115) danielk1977 2004-11-19 08:41:34 +00:00
  • aacd732b11 Update the sqlite_sequence table when a table is renamed with ALTER_TABLE. (CVS 2114) danielk1977 2004-11-19 08:02:14 +00:00
  • 4d36b81ea0 When dropping a table, update the sqlite_sequence table first, as auto-vacuum mode may need to move sqlite_sequence when the btree table is dropped. (CVS 2113) danielk1977 2004-11-19 07:07:30 +00:00
  • 343e92610e Fix bugs in ALTER TABLE related to (a) whitespace in table defn, (b) temp triggers. (CVS 2112) danielk1977 2004-11-19 05:14:54 +00:00
  • d641d646ff Handle triggers correctly in ALTER TABLE. (CVS 2111) danielk1977 2004-11-18 15:44:29 +00:00
  • 20fc0887f5 Speed improvement on the LIKE command. (CVS 2110) drh 2004-11-18 13:49:25 +00:00
  • e854c5607b Fix an obsolete comment that resulted in incorrect documentation. Ticket #1003. (CVS 2109) drh 2004-11-18 02:10:55 +00:00
  • 4f1f8705f6 Clarify the documentation of the sqlite3_create_function API. Ticket #1004. (CVS 2108) drh 2004-11-18 02:04:09 +00:00
  • 7c6303c042 Add the ESCAPE clause to the LIKE operator. Not fully tested yet. (CVS 2107) danielk1977 2004-11-17 16:41:29 +00:00
  • c7dc75334f Extra tests and resulting bugfixes for btree cursors. (CVS 2106) danielk1977 2004-11-17 10:22:03 +00:00
  • 602479eae8 Clarify the LIMIT clause in the documentation. Ticket #1002. (CVS 2105) drh 2004-11-16 23:21:56 +00:00
  • ed326d7047 Perform deletes in a single pass. (CVS 2104) danielk1977 2004-11-16 15:50:19 +00:00
  • 6a43f9b3ff Allow btree cursors to persist through BtreeDelete() calls. (CVS 2103) danielk1977 2004-11-16 04:57:24 +00:00
  • 670fb032ab Fix a typo in the header comment to the MakeRecord opcode so that the documentation generator will actually see the opcode description. Ticket #1001. (CVS 2102) drh 2004-11-15 23:42:27 +00:00
  • 7b4e7268f1 Add test cases for escape characters in the GLOB operator. (CVS 2101) drh 2004-11-15 01:40:47 +00:00
  • 6c62608fc6 The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100) drh 2004-11-14 21:56:29 +00:00
  • 5436dc2d97 Changes toward reducing code size when SQLITE_OMIT_UTF16 is enabled. (CVS 2099) drh 2004-11-14 04:04:17 +00:00
  • 13d7042a73 More compile-time options for removing components. (CVS 2098) drh 2004-11-13 15:59:14 +00:00
  • ce9a7b1e57 Code toward having btree cursors persist when their table is written too. Doesn't work properly yet. (CVS 2097) danielk1977 2004-11-13 13:19:56 +00:00
  • 8040bc8b57 Fix the keyword generator so that it works with SQLITE_OMIT_ALTERTABLE. (CVS 2096) drh 2004-11-13 03:59:25 +00:00
  • f338814455 Autoincrement is now working and has regression tests. (CVS 2095) drh 2004-11-13 03:48:06 +00:00
  • b92b70bb0a Change pragmas schema_cookie and user_cookie to schema_version and user_version. (CVS 2094) danielk1977 2004-11-12 16:11:59 +00:00
  • 1c8c23cc36 Add authorization callbacks to ALTER TABLE. (CVS 2093) danielk1977 2004-11-12 15:53:37 +00:00
  • 9fd2a9a028 Add the "ALTER TABLE xxx RENAME TO yyy" command. (CVS 2092) danielk1977 2004-11-12 13:42:30 +00:00
  • 2958a4e6a5 Autoincrement code installed. Simple smoke-testing only. No regression tests developed yet. (CVS 2091) drh 2004-11-12 03:56:15 +00:00
  • 817c60bd66 Website updates. (CVS 2090) drh 2004-11-11 19:32:40 +00:00
  • dae2495b1f Add the schema_cookie and user_cookie pragmas. (CVS 2089) danielk1977 2004-11-11 05:10:43 +00:00
  • 2df9fabf3c Add documentation for DEFAULT CURRENT_TIME & co. (CVS 2088) danielk1977 2004-11-11 01:50:30 +00:00
  • 45901d622c Ensure the test suite can run with either SQLITE_OMIT_AUTOVACUUM or SQLITE_DEFAULT_AUTOVACUUM=1 defined. (CVS 2087) danielk1977 2004-11-10 15:27:38 +00:00
  • ae381aa1b6 Fix expr.test so that it works when the date-time functions are compiled out of the library. (CVS 2086) danielk1977 2004-11-10 12:34:20 +00:00
  • e6efa74b9f Ensure tables cannot be created/dropped when btree cursors are open. (CVS 2085) danielk1977 2004-11-10 11:55:10 +00:00
  • 2a03c3a326 Add user documentation for the "pragma auto_vacuum" command. (CVS 2084) danielk1977 2004-11-10 05:48:57 +00:00
  • 752e679a1e Have "DEFAULT CURRENT_TIME" & co. work even if SQLITE_OMIT_DATETIME_FUNCS is defined. (CVS 2083) danielk1977 2004-11-09 16:13:33 +00:00
  • 7977a17f06 Port the "DEFAULT CURRENT_TIME" etc. functionality from an earlier fork of sqlite. (CVS 2082) danielk1977 2004-11-09 12:44:37 +00:00
  • 0ba87cb85d Refactor the space-analysis script for readability. (CVS 2081) danielk1977 2004-11-09 07:42:11 +00:00
  • 16254450f4 Update the space-analyzer tool to support auto-vacuum databases. (CVS 2080) danielk1977 2004-11-08 16:15:09 +00:00
  • 8f5a31b50f A few more auto-vacuum tests. (CVS 2079) danielk1977 2004-11-08 12:32:50 +00:00
  • e0830e8e03 Check in the file autovacuum_crash.test that should be part of the previous check-in. (CVS 2078) danielk1977 2004-11-08 09:51:09 +00:00
  • 94daf7fdff Test auto-vacuum mode for crash-proofness. Also fix a bug related to the same. (CVS 2077) danielk1977 2004-11-08 09:26:09 +00:00
  • 599fcbae56 Auto-vacuum: Account for the page reserved for windows locking (PENDING_BYTE). (CVS 2076) danielk1977 2004-11-08 07:13:13 +00:00
  • e497f0051f Reindex tests added and bugs fixed. (CVS 2075) drh 2004-11-07 13:01:49 +00:00
  • ef73ee9a46 Auto-vacuum: Ensure pages to be removed by database truncation are in the journal file. Also fix an sqlite3pager_movepage() bug. (CVS 2074) danielk1977 2004-11-06 12:26:07 +00:00
  • eee46cf35c Compile and pass the quick regression tests with autovacuum disabled. (CVS 2073) drh 2004-11-06 00:02:48 +00:00
  • 4343fea20f First cut at a REINDEX command. Basic testing only. No documentation. (CVS 2072) drh 2004-11-05 23:46:15 +00:00
  • b17131a084 Use sqlite3NestedParse to implement DROP INDEX. (CVS 2071) drh 2004-11-05 22:18:49 +00:00
  • 063336a55e Use sqlite3NestedParse to implement CREATE INDEX. (CVS 2070) drh 2004-11-05 20:58:39 +00:00
  • 4794f73524 Create table now works with sqlite3NestedParse. This changed uncovered a latent bug in xprintf which is also fixed. (CVS 2069) drh 2004-11-05 17:17:50 +00:00
  • d761c0c9fd Do not truncate a database file until after fsync() has been called on the journal. (CVS 2068) danielk1977 2004-11-05 16:37:02 +00:00
  • 951af8050b Make auto-vacuum a run-time option (default determined by SQLITE_DEFAULT_AUTOVACUUM macro). (CVS 2067) danielk1977 2004-11-05 15:45:09 +00:00
  • 87a6e7318f Auto-vacuum bug: Don't set meta(3) to a pointer-map page number when deleting a table. (CVS 2066) danielk1977 2004-11-05 12:58:25 +00:00
  • cb1a7eb0df Fix allocation of tables in an auto-vacuum database when the required root-page is on the free-list. (CVS 2065) danielk1977 2004-11-05 12:27:02 +00:00
  • 63e3e9f81a Don't code an OP_Statement within sqlite3NestedParse(). Also a correction to the UPDATE statement used within destroyRootPage(). (CVS 2064) danielk1977 2004-11-05 09:19:27 +00:00
  • e7de6f25a8 When using sqlite3NestedParse() to modify the sqlite_master table, do not code OP_Callback. (CVS 2063) danielk1977 2004-11-05 06:02:06 +00:00
  • 7a638581b2 Another bug fix from two check-ins ago. (CVS 2062) drh 2004-11-05 05:23:59 +00:00
  • 958390005b Fix a bug in the previous check-in. (CVS 2061) drh 2004-11-05 05:20:40 +00:00
  • 4e0cff6080 More use of sqlite3NestedParse. This version of the code does not work. (CVS 2060) drh 2004-11-05 05:10:28 +00:00
  • f197484617 Begin using sqlite3NestedParse() to generate sections of code. (CVS 2059) drh 2004-11-05 03:56:00 +00:00
  • a64a035f7e Fix bug introduced with (2057). (CVS 2058) danielk1977 2004-11-05 01:45:13 +00:00
  • 467d4707ff Pop the value pushed by OP_Destroy if SQLITE_OMIT_AUTOVACUUM is defined. (CVS 2057) danielk1977 2004-11-05 01:24:12 +00:00