0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-10-07 04:19:56 +00:00

Commit Graph

  • 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
  • b20ea9d225 Add an optional codec to the pager layer. (CVS 1214) drh 2004-02-09 01:20:36 +00:00
  • 8e6283155e Version 2.8.12 (CVS 1213) drh 2004-02-08 18:10:50 +00:00
  • f603871326 Perpare for the 2.8.12 release. (CVS 1212) drh 2004-02-08 18:07:34 +00:00
  • f1b07b0ca2 Fix a bug in the VDBE that occurs when a CreateTable or CreateIndex fails. (CVS 1211) drh 2004-02-08 06:17:19 +00:00
  • 585a3d7c22 Add the crashtest1.c program used to test the ability of the database to survive a program crash or power failure. Ticket #599. (CVS 1210) drh 2004-02-08 06:06:37 +00:00
  • 34e79ceeb6 Fix inaccuracies and add details to comments in the pager. Change the name of one function to make its purpose clearer. Ticket #599. (CVS 1209) drh 2004-02-08 06:05:46 +00:00
  • 240c5795d5 Preliminary fix for ticket #599. More testing and analysis needed. (CVS 1208) drh 2004-02-08 00:40:52 +00:00
  • e84a306b91 Remove undocumented extensions from sqlite_mprintf() and friends in order to make it about 10% smaller. (CVS 1207) drh 2004-02-02 12:29:25 +00:00
  • 22fbcb8ddd Fix the handling of -init option to the sqlite shell. Ticket #568. Also add hooks for encrypting the database. (CVS 1206) drh 2004-02-01 01:22:50 +00:00
  • 3914aed1de Fix a bug introduced by the previous check-in. (CVS 1205) drh 2004-01-31 20:40:42 +00:00
  • 2c79c67fcb A few more optimizations to the VDBE. (CVS 1204) drh 2004-01-31 20:20:29 +00:00
  • 6810ce677d Rework internal data structures to make the VDBE about 15% smaller. (CVS 1203) drh 2004-01-31 19:22:56 +00:00
  • 00706be366 Rework the VDBE data structures to combine string representations into the same structure with integer and floating point. This opens the door to significant optimizations. (CVS 1202) drh 2004-01-30 14:49:16 +00:00
  • 0c37e6309b Make sure min() and max() optimizations work for subqueries. Ticket #587. (CVS 1201) drh 2004-01-30 02:01:03 +00:00
  • e8a63423da Change permissions on the install-sh file to be executable. Ticket #582. (CVS 1200) drh 2004-01-27 17:46:55 +00:00
  • 11437fa6b1 Add a web page describing when it is appropriate to use SQLite and when it is not. (CVS 1199) drh 2004-01-27 15:58:37 +00:00
  • 8141f61ef2 Modularize the column name resolution code so that it is smaller, faster, and ready for some enhancements that will fix long-standing name resolutions problems. (CVS 1198) drh 2004-01-25 22:44:58 +00:00
  • b733d03749 Add the ability to group FROM terms using parentheses. Names of columns in a join no longer include the table name. (CVS 1197) drh 2004-01-24 20:18:12 +00:00
  • a8d6243bc7 Fix typo. Ticket #577. (CVS 1196) drh 2004-01-22 23:38:21 +00:00
  • 30c84bfd5f In test programs, an SQLITE_SCHEMA return is retried repeatedly, not just once. (CVS 1195) drh 2004-01-21 13:35:13 +00:00
  • 0bca353087 Make ATTACH and DETACH work with the non-callback API. Ticket #574. (CVS 1194) drh 2004-01-20 11:54:03 +00:00
  • a8fbdd36f8 documented pragma foreign_key_list(). updated docs for removed behavior: Oracle join syntax and temp indexes. (CVS 1193) jplyon 2004-01-19 05:09:24 +00:00
  • 4b11c6d3f4 comment typos (CVS 1192) jplyon 2004-01-19 04:57:53 +00:00
  • cfa5684d47 comment typos (CVS 1191) jplyon 2004-01-19 04:55:56 +00:00
  • 8bc03a7acd coment typo (CVS 1190) jplyon 2004-01-19 04:54:28 +00:00
  • b6c9e6e6c1 coment typo (CVS 1189) jplyon 2004-01-19 04:53:24 +00:00
  • b1639ffeb5 comment (CVS 1188) jplyon 2004-01-19 04:52:29 +00:00
  • 4d5b836545 Do not use strcpy() on overlapping buffers. (CVS 1187) drh 2004-01-17 01:16:21 +00:00
  • 606c369847 Access to free()ed memory problem fixed. Found by electric fence. Only an issue when doing an EXPLAIN of a CREATE INDEX. (CVS 1186) drh 2004-01-16 20:01:31 +00:00
  • a70f2d8d72 See ticket #569; eliminates warnings for Cygwin v1.5 and above. (CVS 1185) dougcurrie 2004-01-16 19:11:28 +00:00
  • 51e9a44592 More compaction of expr.c. (CVS 1184) drh 2004-01-16 16:42:53 +00:00
  • 4efc4754f3 Incremental code compaction in expr.c. Now about 4% smaller. Lots more work to do. (CVS 1183) drh 2004-01-16 15:55:37 +00:00