0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-15 19:09:41 +00:00

Commit Graph

  • 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
  • 1dba727946 Fix a buffer-overflow problem in the randStr function (used only for testing). (CVS 1182) drh 2004-01-16 13:58:18 +00:00
  • d1bec47a3d More aggressive retry schedule in sqlite_busy_timeout(). (CVS 1181) drh 2004-01-15 13:29:31 +00:00
  • 23b2db23b4 Allow "<expr> IN <table>" as a shorthand for "<expr> IN (SELECT * FROM <table>)" (CVS 1180) drh 2004-01-15 03:30:24 +00:00
  • aa940eacfe Reinsert the experimental sqlite_commit_hook() API. (CVS 1179) drh 2004-01-15 02:44:03 +00:00
  • 751f41217e Fix comparisons of ROWID against floating point numbers so that they work correctly. Ticket #377 and #567. (CVS 1178) drh 2004-01-14 21:59:22 +00:00
  • d43ce86fa7 Version 2.8.11 (CVS 1177) drh 2004-01-14 13:50:59 +00:00
  • 0ee7ae0f0d Bump the version number for the next release. (CVS 1176) drh 2004-01-14 13:43:43 +00:00
  • 52b36cabe0 Ignore NULLs in a subquery as the right operand of IN. Ticket #565. (CVS 1175) drh 2004-01-14 13:38:54 +00:00
  • f6a7ade6b6 Version 2.8.10 (CVS 1174) drh 2004-01-14 03:49:43 +00:00
  • c713bdc778 Move some files around and bump the version number in preparation for the release of 2.8.10. (CVS 1173) drh 2004-01-14 03:32:37 +00:00
  • 7bdeb312ed Remove an incomplete comment that somehow snuck into the sources. (CVS 1172) drh 2004-01-14 03:12:42 +00:00
  • 31e95bcc5d On unix, embargo close() operations until all locks have cleared from the file. Ticket #561. (CVS 1171) drh 2004-01-12 00:39:05 +00:00
  • 7b40e60800 Previous commit of changes to the in-memory backend was not quite right. This check-in should square things away. (CVS 1170) drh 2004-01-12 00:38:18 +00:00
  • 572b6f5614 Make sure the in-memory database can handle malloc failures. (CVS 1169) drh 2004-01-12 00:21:52 +00:00
  • ba21256f98 Remove unused code and tighten existing code to make the library a little smaller. (CVS 1168) drh 2004-01-08 02:17:31 +00:00
  • 143f3c45a7 Rework the fix to ticket #461 so that we do not have to do redundant tests of WHERE clause terms looking for NULLs. See also check-in (1103). (CVS 1167) drh 2004-01-07 20:37:52 +00:00
  • d1d9fc3397 Permit sqlite_exec() to be called from within user-defined functions. (CVS 1166) drh 2004-01-07 19:24:48 +00:00
  • a11846b77a Defer the {quote: MoveTo} opcode in VDBE until the data is actually needed. Sometimes the data is never needed, resulting in a performance increase. On an indexed order search with a large OFFSET, queries times can be an order of magnitude faster. (CVS 1165) drh 2004-01-07 18:52:56 +00:00
  • 912184b0cf Make it safe to call sqliteMalloc() with a request for 0 bytes. Ticket #534. (CVS 1164) drh 2004-01-07 03:41:03 +00:00
  • c5dd9fa8ab Preserve the HH:MM:SS for most date/time modifiers. Ticket #551. (CVS 1163) drh 2004-01-07 03:29:16 +00:00
  • 384eef32fd Use "long double" to hold intermediate values when doing ascii to binary and binary to ascii conversions of floating point numbers. (CVS 1162) drh 2004-01-07 03:04:27 +00:00
  • 133cdf6eba Add a typecast to work around a bug in the Metrowerks Code Warrior compiler. Ticket #553. (CVS 1161) drh 2004-01-07 02:52:07 +00:00
  • 3a4e19be6b Version 2.8.9 (CVS 1160) drh 2004-01-06 02:23:46 +00:00
  • 9d4280d53f Additional integer overflow boundary case tests. (CVS 1159) drh 2004-01-06 01:52:34 +00:00
  • e8e3920a2e Increase the version number and update the change log prior to the next release. (CVS 1158) drh 2004-01-06 01:27:00 +00:00
  • 202b2df74a Fix problem in the code generator were incorrect code was being created if the SQL source contained a negative integer that was too large to fit in a 32-bit signed integer variable. Ticket #552. (CVS 1157) drh 2004-01-06 01:13:46 +00:00
  • e807febbc2 Add the sqlite_current_time variable for testing purposes. (CVS 1156) drh 2004-01-06 00:44:24 +00:00
  • b46d162d8d The "EST" timezone designation is ambiguous. Do not use it in the test scripts. (CVS 1155) drh 2004-01-02 15:08:43 +00:00
  • 7739630451 Avoid an assertion fault that can occur with invalid UTF8 on the LENGTH() function. Ticket #548. (CVS 1154) drh 2004-01-02 13:17:48 +00:00
  • 4ec2e9612f Remove unused code from the integrity_check logic. Ticket #545. (CVS 1153) drh 2004-01-01 12:33:43 +00:00
  • cf64d8b820 Fix a bug in the SQLITE_PROFILE conditional compilation. (CVS 1152) drh 2003-12-31 17:57:10 +00:00
  • 89ef0eeb9b Fix for ticket #542. (CVS 1151) drh 2003-12-31 17:25:47 +00:00
  • 07fa2a60ea Fix a bug (ticket #541) introduced by the previous check-in ((1149)). (CVS 1150) drh 2003-12-31 16:00:19 +00:00
  • dff7ec2cbd Reduce the randomness in the sqliteRandomSeed() routine in order to silence bogus errors from valgrind. Tickets #535 and #536. (CVS 1149) drh 2003-12-31 13:21:18 +00:00
  • ae53418df4 minor edits for new date.c with mingw/msys on Windows (CVS 1148) dougcurrie 2003-12-24 01:41:19 +00:00
  • f586aa8b96 Update date/time functions so that they correctly handle NULL arguments. (CVS 1147) drh 2003-12-23 16:34:12 +00:00
  • 7091cb0566 Add localtime<-->UTC conversions to the date functions. (CVS 1146) drh 2003-12-23 16:22:18 +00:00
  • 90f405e3ba Test functions tolerate an "0x" before a pointer value. Ticket #452. (CVS 1145) drh 2003-12-23 03:06:23 +00:00
  • 93a5c6bdf4 Use a built-in atof() function instead of the one from the library to avoid problems with locale. Ticket #305. (CVS 1144) drh 2003-12-23 02:17:35 +00:00
  • 3ddfdf7ac6 Optimizations to the LEMON parser template. (CVS 1143) drh 2003-12-22 14:53:19 +00:00
  • 2fd2fa0851 Fix some minor problems with the new test4.c module used for doing thread testing. (CVS 1142) drh 2003-12-20 04:00:52 +00:00
  • 6194a5fb75 Update configuration and make files for mingw/msys on Windows (CVS 1141) dougcurrie 2003-12-19 20:09:51 +00:00
  • f93e41442e Remove a comma at the end of an enum definition. Some compilers could not deal with it. (CVS 1140) drh 2003-12-19 12:32:45 +00:00
  • 5202560ee5 Makefile updates for the new "test4.c" module. Also disable large file tests for archic TCL versions. (CVS 1139) drh 2003-12-19 12:31:19 +00:00
  • acf01e7ddd A better fix for ticket #530 - one that is likely to work on unix implementations in addition to linux. Also more tests for multi-thread locking added. (CVS 1138) drh 2003-12-19 08:40:22 +00:00
  • a6064dcf3b Add new thread-testing code and fix locking under Linux threads. Ticket #530. (CVS 1137) drh 2003-12-19 02:52:05 +00:00
  • 9c4dcca89e Typo on the "datatypes.html" document. (CVS 1136) drh 2003-12-18 14:19:41 +00:00
  • 0f5c27a168 Version 2.8.8 (CVS 1135) drh 2003-12-18 01:22:54 +00:00
  • 0c9c3d06d4 Bump the version number and update the change log in preparation for the next release. (CVS 1134) drh 2003-12-18 00:02:43 +00:00
  • acf4ac96e3 Make sure the pagers in-memory cache states in sync with the disk file. Ticket #529. (CVS 1133) drh 2003-12-17 23:57:34 +00:00
  • 4be295be07 Improvements to the way PRAGMA integrity_check works. More likely to output userful information when given a corrupt database. (CVS 1132) drh 2003-12-16 03:44:47 +00:00
  • 1285a76973 Updates to the homepage - fix the CVS access instructions. (CVS 1131) drh 2003-12-15 17:51:19 +00:00
  • 256ada0fda Fix a bulk-memory initialization problem in the expression list logic. (CVS 1130) drh 2003-12-10 03:13:43 +00:00
  • 0f18bfa789 Fix the code generator to a void a VDBE stack overflow on 3-way joins. Ticket #519. (CVS 1129) drh 2003-12-10 01:31:21 +00:00
  • 6f8c91caa0 Make the VACUUM command run out of the VDBE like all other commands. (Ticket #464). Make the VACUUM command work even if there are VIEWs in the SQLITE_MASTER table that come before tables they reference. (Ticket #515) (CVS 1128) drh 2003-12-07 00:24:35 +00:00
  • 447623d9aa Fail an ATTACH if the auxiliary database is locked. Ticket #514. (CVS 1127) drh 2003-12-06 22:22:35 +00:00
  • 41743984bf Always use "(char*)0" to terminate the argument list of sqliteSetString(). This is needed for 64-bit systems that use a 32-bit integer by default. (CVS 1126) drh 2003-12-06 21:43:55 +00:00
  • 3a6629d27e Use sqlite_freemem() instead of free() in the shell. Windows needs this. (Unix does not care.) Ticket #444. (CVS 1125) drh 2003-12-04 20:51:41 +00:00
  • 96e9f565ad Version 2.8.7 (CVS 1124) drh 2003-12-04 13:47:04 +00:00
  • 27ff9f87b8 Update change log and version in preparation for the 2.8.7 release. (CVS 1123) drh 2003-12-04 13:44:32 +00:00
  • 4925ca00a3 Disallow temporary indices on persistent tables. (CVS 1122) drh 2003-11-27 00:48:57 +00:00
  • 0802fd836d Fix typos in file format documentation. Ticket #505. (CVS 1121) drh 2003-11-25 23:48:57 +00:00
  • b3549d43e2 Fix typo in file format documentation. Ticket #502. (CVS 1120) drh 2003-11-24 23:11:08 +00:00
  • 0a5294bc06 Fix a typo in a #define that was commented out. No impact to working code. Ticket #476. (CVS 1119) drh 2003-11-11 23:30:35 +00:00
  • 000ca2b208 Added information on MySQL 4.0.16 to the NULL-handling survey. (CVS 1117) drh 2003-11-08 12:07:01 +00:00
  • 7014aff37d Revised date/time functions - now broken out into a separate source file. See the DateAndTimeFunctions wiki page for additional information. (CVS 1116) drh 2003-11-01 01:53:53 +00:00
  • b48484a6d7 Fork the tree for project "shrike" (CVS 1118) drh 2003-10-30 06:59:59 +00:00
  • 63a1e49859 Fix progress test error 1-2 (CVS 1115) peter 2003-10-23 15:27:11 +00:00