0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-16 10:18:47 +00:00

Commit Graph

  • 23e11cab7d Update test3.c to work with the new btree.c API. (CVS 1314) drh 2004-05-04 17:27:28 +00:00
  • a5d14fe7c5 Added template for the utf.c file containing conversion routines. (CVS 1313) drh 2004-05-04 15:00:46 +00:00
  • 9102529d8c Incremental btree.c changes. (CVS 1312) drh 2004-05-03 19:49:32 +00:00
  • 4b70f11aea Changes to btree for the new file format are mostly complete. Still need to test and debug. (CVS 1311) drh 2004-05-02 21:12:19 +00:00
  • 4e0e4d7a9e Fix a stack overflow problem with INSTEAD OF triggers. (CVS 1310) drh 2004-04-29 16:16:29 +00:00
  • 8856d6aad2 Sync all version 3 changes. (CVS 1309) drh 2004-04-29 14:42:46 +00:00
  • 3aac2dd7bc Pager tests working. (CVS 1308) drh 2004-04-26 14:10:20 +00:00
  • 064cf76bb1 Changes to lemon.c so that it compiles on OpenWatcom 1.3. Ticket #665. (CVS 1307) drh 2004-04-24 12:59:13 +00:00
  • 9e572e608f Begin modifying the BTree code for the new version-3 file format. This is a work-in-progress. As of this check-in, SQLite will not build. (CVS 1306) drh 2004-04-23 23:43:10 +00:00
  • cc83b6e071 Add an extra assert() to lemon.c to make debugging easier. Ticket #692. (CVS 1305) drh 2004-04-23 23:38:42 +00:00
  • a38518d673 Add some extra debugging logic to lemon.c. Ticket #692. (CVS 1304) drh 2004-04-23 23:37:56 +00:00
  • 226e5f9de7 Branch version_2. Code for version 3 is on the trunk. (CVS 1303) drh 2004-04-23 23:19:59 +00:00
  • 1bdd9b5787 Get the temp_store and default_temp_store pragmas working. Update the documentation. Also fix a malloc problem that popped up during the regression testing. (CVS 1302) drh 2004-04-23 17:04:44 +00:00
  • 932ee8f4bb Fix windows DLL section of Makefile.in for use with build dir. (CVS 1301) rdc 2004-03-26 23:16:31 +00:00
  • d888544275 Change the ".database" command in the shell to allocate more characters to the database name and filename. (CVS 1300) drh 2004-03-17 23:42:12 +00:00
  • 8b8891bf0a Fix a VDBE stack overflow that occurs when the left-hand side of an IN expression is NULL and the result is stored on the stack rather than used to control a jump. Ticket #668. (CVS 1299) drh 2004-03-17 23:32:08 +00:00
  • 276fd588d8 The sqlite_trace() API only works for commands started by the user, not for SQL commands run during initialization. (CVS 1298) drh 2004-03-17 18:44:45 +00:00
  • a8804c82b8 Makefile.in and sqlite.def changes for encode and non-toplevel build; ticket #667 (CVS 1297) dougcurrie 2004-03-16 21:49:49 +00:00
  • 6ff15d0c49 Prototypes for sqlite_encode_binary() and sqlite_decode_binary() added to sqlite.h. (CVS 1296) drh 2004-03-14 22:12:34 +00:00
  • 6da834a8b4 Make sqlite_encode_binary() and sqlite_decode_binary() an official part of the library. (CVS 1295) drh 2004-03-14 22:11:59 +00:00
  • 371cb93a2a Updates to the architecture document. (CVS 1294) drh 2004-03-14 11:57:58 +00:00
  • 6e17529e97 Fix the min/max optimizer so that it works when the FROM clause is a subquery. Ticket #658. (CVS 1293) drh 2004-03-13 14:00:36 +00:00
  • 1a72d72a7f Typecast to work around a bug in {quote: CodeWarrior} Studio v9.1. Ticket #654. (CVS 1292) drh 2004-03-10 18:57:31 +00:00
  • 7972e32a9e Fixed default target. (CVS 1291) a.rottmann 2004-03-10 18:53:09 +00:00
  • 66eb270d6b * Added rule for rebuilding Makefile from Makefile.in. * Fixed double-slash problem induced by adding DESTDIR support. (CVS 1290) a.rottmann 2004-03-10 16:32:03 +00:00
  • a0c9a112de The BTree layer now returns SQLITE_READONLY on an attempt to open a write cursor on a read-only database. Previously, the failure would not occur until there was an attempt to write to the cursor. (CVS 1289) drh 2004-03-10 13:42:37 +00:00
  • 06333689a7 The shell program now ignores extra whitespace at the end of dot-commands. (CVS 1288) drh 2004-03-09 13:37:45 +00:00
  • a2cfd57491 Version 2.8.13 (CVS 1287) drh 2004-03-08 13:57:54 +00:00
  • e3f25eb91e Update change log for version 2.8.13. (CVS 1286) drh 2004-03-08 13:45:24 +00:00
  • 489c4677a0 Bump the version number to 2.8.13. Patch up the limit test so that it works in spite of ticket #521 - we don't want any tests failing in an official release even if there are bugs. :-D (CVS 1285) drh 2004-03-08 13:26:17 +00:00
  • aa5707cd5e Correct duplicate tracing of SQL statements. (CVS 1284) rdc 2004-03-04 19:09:20 +00:00
  • 79f14b7240 A vdbe stack element might have a string value even after a call to Integerify(). Ticket #641. (CVS 1283) drh 2004-03-03 01:51:24 +00:00
  • b1aa04fccc Make sure a LIMIT clause on a SELECT cleans up the vdbe stack so that if it occurs inside a trigger, it won't cause a stack overflow. Ticket #640. (CVS 1282) drh 2004-03-02 18:37:41 +00:00
  • 9bc8b93f41 Updated aclocal.m4 and configure. (CVS 1281) a.rottmann 2004-02-29 15:18:31 +00:00
  • 0d131ab716 One more fix to the new HH:MM:SS modifier. This time add some test procedures too. (CVS 1280) drh 2004-02-29 01:08:17 +00:00
  • b6829e94bd Try again to get the HH:MM:SS modifier change right... (CVS 1279) drh 2004-02-29 00:50:33 +00:00
  • 446536a089 Fix a bug in the HH:MM:SS modifier change that was just checked in. (CVS 1278) drh 2004-02-29 00:48:08 +00:00
  • 33a9ad2f8c Allow time modifiers of the form HH:MM:SS.SSS with an option "+" or "-" prefix. The specified amount of time is added into the date-time begin modified. (CVS 1277) drh 2004-02-29 00:40:32 +00:00
  • 3039c0a896 Fix some compiler warnings in LCC. The warnings did not indicate real problems. Ticket #634. Not all warnings in ticket #634 were fixed. (CVS 1276) drh 2004-02-29 00:11:30 +00:00
  • 1d78a38f51 Make Windows .dll build use the real .o files, not the libtool-faked .lo ones. (CVS 1275) a.rottmann 2004-02-28 18:02:20 +00:00
  • 964dbb1e6c Build system update: a.rottmann 2004-02-26 19:47:42 +00:00
  • f146a77677 Add comments and prototype for experimental sqlite_last_statement_changes() API function. Also, allow function to be called from tcl. (CVS 1273) rdc 2004-02-25 22:51:06 +00:00
  • 268380ca9e Min() and max() functions honor the distinction between TEXT and NUMERIC data. Ticket #623. typeof() is now a user function. Some tests are now failing due to ticket #521. (CVS 1272) drh 2004-02-25 13:47:31 +00:00
  • d41d73d556 Fix the return type of sqliteRunVacuum. Ticket #627. (CVS 1271) drh 2004-02-25 02:33:34 +00:00
  • f73287ceb0 Shell program saves command-line history on a ".quit". Ticket #614. (CVS 1270) drh 2004-02-25 02:25:37 +00:00
  • 946966f2a1 Disable an assert which (as it turns out) is not always true. Ticket #615. (CVS 1269) drh 2004-02-25 02:20:41 +00:00
  • cd44690ad0 Refactor parts of write operations. (CVS 1268) drh 2004-02-24 01:05:31 +00:00
  • 02f75f19e5 Make sure BEGIN, COMMIT, and ROLLBACK are really no-ops when preceded by EXPLAIN. Ticket #626. (CVS 1267) drh 2004-02-24 01:04:11 +00:00
  • 701a0aebe2 Use sqliteVdbeOp3 instead of sqliteVdbeChangeP3 where applicable. (CVS 1266) drh 2004-02-22 20:05:00 +00:00
  • d383401c6a Code cleanup in build.c. (CVS 1265) drh 2004-02-22 18:56:49 +00:00
  • f7a9e1ac87 Use sqliteErrorMsg instead of sqliteSetString whereever practical. (CVS 1264) drh 2004-02-22 18:40:56 +00:00
  • eb9a9e8888 Code cleanup in the date and time functions. (CVS 1263) drh 2004-02-22 17:49:32 +00:00
  • 2d3917da29 Rearrange the grammar some so that tokens that are used together appear together in the grammar file. This reduces the size of the parser tables and some of the jump tables in switch statements. (CVS 1262) drh 2004-02-22 16:27:00 +00:00
  • 60d316542f Do not sort terminal symbols by name. The terminals remain in the same order that they are encountered in the grammar file. This results in parse tables that are 25% smaller. (CVS 1261) drh 2004-02-22 00:08:04 +00:00
  • b621c23775 Test cases for printf of double overflows. (CVS 1260) drh 2004-02-21 19:41:04 +00:00
  • 3e7bc9ca1c Fix a long-standing memory leak that the new last_insert_rowid() tests brought to light. (CVS 1259) drh 2004-02-21 19:17:17 +00:00
  • 5f968436e6 Cleanup the printf code to make it smaller and more modular. Fix a memory leak in the new OP_ContextPush opcode. (CVS 1258) drh 2004-02-21 19:02:30 +00:00
  • 8722318f3c Flag pragmas like vdbe_trace now return their current setting if they are called with no arguments. (CVS 1257) drh 2004-02-21 14:00:29 +00:00
  • 905793e249 More code cleanup and size reduction. (CVS 1256) drh 2004-02-21 13:31:09 +00:00
  • 8eb2cce55c Enhance date/time functions to work with negative years. Ticket #617. (CVS 1255) drh 2004-02-21 03:28:18 +00:00
  • 8307ac7521 Turn the short_column_names pragma off by default - for the time being. (CVS 1254) drh 2004-02-20 23:34:07 +00:00
  • 9d524f6b9c Add sqlite.def file required for correct operation of "make implib" option in Makefile.in (CVS 1253) rdc 2004-02-20 22:55:41 +00:00
  • a503d7312a Fixed behaviour of last_insert_rowid() with triggers and add last_statement_change_count() function that works correctly with triggers. (CVS 1252) rdc 2004-02-20 22:54:25 +00:00
  • b0c374ffbb Fixed behaviour of last_insert_rowid() with triggers and add last_statement_change_count() function that works correctly with triggers. (CVS 1251) rdc 2004-02-20 22:53:38 +00:00
  • fcabd4641e The name of a result column is now the name of column it originated from, by default. This can be turned off with PRAGMA short_column_names=OFF. This is to be more like PostgreSQL. More testing needed. (CVS 1250) drh 2004-02-20 14:50:58 +00:00
  • 784d86f716 Fix a bug in the parser table compression algorithm of lemon. (CVS 1249) drh 2004-02-19 18:41:53 +00:00
  • 9cbe7ca7db Fix a memory leak that occurs if you call sqlite_interrupt() on a query using aggregate functions where the aggregate function returns a string longer than 32 characters. (CVS 1248) drh 2004-02-18 16:57:23 +00:00
  • fef9765507 Begin updating the architecture description to better describe how things are currently put together. (CVS 1247) drh 2004-02-18 16:56:32 +00:00
  • 230680276c Add more tests of the sqlite_interrupt() logic - looking for a reported memory leak. (Didn't find it.) (CVS 1246) drh 2004-02-18 01:31:53 +00:00
  • 960ac04f4f Avoid line endings munging by Cygwin; ticket #370 (CVS 1245) dougcurrie 2004-02-17 18:26:57 +00:00
  • d6502758b4 Remove the NullCallback opcode. Handle the empty_result_set pragma inside the sqlite_exec() function. (CVS 1244) drh 2004-02-16 03:44:01 +00:00
  • 826fb5a3f8 Eliminate obsolete code associated with the older callback functionality. (CVS 1243) drh 2004-02-14 23:59:57 +00:00
  • 1d85d93158 Eliminate the use of callbacks during schema initialization. (CVS 1242) drh 2004-02-14 23:05:52 +00:00
  • 8a6ac0adbc Fix problems with malloc-failure handling. (CVS 1241) drh 2004-02-14 17:35:07 +00:00
  • a1f9b5ee0b The sqlite_exec() function is now implemented using sqlite_compile() and sqlite_step(). This opens up lots of opportunity to remove old code. (CVS 1240) drh 2004-02-14 16:31:02 +00:00
  • b5f70c2ef1 Disable the malloc.test tests if not compiled with -DMEMORY_DEBUG (CVS 1239) drh 2004-02-14 01:39:50 +00:00
  • eceae45cb5 Fix an uninitialized variable in shell.c that would cause a crash if you specified SQL on the command-line. (CVS 1238) drh 2004-02-13 20:09:41 +00:00
  • e72daeb0ac Begin the process over converting sqlite_exec() over to use sqlite_compile() and sqlite_step(). The new sqlite_exec() is still commented out. (CVS 1237) drh 2004-02-13 16:30:09 +00:00
  • 50350a15c4 Fix a bug in the query flattener when trying to find the datatype of the rowid of a view. Also fix a problem with sqlite_compile() and authorization failures. (CVS 1236) drh 2004-02-13 16:22:22 +00:00
  • 78a7583828 Fix an uninitialized variable introduced by check-in (1202). (CVS 1235) drh 2004-02-13 14:07:12 +00:00
  • e384a4ed4e Add a new parameter to the (unimplemented) encryption API. (CVS 1234) drh 2004-02-12 20:49:36 +00:00
  • c602f9ae01 Add the SQLITE_NOTADB return code for cases when you try to open a file that does not even remotely resemble an SQLite database file. (CVS 1233) drh 2004-02-12 19:01:04 +00:00
  • 4d189ca48f Add hooks on each attached database connection for storing auxiliary information. Add the USING clause to ATTACH. (CVS 1232) drh 2004-02-12 18:46:38 +00:00
  • 3054efee07 All REPLACE INTO syntax inside of triggers. Ticket #610. (CVS 1231) drh 2004-02-12 17:28:13 +00:00
  • 70a931c2ac Remove unused variable. (CVS 1230) drh 2004-02-12 15:32:53 +00:00
  • 8ef83ffed8 Always reload the schema after a rollback. Ticket #594. (CVS 1229) drh 2004-02-12 15:31:21 +00:00
  • 93581642d2 VACUUM returns SQLITE_INTERRUPT when interrupted. Ticket #593. (CVS 1228) drh 2004-02-12 13:02:55 +00:00
  • ab9426e242 Only define _FILE_OFFSET_BITS if it is not already defined. Ticket #605. (CVS 1227) drh 2004-02-11 16:38:06 +00:00
  • eb8ed70db5 Fix the shells so that they always enable the codec if it is available, even if no key is supplied. (CVS 1226) drh 2004-02-11 10:37:23 +00:00
  • 7e26d75094 Fix an uninitialized variable in expr.c. Ticket #604. (CVS 1225) drh 2004-02-11 10:35:29 +00:00
  • bbd82df617 Refactor the interface to the randomness generator. (CVS 1224) drh 2004-02-11 09:46:30 +00:00
  • 9eb9e26b82 Pass all (relevant) regression tests when using the codec. (CVS 1223) drh 2004-02-11 02:18:05 +00:00
  • d86a39c866 Adjustments to the codec in the pager. (CVS 1222) drh 2004-02-10 23:51:05 +00:00
  • fb044c1d1c Perform updates in search order. Ticket #602. (CVS 1221) drh 2004-02-10 13:41:52 +00:00
  • 4bc058593b Fix for ticket #603. (CVS 1220) drh 2004-02-10 13:19:35 +00:00
  • 57ced9186a Make the pager accessible from the btree structure always, not just during debugging. (CVS 1219) drh 2004-02-10 02:57:59 +00:00
  • 2d71ca94a9 Move the file-format-2 to file-format-3 conversion into sqliteInit(). (CVS 1218) drh 2004-02-10 02:27:04 +00:00
  • d0ba193dc7 Allow SQLITE_PAGE_SIZE to be redefined on the compiler command-line. (CVS 1217) drh 2004-02-10 01:54:28 +00:00
  • f620b4e2cb After code is generated for a subquery, delete the Select structure in order to force the temporary table to be used and to prevent the subquery from being evaluated a second time. Ticket #601. (CVS 1216) drh 2004-02-09 14:37:50 +00:00
  • e2201971ac Add test case for ticket #601. (CVS 1215) drh 2004-02-09 14:35:28 +00:00