0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-16 12:38:46 +00:00

Commit Graph

  • f20b21c8fd Remove the sqlite3_error_string() API. (CVS 1514) danielk1977 2004-05-31 23:56:42 +00:00
  • 218dc69436 Synchronize lemon.c to the version on the 2.8 branch. (CVS 1513) drh 2004-05-31 23:13:45 +00:00
  • 3f4fedb2c4 Change the name of the sqlite3_freemem API function to just sqlite3_free. (CVS 1512) drh 2004-05-31 19:34:33 +00:00
  • 9c054830b4 Change all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511) drh 2004-05-31 18:51:57 +00:00
  • 1d482dd917 Change the name of the include file to "sqlite3.h". The names of the shell command and static library become "sqlite3" and "libsqlite3.a". (CVS 1510) drh 2004-05-31 18:23:07 +00:00
  • 75d82cc4bf Begin adding documentation for version 3.0. (CVS 1509) drh 2004-05-31 18:22:25 +00:00
  • 02f9f6b38f Get the attach.test working on windows. (CVS 1508) drh 2004-05-31 18:21:54 +00:00
  • d4acf19cb0 More website updates. (CVS 1507) drh 2004-05-31 16:04:08 +00:00
  • e100f835d3 Website redesign in preparation for adding version 3 documentation. (CVS 1506) drh 2004-05-31 15:06:28 +00:00
  • 3a81de11b6 Some test cases for read locks (CVS 1505) danielk1977 2004-05-31 12:34:53 +00:00
  • 11146c9c2e Use read-only transactions. (CVS 1504) danielk1977 2004-05-31 11:51:44 +00:00
  • 77d83ba50f Bugfix for previous checkin. (CVS 1503) danielk1977 2004-05-31 10:08:14 +00:00
  • ee5741ea78 Add read-transactions to the btree and vdbe. The compiler doesn't invoke them yet. (CVS 1502) danielk1977 2004-05-31 10:01:34 +00:00
  • 33752f8acf Remove the <ON CONFLICT> clause from BEGIN (CVS 1501) danielk1977 2004-05-31 08:55:33 +00:00
  • 1d850a72c2 Replace OP_Begin, OP_Commit and OP_Rollback with OP_AutoCommit. (CVS 1500) danielk1977 2004-05-31 08:26:49 +00:00
  • a19b775db9 Add 3-byte and 6-byte integer serial types. This makes databases smaller and faster. Should we go ahead and add 5- and 7-byte integer types too? (CVS 1499) drh 2004-05-30 21:14:58 +00:00
  • e51c44f481 Various speed enhancements. (CVS 1498) drh 2004-05-30 20:46:09 +00:00
  • 271efa5a28 Improved comments and speed tweaks to btree.c. (CVS 1497) drh 2004-05-30 19:19:05 +00:00
  • 3a41a3fe66 Additional minor speed improvements. (CVS 1496) drh 2004-05-30 02:14:17 +00:00
  • 696b32fa4e Faster version of sqlite3VdbeSerialGet. (CVS 1495) drh 2004-05-30 01:51:52 +00:00
  • 6fec076238 Do not include the P3 parameter on OP_Integer opcodes if the integer will fit in 32 bits. The P3 conversion is slow. (CVS 1494) drh 2004-05-30 01:38:43 +00:00
  • 436051582f A file format change for btree.c makes it between 10 and 20% faster. (CVS 1493) drh 2004-05-29 21:46:49 +00:00
  • 0f69c1e3ec Transform OP_HexBlob and OP_String8 to OP_Blob and OP_String the first time they are executed. (CVS 1492) danielk1977 2004-05-29 11:24:50 +00:00
  • bd26f925e0 Ensure vacuum handles table names with spaces in them. (CVS 1491) danielk1977 2004-05-29 10:43:06 +00:00
  • 3df6b2570f Fix vacuum so that it works with blobs. (CVS 1490) danielk1977 2004-05-29 10:23:19 +00:00
  • e7d00f5825 Avoid arithmetic on void pointers. (CVS 1489) danielk1977 2004-05-29 02:44:02 +00:00
  • ef2cb63e9e Allow CREATE and DROP TRIGGER on attached databases. (CVS 1488) danielk1977 2004-05-29 02:37:19 +00:00
  • 51846b56ed Factor common code for generating index keys into a procedure. Other speed improvements and bug fixes. (CVS 1487) drh 2004-05-28 16:00:21 +00:00
  • 76d505baad Fix a bug in the sqlite3_column_decltype() API. (CVS 1486) danielk1977 2004-05-28 13:13:02 +00:00
  • 48dec7e215 Allow CREATE and DROP VIEW on attached databases. (CVS 1485) danielk1977 2004-05-28 12:33:30 +00:00
  • a8858103c9 Allow DROP TABLE and DROP INDEX on attached databases. (CVS 1484) danielk1977 2004-05-28 12:11:21 +00:00
  • cbb18d2256 Allow CREATE TABLE and CREATE INDEX on attached databases. (CVS 1483) danielk1977 2004-05-28 11:37:27 +00:00
  • d578820154 Tables and indices use the same record format. (CVS 1482) drh 2004-05-28 08:21:05 +00:00
  • f3218fea00 Tables and indices use the same record format. (CVS 1481) drh 2004-05-28 08:21:02 +00:00
  • 25aa1b4580 Remove the encoding argument from sqlite3VdbeSerialGet. Use the 32-bit version of sqlite3GetVarint for schema-level parameters. (CVS 1480) drh 2004-05-28 01:39:01 +00:00
  • 61de0d1b99 Add API functions sqlite3_open_varargs(), sqlite3_open16_varargs() and sqlite3_complete16(). (CVS 1479) danielk1977 2004-05-27 23:56:16 +00:00
  • d3194f5a4a Change the record format to include an extra varint at the beginning to record the number of bytes in the header. (CVS 1478) drh 2004-05-27 19:59:32 +00:00
  • 5f3b4ab53c Remove the COPY command. (CVS 1477) drh 2004-05-27 17:22:54 +00:00
  • 6d88bad4f9 Enhance the C function used to test sqlite3_create_function() from Tcl. (CVS 1476) danielk1977 2004-05-27 14:23:36 +00:00
  • 49e4643ee8 Test sqlite3_bind_blob(). (CVS 1475) danielk1977 2004-05-27 13:55:27 +00:00
  • 3fd0a736bf A couple of test cases and fixes for blob literals. (CVS 1474) danielk1977 2004-05-27 13:35:19 +00:00
  • 30ccda1006 Alter the Tcl eval sub-command so that it supports blobs. (CVS 1473) danielk1977 2004-05-27 12:11:31 +00:00
  • f93bbbea47 A few more bugfixes. Test cases pass now. (CVS 1472) danielk1977 2004-05-27 10:30:52 +00:00
  • c572ef7fcd Various bugfixes. 68 Test cases still fail. (CVS 1471) danielk1977 2004-05-27 09:28:41 +00:00
  • f44795013f Fixes to the MEM changes. The library now links. (CVS 1470) drh 2004-05-27 03:12:53 +00:00
  • eb2e176a12 More MEM changes in the vdbe.c. Still will not compile. (CVS 1469) drh 2004-05-27 01:53:56 +00:00
  • ea61b2c4fc More test cases for the new query API. (CVS 1468) danielk1977 2004-05-27 01:49:51 +00:00
  • 04f2e68d0c Add TCL test bindings and some more test cases for the new query API. (CVS 1467) danielk1977 2004-05-27 01:04:07 +00:00
  • 69174eb484 Break Mem.flags into Mem.type and Mem.enc. (CVS 1466) drh 2004-05-26 23:43:11 +00:00
  • 4f26d6c429 Refactoring of the vdbe Mem functions and the APIs that deal with them. The code will not compile in its current state. (CVS 1465) drh 2004-05-26 23:25:30 +00:00
  • f9b596ebc0 Remove dataType and includeTypes flags from function definitions. Added new P3_FUNCDEF type for P3 arguments on opcodes. Fixes to several user functions. 28 tests fail now. (CVS 1464) drh 2004-05-26 16:54:42 +00:00
  • b77f5dadbf Ensure the type of an sqlite3_value* is not modified by calls to sqlite3_value_*() calls. (CVS 1463) danielk1977 2004-05-26 13:27:00 +00:00
  • 3cf8606395 Add some tests for the new API. Many more to come. (CVS 1462) danielk1977 2004-05-26 10:11:05 +00:00
  • 398eae781e Remove the show_datatypes pragma. (CVS 1461) danielk1977 2004-05-26 06:58:43 +00:00
  • 6590493d53 Use the new form of the sqlite3_create_function() API. (CVS 1460) danielk1977 2004-05-26 06:18:37 +00:00
  • fc57d7bf72 Use the new API calls more consistently. (CVS 1459) danielk1977 2004-05-26 02:04:57 +00:00
  • 17240fd90f More changes to do with the new sqlite3_step() API. (CVS 1458) danielk1977 2004-05-26 00:07:25 +00:00
  • 8c6fa9b03b Minor code fixes in btree.c and pragma.c to help with watcom C. (CVS 1457) drh 2004-05-26 00:01:53 +00:00
  • 98d30677b0 Add file legacy.c with old APIs. (CVS 1456) danielk1977 2004-05-26 00:01:35 +00:00
  • 22322fd42b Move the sqlite3_exec() function to legacy.c. (CVS 1455) danielk1977 2004-05-25 23:35:17 +00:00
  • 0ae8b83155 Change a couple of symbol names for the new user function API. (CVS 1454) danielk1977 2004-05-25 12:05:56 +00:00
  • 7e18c259fe Use the new API for returning values and errors from user functions. (CVS 1453) danielk1977 2004-05-25 11:47:24 +00:00
  • 88208050b6 Add manifest type aware versions of the min() and max() aggregates. (CVS 1452) danielk1977 2004-05-25 01:13:20 +00:00
  • 6ddcca553d Aggregate functions also use sqlite_value* instead of const char * for arguments. (CVS 1451) danielk1977 2004-05-24 23:48:25 +00:00
  • 35bb9d026e Update the typeof() operator to respect manifest types. (CVS 1450) danielk1977 2004-05-24 12:55:54 +00:00
  • 51ad0ecd28 Non-aggregate SQL functions use sqlite_value* instead of const char * for argument values. (CVS 1449) danielk1977 2004-05-24 12:39:02 +00:00
  • 7e435458a0 Fix typo in vdbe.c from previous commit. (CVS 1448) danielk1977 2004-05-24 09:15:39 +00:00
  • 0ffba6b269 Add the sqlite3_value_*() access functions. (CVS 1447) danielk1977 2004-05-24 09:10:10 +00:00
  • bd7e46086e Fix for retrieving UTF-16 little-endian text from a big-endian database. (CVS 1446) danielk1977 2004-05-24 07:34:48 +00:00
  • 8a6b5411b3 Have the vdbe handle strings in the same encoding as the database. (CVS 1445) danielk1977 2004-05-24 07:04:25 +00:00
  • 93d4675d67 Begin changing the vdbe so all stack values use the database encoding. (CVS 1444) danielk1977 2004-05-23 13:30:58 +00:00
  • 7906975a0f Remove the OP_SetInsert opcode. (CVS 1443) drh 2004-05-22 21:30:40 +00:00
  • be94025f3b Move btree_rb.c into the attic. (CVS 1442) drh 2004-05-22 17:46:37 +00:00
  • bbd42a6dda Split up os.c into separate files, one for each platform. (CVS 1441) drh 2004-05-22 17:41:58 +00:00
  • 60ca804396 Bug fix in vdbe.c - variable declarations must come before code in ANSI C. (CVS 1440) drh 2004-05-22 11:09:30 +00:00
  • fe7fdb7344 Add a couple of tests for UTF-16 databases. (CVS 1439) danielk1977 2004-05-22 10:33:04 +00:00
  • e1cd98740f Add a couple of tests for UTF-16 databases. (CVS 1438) danielk1977 2004-05-22 10:33:04 +00:00
  • 802908635d Use the new form of the sqlite3_open() API everywhere. (CVS 1437) danielk1977 2004-05-22 09:21:21 +00:00
  • 28d47b57ec Tests for the functions in utf.c. (CVS 1436) danielk1977 2004-05-22 08:16:11 +00:00
  • 172bc3938a Store the text encoding in the database (as meta value 4). (CVS 1435) danielk1977 2004-05-22 08:09:11 +00:00
  • 18f4189055 A few bugfixes related to UTF-16 databases. sqlite3_open() still assumes a UTF-8 database, and sqlite3_open16() still assumes a UTF-16 db. (CVS 1434) danielk1977 2004-05-22 07:27:46 +00:00
  • b1bc95315b Steps towards UTF-16 databases. Some tests are failing because of this commit. (CVS 1433) danielk1977 2004-05-22 03:05:33 +00:00
  • ab01f61ab8 Update comments and remove dead code from btree.c (CVS 1432) drh 2004-05-22 02:55:23 +00:00
  • 1483e14cf7 Floating point values are serialized in big-endian byte order. (CVS 1431) drh 2004-05-21 21:12:42 +00:00
  • 7f0f12e3ab Remove the OP_SetFound opcode and its cousins. (CVS 1430) drh 2004-05-21 13:39:50 +00:00
  • 83ab5a8f62 Eliminate some unused code (CVS 1429) danielk1977 2004-05-21 11:39:05 +00:00
  • ca6b291fcf Pretty-print blobs in vdbe-traces. (CVS 1428) danielk1977 2004-05-21 10:49:47 +00:00
  • 106bb236a8 Further work on the new API. All the functions to execute queries are there now. (CVS 1427) danielk1977 2004-05-21 10:08:53 +00:00
  • ce665cf60e Eliminate the OP_SortMakeRec and OP_SortCallback opcodes. Sort using the standard record format. (CVS 1426) drh 2004-05-21 03:01:58 +00:00
  • 736c22b803 Most sorting problems are fixed. Dead code has been removed. 3 test failures remain but will be fixed by the new function API once it gets implemented. (CVS 1425) drh 2004-05-21 02:14:24 +00:00
  • 2f2322fa9c Fix typo in bind.test that was causing a seg-fault. (CVS 1424) danielk1977 2004-05-21 02:11:40 +00:00
  • 4ad1713c5e Add new sqlite3_open() and sqlite3_open16() APIs. (CVS 1423) danielk1977 2004-05-21 01:47:26 +00:00
  • ffbc30884c Sorting bug fixes. Now only 17 tests fail. (CVS 1422) drh 2004-05-21 01:29:06 +00:00
  • 1186b0a08b Fix a bug that prevented sorting by index. Down to 162 failed tests. (CVS 1421) drh 2004-05-20 23:37:54 +00:00
  • d3d39e939d Add internal support for collating sequences. This breaks 244 tests. (CVS 1420) drh 2004-05-20 22:16:29 +00:00
  • 53db145800 sqlite3MemCompare now takes a CollSeq* argument. (CVS 1419) drh 2004-05-20 13:54:53 +00:00
  • e2ea40d36d Fix problems with types and the recognition of BLOB as having no affinity. (CVS 1418) drh 2004-05-20 12:41:19 +00:00
  • 1ad3b9e61a Default type affinity is now NUMERIC. The affinity.html file checked into the doc directory. (CVS 1417) drh 2004-05-20 12:10:20 +00:00
  • 6622cce372 Add some more elements of the new API. (CVS 1416) danielk1977 2004-05-20 11:00:52 +00:00
  • 137b35e480 Fix the misc3.test test file. (CVS 1415) drh 2004-05-20 03:30:10 +00:00