0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-16 21:51:14 +00:00

Commit Graph

  • 54a83b4d5a Update change log for version 3.1.0. (CVS 2256) drh 2005-01-21 17:03:50 +00:00
  • 7bf5661068 Final preparations for the 3.1.0 alpha release. (CVS 2255) drh 2005-01-21 15:52:32 +00:00
  • 576ec6b32a Improve test coverage for minimum feature builds. (CVS 2254) danielk1977 2005-01-21 11:55:25 +00:00
  • 93758c8dcc Exclude a few more lines of code using OMIT macros. (CVS 2253) danielk1977 2005-01-21 08:13:14 +00:00
  • e61b9f4f3c Modify test scripts to work when SQLITE_OMIT_SUBQUERY (but no other OMIT macros) is defined. (CVS 2252) danielk1977 2005-01-21 04:25:47 +00:00
  • 3e8c37e7f8 Modify test scripts to work when SQLITE_OMIT_SUBQUERY (along with other OMIT macros) is defined. (CVS 2251) danielk1977 2005-01-21 03:12:14 +00:00
  • 801845fb2d Add a new test file for subqueries. (CVS 2250) drh 2005-01-21 02:34:44 +00:00
  • 83715c3edd Change the implementation of ALTER TABLE so that it does not use the IN() operattor. (CVS 2249) danielk1977 2005-01-21 00:44:22 +00:00
  • 4eec4c1b0c Fix a segfault that occurs on a corrupt database. (CVS 2248) drh 2005-01-21 00:22:37 +00:00
  • 279d477939 Fix comment typo in mkopcodec.awk. (CVS 2247) drh 2005-01-20 23:23:29 +00:00
  • fe2093d73e Bug fixes and enhancements entered while on jury recess. (CVS 2246) drh 2005-01-20 22:48:47 +00:00
  • 51522cd34a Added the SQLITE_OMIT_SUBQUERY compile-time option and the EXISTS operator. Regression tests are currently failing with an assertion fault. (CVS 2245) drh 2005-01-20 13:36:19 +00:00
  • 5338a5f74d Remove a few more lines of code when SQLITE_OMIT_** macros are defined. (CVS 2244) danielk1977 2005-01-20 13:03:10 +00:00
  • b84f96f854 Extend the influence of a couple of SQLITE_OMIT_** macros a little bit. (CVS 2243) danielk1977 2005-01-20 11:32:23 +00:00
  • 1ad7f64aac Changes so that crash.test works when SQLITE_OMIT_PAGER_PRAGMAS is defined. (CVS 2242) danielk1977 2005-01-20 05:24:32 +00:00
  • 4489f9bdec Fix some test scripts so that they work with a minimal build configuration. (CVS 2241) danielk1977 2005-01-20 02:17:01 +00:00
  • 1bd3644f27 Turn SQLITE_OMIT_CURSOR on by default. (CVS 2240) drh 2005-01-20 02:14:30 +00:00
  • 3119bc421a Expression generator bug fix. (CVS 2239) drh 2005-01-20 01:51:25 +00:00
  • 6d32959693 Minor fix for sqlite3_clear_bindings(). (CVS 2238) danielk1977 2005-01-20 01:17:44 +00:00
  • 600dd0ba33 Add the experimental sqlite3_sleep() and sqlite3_clear_bindings() APIs. (CVS 2237) danielk1977 2005-01-20 01:14:23 +00:00
  • 1398ad3639 Continued refactoring of the name resolution logic and query optimizer. (CVS 2236) drh 2005-01-19 23:24:50 +00:00
  • 76b047d957 Another fix along the same lines as (2234) (CVS 2235) danielk1977 2005-01-19 03:52:54 +00:00
  • ca6707145d A few test cases were failing on windows due to mandatory locking. Omit them on that platform. (CVS 2234) danielk1977 2005-01-19 03:47:15 +00:00
  • 030530de9b Make sure USING and NATURAL work on joins even if the columns are renamed using an AS phrase. Ticket #523. (CVS 2233) drh 2005-01-18 17:40:04 +00:00
  • 79d5f63fa2 CREATE TABLE ... AS ... uses short names for columns. Ticket #1036. (CVS 2232) drh 2005-01-18 17:20:10 +00:00
  • 47a6db2bfd Column names coming back from a SELECT are now just the name of the source column without the "table." prefix. In other words, "PRAGMA short_column_names=ON" is now the default. This makes the names of columns behave more like other SQL engines. The old behavior can be restored by setting "PRAGMA short_column_names=OFF". (CVS 2231) drh 2005-01-18 16:02:40 +00:00
  • 9b3187e113 Continue refactoring name resolution. Fix for ticket #1047. (CVS 2230) drh 2005-01-18 14:45:47 +00:00
  • 73b211abed Refinements to the name resolution logic. Change the name of the keywordhash.c file to keywordhash.h. (CVS 2229) drh 2005-01-18 04:00:42 +00:00
  • 626a879a25 Infrastructure changes to handle name resolution differently. This is needed to fix various long-standing problems with column names in joins. It will also make the implementation of correlated subqueries easier. (CVS 2228) drh 2005-01-17 22:08:19 +00:00
  • 3719d7f9c4 Fix a bug reported on the mailing list concerning a conflict between "INSERT INTO ... SELECT" statements and the "SELECT max(x) FROM tbl" optimization. (CVS 2227) danielk1977 2005-01-17 08:57:09 +00:00
  • 5558a8a697 Fix some memory leak problems with corrupt.test and auto-vacuum databases. (CVS 2226) danielk1977 2005-01-17 07:53:44 +00:00
  • f10519b45a Add incomplete, preliminary drafts of new documentation. (CVS 2225) drh 2005-01-17 03:42:52 +00:00
  • 3c9cc8d095 Fix a memory leak that occurs as a result of an IO error. (CVS 2224) danielk1977 2005-01-17 03:40:08 +00:00
  • fdb7cdb4b1 Change some assert()s that could fail if the database is corrupt to return SQLITE_CORRUPT instead. (CVS 2223) danielk1977 2005-01-17 02:12:18 +00:00
  • 2683665406 Have sqlite3pager_get() return SQLITE_CORRUPT for a page number greater than 2^31. (CVS 2222) danielk1977 2005-01-17 01:33:13 +00:00
  • 615ae553fc Turn on quick-balance by default. (CVS 2221) drh 2005-01-16 23:21:00 +00:00
  • 0d477437ac Drop support for MAC OS9. SQLite 3 has never worked for that OS because the developers do not have access to a machine running it and nobody from the community has stepped forward to provide a port. By moving the os_mac.c file into the attic, we make the lack of support official. (CVS 2220) drh 2005-01-16 20:47:40 +00:00
  • aac0a38d1f Changes to make sure tests work when SQLITE_DEFAULT_AUTOVACUUM is defined. (CVS 2219) danielk1977 2005-01-16 11:07:06 +00:00
  • 4e17d14c63 Fixes so that compiling and testing works when SQLITE_OMIT_AUTOVACUUM is defined. (CVS 2218) danielk1977 2005-01-16 09:06:33 +00:00
  • 79a40da6d7 Move duplicate code to update pointer-map wrt overflow pages into a function. (CVS 2217) danielk1977 2005-01-16 08:00:01 +00:00
  • ac11ee6766 Enhance the performance of auto-vacuum databases by reducing the number of pointer-map entries written during tree balancing. Also fix bugs in balance_quick(). (CVS 2216) danielk1977 2005-01-15 12:45:51 +00:00
  • 018d1a4929 Test coverage improvements. (CVS 2215) drh 2005-01-15 01:52:31 +00:00
  • 8b07c7178a Improved test coverage for update.c. (CVS 2214) drh 2005-01-15 00:40:42 +00:00
  • 39df51b269 Improved coverage for insert.c. (CVS 2213) drh 2005-01-15 00:36:36 +00:00
  • f222e712a4 Add comments to the new balance_quick() routine. (CVS 2212) drh 2005-01-14 22:55:49 +00:00
  • ac245ec5af Experimental patch to balance() (use -DSQLITE_BALANCE_QUICK). (CVS 2211) danielk1977 2005-01-14 13:50:11 +00:00
  • d6fe961ef4 Improved test coverage on insert.c. (CVS 2210) drh 2005-01-14 01:22:00 +00:00
  • 3b93bc8cb1 Need SQLITE_MEMDEBUG instead of SQLITE_DEBUG in tclsqlite.c. (CVS 2209) drh 2005-01-13 23:54:32 +00:00
  • 8d65973d93 Fix a bug in lemon that does not effect SQLite. Ticket #1068. (CVS 2208) drh 2005-01-13 23:54:06 +00:00
  • c08d405d2e Tidy up malloc.test a bit. (CVS 2207) danielk1977 2005-01-13 13:35:57 +00:00
  • 6b77a36abf Fix typo in shell .help. Ticket #1071. (CVS 2206) danielk1977 2005-01-13 11:10:25 +00:00
  • aca790ace3 Test cases to improve coverage of pager.c. (CVS 2205) danielk1977 2005-01-13 11:07:52 +00:00
  • 2c3365493b Fixes to 'configure' build system. Also extra coverage for main.c. (CVS 2204) danielk1977 2005-01-13 02:14:23 +00:00
  • 656152c2e3 Fix a test bug introduce with the previous commit. (CVS 2203) danielk1977 2005-01-12 13:04:54 +00:00
  • 4397de57ce Tests to improve coverage of main.c. (CVS 2202) danielk1977 2005-01-12 12:44:03 +00:00
  • 8b60e0f142 Tests to improve coverage of vdbeaux.c. (CVS 2201) danielk1977 2005-01-12 09:10:39 +00:00
  • b5402fbf05 Tests to improve coverage of vdbemem.c. (CVS 2200) danielk1977 2005-01-12 07:15:04 +00:00
  • c8f9079c61 Fix a bug in tclsqlite.c. (CVS 2199) drh 2005-01-12 00:08:24 +00:00
  • ac931eb93b Fix for ticket #1062: Correctly handle redundant terms in a WHERE clause. (CVS 2198) drh 2005-01-11 18:13:56 +00:00
  • a0d1f663e1 Allow '$' in the middle of identifiers. Ticket #1066. This is an experimental change. It might be backed out at a later date. (CVS 2197) drh 2005-01-11 17:59:47 +00:00
  • 48e5aa2769 Test coverage improvements on tokenize.c. (CVS 2196) drh 2005-01-11 17:46:41 +00:00
  • c5cdca613a Improved test coverage for vdbeaux.c. (CVS 2195) drh 2005-01-11 16:54:14 +00:00
  • cacb208e4e Improved test coverage for util.c. (CVS 2194) drh 2005-01-11 15:28:33 +00:00
  • 01427a6214 Test cases to improve coverage of vdbe.c. (CVS 2193) danielk1977 2005-01-11 13:02:33 +00:00
  • 1400b52838 Remove a C++ style comment that went in with the previous commit. (CVS 2192) danielk1977 2005-01-11 11:08:22 +00:00
  • 62e05d8feb Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2191) danielk1977 2005-01-11 10:25:06 +00:00
  • 2812956b18 Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2190) danielk1977 2005-01-11 10:25:06 +00:00
  • 7701e817ba Extra test cases to improve coverage of btree.c (CVS 2189) danielk1977 2005-01-10 12:59:51 +00:00
  • 307a777932 Update some documentation for version 3.1. (CVS 2188) danielk1977 2005-01-10 06:39:56 +00:00
  • cc6bd38380 Fix an assertion failure due to interaction between the count_changes pragma and triggers. (CVS 2187) danielk1977 2005-01-10 02:48:49 +00:00
  • 49766d6cd0 Tcl interface does as sqlite3 or as sqlite. A compile-time option allows duel linking. Also fix a bug in the pragma change from earlier today. (CVS 2186) drh 2005-01-08 18:42:28 +00:00
  • 268283bc7f Fixes to the temp_store_directory pragma. (CVS 2185) drh 2005-01-08 15:44:25 +00:00
  • 4b238dfb80 Fix a comment. (CVS 2184) drh 2005-01-08 15:43:18 +00:00
  • 42741be968 Fix a problem with auto-vacuum databases and the VACUUM command. Also add "pages read" and "pages written" statistics to the pager layer. (CVS 2183) danielk1977 2005-01-08 12:42:39 +00:00
  • 59adfaa6ce Minor test script changes to allow all.test to run when SQLITE_DEFAULT_AUTOVACUUM=1 is defined. (CVS 2182) danielk1977 2005-01-08 02:35:44 +00:00
  • d9c847dcd1 Reset the temp_store_directory each iteration of tests in all.test. (CVS 2181) danielk1977 2005-01-07 10:42:48 +00:00
  • a3ad5e7d9f Fix a read of invalid memory that could occur in btree.c. (CVS 2180) danielk1977 2005-01-07 08:56:44 +00:00
  • dcd7c471ce Remove incorrect assert() and add extra option to account for non-standard 'sort' program in some linux versions. (CVS 2179) danielk1977 2005-01-07 01:56:17 +00:00
  • 9d9f76c0b6 add --enable-debug to configure options, controls -DNDEBUG flag (CVS 2178) tpoindex 2005-01-03 21:28:56 +00:00
  • 7a9b161587 add comment that table is accessed by primary key (CVS 2177) tpoindex 2005-01-03 18:13:18 +00:00
  • 49d642dba8 Allow GROUP BY on aggregate queries only. Ticket #1039. (CVS 2176) drh 2005-01-03 02:26:54 +00:00
  • c89b91beee Fix typos in comments in test code. (Oops. This check-in also picked up some unrelated changes to documentation.) (CVS 2175) drh 2005-01-03 01:32:59 +00:00
  • 7465a80899 Fix a typo in a comment. No code changes. Ticket #1052. (CVS 2174) drh 2005-01-03 01:28:51 +00:00
  • acf3b988f6 Fix comment typos. no code changes. (CVS 2173) drh 2005-01-03 01:27:18 +00:00
  • e6f85e71e9 Fix ticket #1046 by removing code and simplifying the query optimizer. Remarkably, this simplification also makes the optimizer do a better job. Ticket #1051 was fixed as a side-effect. (CVS 2172) drh 2004-12-25 01:03:13 +00:00
  • 9a09a3caed Add PRAGMA 'temp_store_directory'. Added os_*.c function sqlite3OsIsDirWritable(), split pragma.c changeTempStorage() function into invalidateTempStorage(). (CVS 2171) tpoindex 2004-12-20 19:01:32 +00:00
  • 9012bcbc0a The optimizer now uses only the index and ignores the table if it can get away with doing so, thus saving a single BTree search per row of result. This could potentially double the speed of certain queries. The code passes all regression tests but new tests to exercise the new functionality are yet to be added. (CVS 2170) drh 2004-12-19 00:11:35 +00:00
  • 51669863a8 Improvements to the query optimizer. This is a work in progress. (CVS 2169) drh 2004-12-18 18:40:26 +00:00
  • 9ee3cdcba7 Fix a C++-ism in the previous change to tclsqlite.c. (CVS 2168) drh 2004-12-17 20:48:06 +00:00
  • 1067fe1104 Add 'copy' method for tcl interface. Behaves similar to shell .import or COPY statment in 2.x. (CVS 2167) tpoindex 2004-12-17 15:41:11 +00:00
  • be5fd4906d Make sure LIMITs are handled correctly on UNION operators. Ticket #1035. (CVS 2166) drh 2004-12-16 21:09:16 +00:00
  • 23bf66d6af Minor code and comment cleanup. (CVS 2165) drh 2004-12-14 03:34:34 +00:00
  • 6a8903c3fc Factor the test for zName==NULL out of the loop. Ticket #1032. (CVS 2164) drh 2004-12-10 18:00:04 +00:00
  • daa28ff326 Fix a problem with the automatic generation of the opcode name table. (CVS 2163) drh 2004-12-10 17:17:18 +00:00
  • 93468367fe Back out the USE_TCL_STUBS changes because it breaks the build. I think the strategy needs to be to abandon libtool and use tcl.m4 to figure out how to build our own shared libraries. Ticket #1034. (CVS 2162) drh 2004-12-10 03:08:12 +00:00
  • b571b457fa Improvements to the --help option to configure. Ticket #1033. (CVS 2161) drh 2004-12-10 02:20:27 +00:00
  • 8671e6d784 Add a -DUSE_TCL_STUBS to the standard Makefile. This might help with ticket #1034. Or maybe not. (CVS 2160) drh 2004-12-10 02:08:41 +00:00
  • 10fb11da9e Enhance sqlite3_bind_parameter_index so that is does not segfault if you call it incorrectly by passing NULL in place of the parameter name. Ticket #1032. (CVS 2159) drh 2004-12-09 18:29:13 +00:00
  • 2530378003 Only evaluate expressions once for UPDATE and INSERT statements that have BEFORE triggers. Fix for ticket #980. (CVS 2158) drh 2004-12-07 15:41:48 +00:00
  • dca7684141 Simplify the trigger logic for DELETE, INSERT, and UPDATE. (CVS 2157) drh 2004-12-07 14:06:13 +00:00