0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-10-07 20:37:10 +00:00

Commit Graph

  • 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
  • d686179207 Bug fix associated with misc3.test. (CVS 1414) drh 2004-05-20 03:02:47 +00:00
  • b6f5452fb2 Bug fix associated with OP_SetNumColumns in insert.c. Also changed a variable name in OP_Column. (CVS 1413) drh 2004-05-20 02:42:16 +00:00
  • 465407d9b6 VACUUM works again. (CVS 1412) drh 2004-05-20 02:01:26 +00:00
  • e3209e4eb6 Add some comments for sqlite3_bind_*() APIs. (CVS 1411) danielk1977 2004-05-20 01:40:18 +00:00
  • 51e3d8e204 Add support for the new sqlite3_bind_*() APIs. (CVS 1410) danielk1977 2004-05-20 01:12:34 +00:00
  • a34a84fe1a Get more tests running. (CVS 1409) drh 2004-05-19 21:09:31 +00:00
  • fec19aad44 Correctly handle 64-bit integers in SQL statements. (CVS 1408) drh 2004-05-19 20:41:03 +00:00
  • 7cf6e4de35 Change opcode names and comments to better describe the operation of the incrKey flag. OP_MoveTo becomes OP_MoveGe. (CVS 1407) drh 2004-05-19 14:56:55 +00:00
  • 772ae62a82 Bug fixes in where.c. The where.test test works again. (CVS 1406) drh 2004-05-19 13:13:08 +00:00
  • 09e490ce3c Really remove the OP_StrEq opcode this time - appearently I didn't save the file out of the editor before doing the check-in (1397). (CVS 1405) drh 2004-05-19 11:31:12 +00:00
  • 5a12e68986 Variable name change: azVar to apVar. (CVS 1404) drh 2004-05-19 11:24:25 +00:00
  • 54db47e3da Tests for text encoding conversion functions. Also new sqlite3_bindXX APIs. (CVS 1403) danielk1977 2004-05-19 10:36:43 +00:00
  • c7134988f4 Tests for text encoding conversion functions. Also new sqlite3_bindXX APIs. (CVS 1402) danielk1977 2004-05-19 10:35:01 +00:00
  • e4b7c01fd5 Tests for text encoding conversion functions. Also new sqlite3_bindXX APIs. (CVS 1401) danielk1977 2004-05-19 10:34:56 +00:00
  • 295ba55ac6 Tests for text encoding conversion functions. Also new sqlite3_bindXX APIs. (CVS 1400) danielk1977 2004-05-19 10:34:51 +00:00
  • a9fd84b034 Add definitions of the CollSeq and KeyInfo structures. (CVS 1399) drh 2004-05-18 23:21:35 +00:00
  • 428702d730 Remove dead code from vdbeaux.c. Add comments describing desired changes to OP_Sort processing in select.c (CVS 1398) drh 2004-05-18 22:38:31 +00:00
  • d93b626c0a Remove the OP_StrEq opcodes. (CVS 1397) drh 2004-05-18 22:17:45 +00:00
  • 7efd61f240 Remove dead code from util.c (CVS 1396) drh 2004-05-18 22:03:42 +00:00
  • d8820e80fc New varint encoding gives a maximum varint length of 9 instead of 10. (CVS 1395) drh 2004-05-18 15:57:42 +00:00
  • 10c0fa6a75 Additional debugging output from btree.c (CVS 1394) drh 2004-05-18 12:50:17 +00:00
  • bf3b721fab Fix many problems with manifest types and column affinity. Most things are working now. (CVS 1393) danielk1977 2004-05-18 10:06:24 +00:00
  • 84ac9d02dd Fix many problems with manifest types and column affinity. Most things are working now. (CVS 1392) danielk1977 2004-05-18 09:58:06 +00:00
  • eb015e03e1 Bugfix for row format. (CVS 1391) danielk1977 2004-05-18 01:31:14 +00:00
  • b4964b723c Omit the '\0' at the end of UTF-8 strings on disk (it is implied). Also don't store the number of rows at the beginning of each table record. (CVS 1390) danielk1977 2004-05-18 01:23:38 +00:00
  • e014a83880 More changes to support the new types model. Compound SELECTs are currently broken. (CVS 1389) danielk1977 2004-05-17 10:48:57 +00:00
  • 93edea9380 Fix a bug meant real numbers with a negative sign were being stored as strings by default (instead of IEEE floats). (CVS 1388) danielk1977 2004-05-16 22:55:28 +00:00
  • 96f5b7672d Fix a bug in the BTree balancing routine. (CVS 1387) drh 2004-05-16 16:24:36 +00:00
  • f9dd2c2e04 Fix two bugs that were causing lots of tests to fail. (CVS 1386) danielk1977 2004-05-16 11:57:28 +00:00
  • a37cdde042 More changes to support the manifest type model. A few things are currently broken. (CVS 1385) danielk1977 2004-05-16 11:15:36 +00:00
  • 3add367f2f More speed improvements to btree. (CVS 1384) drh 2004-05-15 00:29:24 +00:00
  • d7556d209e Allocates VDBE cursors one by one in separate memory so that pointers to cursors can persist through a realloc(). (CVS 1383) drh 2004-05-14 21:59:40 +00:00