]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
21 years agoUntested updates to support atomic multi-file transactions (CVS 1526)
danielk1977 [Thu, 3 Jun 2004 16:08:41 +0000 (16:08 +0000)] 
Untested updates to support atomic multi-file transactions (CVS 1526)

FossilOrigin-Name: d57e5252c8baaf615c2cd218a33356ea5d95a5e2

21 years agoFix a segfault in sqlite3OsLock() (CVS 1525)
danielk1977 [Wed, 2 Jun 2004 06:30:16 +0000 (06:30 +0000)] 
Fix a segfault in sqlite3OsLock() (CVS 1525)

FossilOrigin-Name: 51348b82c4d5801091537b80059d770410774905

21 years agoWork toward combining the OP_MakeKey, OP_MakeIdxKey, and OP_MakeRecord
drh [Wed, 2 Jun 2004 01:22:02 +0000 (01:22 +0000)] 
Work toward combining the OP_MakeKey, OP_MakeIdxKey, and OP_MakeRecord
opcodes into one.  The work is incomplete. (CVS 1524)

FossilOrigin-Name: 165d69a04cca719dec2b042117f848f153721a1d

21 years agoRemove the sqlite3_libencoding() api and the ISO8859 encoding option. (CVS 1523)
drh [Wed, 2 Jun 2004 00:41:09 +0000 (00:41 +0000)] 
Remove the sqlite3_libencoding() api and the ISO8859 encoding option. (CVS 1523)

FossilOrigin-Name: b53640ed2232aaf173a71636073477d80407d11f

21 years agoFix a bug with UTF-16 byte-order-marks on big-endian hosts. (CVS 1522)
danielk1977 [Wed, 2 Jun 2004 00:29:24 +0000 (00:29 +0000)] 
Fix a bug with UTF-16 byte-order-marks on big-endian hosts. (CVS 1522)

FossilOrigin-Name: c17b864103fe5e6def0f650eadb7b2cc6e87144f

21 years agoFix another website typo. (CVS 1521)
drh [Wed, 2 Jun 2004 00:08:55 +0000 (00:08 +0000)] 
Fix another website typo. (CVS 1521)

FossilOrigin-Name: 24e2bbd0f233eaec1789e866e9abb88db66e2278

21 years agoUnix version of sqlite3OsLock(). (CVS 1520)
danielk1977 [Tue, 1 Jun 2004 14:09:28 +0000 (14:09 +0000)] 
Unix version of sqlite3OsLock(). (CVS 1520)

FossilOrigin-Name: 023d1760c1a720632b25c98d14bf521ab91861e2

21 years agoFix typo on homepage (CVS 1519)
drh [Tue, 1 Jun 2004 12:59:50 +0000 (12:59 +0000)] 
Fix typo on homepage (CVS 1519)

FossilOrigin-Name: a84ece250035d02e399ec208aded524c20c12737

21 years agoFix typos in version 3 documents. (CVS 1518)
drh [Tue, 1 Jun 2004 10:01:25 +0000 (10:01 +0000)] 
Fix typos in version 3 documents. (CVS 1518)

FossilOrigin-Name: 915cba57123f859c7f128bd52580573877c502ba

21 years agoMakefile changes for building windows DLLs. (CVS 1517)
drh [Tue, 1 Jun 2004 01:45:11 +0000 (01:45 +0000)] 
Makefile changes for building windows DLLs. (CVS 1517)

FossilOrigin-Name: 11c5d6ab39d04e05a3a1b68477f159b17311a6da

21 years agoAdd the capi3ref.html page to the website. (CVS 1516)
drh [Tue, 1 Jun 2004 01:22:37 +0000 (01:22 +0000)] 
Add the capi3ref.html page to the website. (CVS 1516)

FossilOrigin-Name: 89f54f1ffdddc99340777cda6d9b1d7446549fa2

21 years agoRemove the sqlite3_open_varargs() API. (CVS 1515)
danielk1977 [Tue, 1 Jun 2004 00:03:52 +0000 (00:03 +0000)] 
Remove the sqlite3_open_varargs() API. (CVS 1515)

FossilOrigin-Name: 6902fb1b49fdf0e38265fa26198690243cdc2f58

21 years agoRemove the sqlite3_error_string() API. (CVS 1514)
danielk1977 [Mon, 31 May 2004 23:56:42 +0000 (23:56 +0000)] 
Remove the sqlite3_error_string() API. (CVS 1514)

FossilOrigin-Name: af8e2006d808031a040f293c44f3bfbe841b866b

21 years agoSynchronize lemon.c to the version on the 2.8 branch. (CVS 1513)
drh [Mon, 31 May 2004 23:13:45 +0000 (23:13 +0000)] 
Synchronize lemon.c to the version on the 2.8 branch. (CVS 1513)

FossilOrigin-Name: 6ab3af8847a7b0f1508824c9d8e0ec9685219371

21 years agoChange the name of the sqlite3_freemem API function to just sqlite3_free. (CVS 1512)
drh [Mon, 31 May 2004 19:34:33 +0000 (19:34 +0000)] 
Change the name of the sqlite3_freemem API function to just sqlite3_free. (CVS 1512)

FossilOrigin-Name: f3b80bbb97ed0b0c1cf634068f28f23802ec71a8

21 years agoChange all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511)
drh [Mon, 31 May 2004 18:51:57 +0000 (18:51 +0000)] 
Change all SQLITE3 preprocessor macros to SQLITE.  Documentation updates. (CVS 1511)

FossilOrigin-Name: adf7e29ff60dc559f64832fadb09f0b9decc0e76

21 years agoChange the name of the include file to "sqlite3.h". The names of the shell
drh [Mon, 31 May 2004 18:23:07 +0000 (18:23 +0000)] 
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)

FossilOrigin-Name: 4c37b6d2b78e88e2a9dfed4d764caeb0f626f92e

21 years agoBegin adding documentation for version 3.0. (CVS 1509)
drh [Mon, 31 May 2004 18:22:25 +0000 (18:22 +0000)] 
Begin adding documentation for version 3.0. (CVS 1509)

FossilOrigin-Name: 2005bfdad03ac2aa70a82ba7ff9b2f469d129367

21 years agoGet the attach.test working on windows. (CVS 1508)
drh [Mon, 31 May 2004 18:21:54 +0000 (18:21 +0000)] 
Get the attach.test working on windows. (CVS 1508)

FossilOrigin-Name: 48226a73801bc478d6fd6de5a554aec5119d2194

21 years agoMore website updates. (CVS 1507)
drh [Mon, 31 May 2004 16:04:08 +0000 (16:04 +0000)] 
More website updates. (CVS 1507)

FossilOrigin-Name: 460f2361141f14aa709addd41cc011127bac9b6e

21 years agoWebsite redesign in preparation for adding version 3 documentation. (CVS 1506)
drh [Mon, 31 May 2004 15:06:28 +0000 (15:06 +0000)] 
Website redesign in preparation for adding version 3 documentation. (CVS 1506)

FossilOrigin-Name: 2052911b1fd119af9dbd81fdfe80244685f58212

21 years agoSome test cases for read locks (CVS 1505)
danielk1977 [Mon, 31 May 2004 12:34:53 +0000 (12:34 +0000)] 
Some test cases for read locks (CVS 1505)

FossilOrigin-Name: 0e07006704cd441f91d5fadbf3b644fd20da79bd

21 years agoUse read-only transactions. (CVS 1504)
danielk1977 [Mon, 31 May 2004 11:51:44 +0000 (11:51 +0000)] 
Use read-only transactions. (CVS 1504)

FossilOrigin-Name: 6c100887eeb32631e1aa914a69db959e1f58f192

21 years agoBugfix for previous checkin. (CVS 1503)
danielk1977 [Mon, 31 May 2004 10:08:14 +0000 (10:08 +0000)] 
Bugfix for previous checkin. (CVS 1503)

FossilOrigin-Name: 5f869fbfc029eb2601d1d967685517d007d002a4

21 years agoAdd read-transactions to the btree and vdbe. The compiler doesn't invoke
danielk1977 [Mon, 31 May 2004 10:01:34 +0000 (10:01 +0000)] 
Add read-transactions to the btree and vdbe. The compiler doesn't invoke
them yet. (CVS 1502)

FossilOrigin-Name: 6b43633a96c674a5d470578ef80ebf2227da0682

21 years agoRemove the <ON CONFLICT> clause from BEGIN (CVS 1501)
danielk1977 [Mon, 31 May 2004 08:55:33 +0000 (08:55 +0000)] 
Remove the <ON CONFLICT> clause from BEGIN (CVS 1501)

FossilOrigin-Name: 9029274b6129140064bd7ac34df7eaba00d28efb

21 years agoReplace OP_Begin, OP_Commit and OP_Rollback with OP_AutoCommit. (CVS 1500)
danielk1977 [Mon, 31 May 2004 08:26:49 +0000 (08:26 +0000)] 
Replace OP_Begin, OP_Commit and OP_Rollback with OP_AutoCommit. (CVS 1500)

FossilOrigin-Name: b8ed812c92f2dbb4431d45aeb41646ceb53e0cbc

21 years agoAdd 3-byte and 6-byte integer serial types. This makes databases smaller
drh [Sun, 30 May 2004 21:14:58 +0000 (21:14 +0000)] 
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)

FossilOrigin-Name: e6685af815c4c0c7f09bb097a59a121862b865cf

21 years agoVarious speed enhancements. (CVS 1498)
drh [Sun, 30 May 2004 20:46:09 +0000 (20:46 +0000)] 
Various speed enhancements. (CVS 1498)

FossilOrigin-Name: a0db15bba64af0c529d5be366659bca1165ff21b

21 years agoImproved comments and speed tweaks to btree.c. (CVS 1497)
drh [Sun, 30 May 2004 19:19:05 +0000 (19:19 +0000)] 
Improved comments and speed tweaks to btree.c. (CVS 1497)

FossilOrigin-Name: c86b7c065a798cd108189b96e87d100115862ff2

21 years agoAdditional minor speed improvements. (CVS 1496)
drh [Sun, 30 May 2004 02:14:17 +0000 (02:14 +0000)] 
Additional minor speed improvements. (CVS 1496)

FossilOrigin-Name: a90264c0a4c73097fe0ae8933dcebb15b8eaa2bb

21 years agoFaster version of sqlite3VdbeSerialGet. (CVS 1495)
drh [Sun, 30 May 2004 01:51:52 +0000 (01:51 +0000)] 
Faster version of sqlite3VdbeSerialGet. (CVS 1495)

FossilOrigin-Name: 80985505fe8ba8e505842dae95d37bf412fc586d

21 years agoDo not include the P3 parameter on OP_Integer opcodes if the integer will fit
drh [Sun, 30 May 2004 01:38:43 +0000 (01:38 +0000)] 
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)

FossilOrigin-Name: fcd84ebabca72023e76e6954514948aa9a3ab999

21 years agoA file format change for btree.c makes it between 10 and 20% faster. (CVS 1493)
drh [Sat, 29 May 2004 21:46:49 +0000 (21:46 +0000)] 
A file format change for btree.c makes it between 10 and 20% faster. (CVS 1493)

FossilOrigin-Name: cbcaece7f45a0bc994e6c54a996afa4e6529da6a

21 years agoTransform OP_HexBlob and OP_String8 to OP_Blob and OP_String the first time they...
danielk1977 [Sat, 29 May 2004 11:24:50 +0000 (11:24 +0000)] 
Transform OP_HexBlob and OP_String8 to OP_Blob and OP_String the first time they are executed. (CVS 1492)

FossilOrigin-Name: 3225de8902b0e7e60c4d9f3a5ef51bc74f57d364

21 years agoEnsure vacuum handles table names with spaces in them. (CVS 1491)
danielk1977 [Sat, 29 May 2004 10:43:06 +0000 (10:43 +0000)] 
Ensure vacuum handles table names with spaces in them. (CVS 1491)

FossilOrigin-Name: 0a6689be843e695902fbfef863f128915545499e

21 years agoFix vacuum so that it works with blobs. (CVS 1490)
danielk1977 [Sat, 29 May 2004 10:23:19 +0000 (10:23 +0000)] 
Fix vacuum so that it works with blobs. (CVS 1490)

FossilOrigin-Name: 4feb4b9a71ce7a92924d2358a7ccecb4cca19223

21 years agoAvoid arithmetic on void pointers. (CVS 1489)
danielk1977 [Sat, 29 May 2004 02:44:02 +0000 (02:44 +0000)] 
Avoid arithmetic on void pointers. (CVS 1489)

FossilOrigin-Name: 3d68703e2e4e793012cb3c13a6744e915475e006

21 years agoAllow CREATE and DROP TRIGGER on attached databases. (CVS 1488)
danielk1977 [Sat, 29 May 2004 02:37:19 +0000 (02:37 +0000)] 
Allow CREATE and DROP TRIGGER on attached databases. (CVS 1488)

FossilOrigin-Name: 4060a37d0baaa60c50f2dde4a1ab344133fcabbb

21 years agoFactor common code for generating index keys into a procedure. Other
drh [Fri, 28 May 2004 16:00:21 +0000 (16:00 +0000)] 
Factor common code for generating index keys into a procedure.  Other
speed improvements and bug fixes. (CVS 1487)

FossilOrigin-Name: 6661bb5f9c1692f94b8b7d900b6be07f027e6324

21 years agoFix a bug in the sqlite3_column_decltype() API. (CVS 1486)
danielk1977 [Fri, 28 May 2004 13:13:02 +0000 (13:13 +0000)] 
Fix a bug in the sqlite3_column_decltype() API. (CVS 1486)

FossilOrigin-Name: c8a40218c20cf5d0abad330e8fa59ca4c36e7608

21 years agoAllow CREATE and DROP VIEW on attached databases. (CVS 1485)
danielk1977 [Fri, 28 May 2004 12:33:30 +0000 (12:33 +0000)] 
Allow CREATE and DROP VIEW on attached databases. (CVS 1485)

FossilOrigin-Name: ad879a957d93c0b49c289947826b451d3ea37e5b

21 years agoAllow DROP TABLE and DROP INDEX on attached databases. (CVS 1484)
danielk1977 [Fri, 28 May 2004 12:11:21 +0000 (12:11 +0000)] 
Allow DROP TABLE and DROP INDEX on attached databases. (CVS 1484)

FossilOrigin-Name: 2fb3708e10a06660ad1974ef8e9742b706a0a9fc

21 years agoAllow CREATE TABLE and CREATE INDEX on attached databases. (CVS 1483)
danielk1977 [Fri, 28 May 2004 11:37:27 +0000 (11:37 +0000)] 
Allow CREATE TABLE and CREATE INDEX on attached databases. (CVS 1483)

FossilOrigin-Name: 4984a130ccf3b8e486941a5d0d0cc70a691f0dac

21 years agoTables and indices use the same record format. (CVS 1482)
drh [Fri, 28 May 2004 08:21:05 +0000 (08:21 +0000)] 
Tables and indices use the same record format. (CVS 1482)

FossilOrigin-Name: 1b15b32bdbccae555243e67aa011139c50dc2fb3

21 years agoTables and indices use the same record format. (CVS 1481)
drh [Fri, 28 May 2004 08:21:02 +0000 (08:21 +0000)] 
Tables and indices use the same record format. (CVS 1481)

FossilOrigin-Name: ebd564d10b0ecd7ff15cbd6cd2b979c9f767476c

21 years agoRemove the encoding argument from sqlite3VdbeSerialGet. Use the 32-bit
drh [Fri, 28 May 2004 01:39:01 +0000 (01:39 +0000)] 
Remove the encoding argument from sqlite3VdbeSerialGet.  Use the 32-bit
version of sqlite3GetVarint for schema-level parameters. (CVS 1480)

FossilOrigin-Name: 321f8c463520e99681de878b743027c570b73e35

21 years agoAdd API functions sqlite3_open_varargs(), sqlite3_open16_varargs() and
danielk1977 [Thu, 27 May 2004 23:56:16 +0000 (23:56 +0000)] 
Add API functions sqlite3_open_varargs(), sqlite3_open16_varargs() and
sqlite3_complete16(). (CVS 1479)

FossilOrigin-Name: 203af2b2e3a25f4fe0e128e350c21834cad0bd7f

21 years agoChange the record format to include an extra varint at the beginning to record the...
drh [Thu, 27 May 2004 19:59:32 +0000 (19:59 +0000)] 
Change the record format to include an extra varint at the beginning to record the number of bytes in the header. (CVS 1478)

FossilOrigin-Name: 0c4d138807f367d75b3fb5b2dadf206df725659f

21 years agoRemove the COPY command. (CVS 1477)
drh [Thu, 27 May 2004 17:22:54 +0000 (17:22 +0000)] 
Remove the COPY command. (CVS 1477)

FossilOrigin-Name: 287f86731c71401dbac098e08357367b4f8e5a43

21 years agoEnhance the C function used to test sqlite3_create_function() from Tcl. (CVS 1476)
danielk1977 [Thu, 27 May 2004 14:23:36 +0000 (14:23 +0000)] 
Enhance the C function used to test sqlite3_create_function() from Tcl. (CVS 1476)

FossilOrigin-Name: c85e5f1528d098ea330ed0cf7e3c01cf9be93c10

21 years agoTest sqlite3_bind_blob(). (CVS 1475)
danielk1977 [Thu, 27 May 2004 13:55:27 +0000 (13:55 +0000)] 
Test sqlite3_bind_blob(). (CVS 1475)

FossilOrigin-Name: 42247b2fb0c94e75a432b3e067fff9a1be328fc8

21 years agoA couple of test cases and fixes for blob literals. (CVS 1474)
danielk1977 [Thu, 27 May 2004 13:35:19 +0000 (13:35 +0000)] 
A couple of test cases and fixes for blob literals. (CVS 1474)

FossilOrigin-Name: 6d552af67cf6fa6935373ba39de5c47ebf613eb9

21 years agoAlter the Tcl eval sub-command so that it supports blobs. (CVS 1473)
danielk1977 [Thu, 27 May 2004 12:11:31 +0000 (12:11 +0000)] 
Alter the Tcl eval sub-command so that it supports blobs. (CVS 1473)

FossilOrigin-Name: b5d5f0ad717ef43a9714dd1cc40e20d1b94a3e58

21 years agoA few more bugfixes. Test cases pass now. (CVS 1472)
danielk1977 [Thu, 27 May 2004 10:30:52 +0000 (10:30 +0000)] 
A few more bugfixes. Test cases pass now. (CVS 1472)

FossilOrigin-Name: c9e3015faffb650d8dbf1f7f95a7057a36361bac

21 years agoVarious bugfixes. 68 Test cases still fail. (CVS 1471)
danielk1977 [Thu, 27 May 2004 09:28:41 +0000 (09:28 +0000)] 
Various bugfixes. 68 Test cases still fail. (CVS 1471)

FossilOrigin-Name: 67a140cf78d99e38ccd94751c4f8ead1a2b96859

21 years agoFixes to the MEM changes. The library now links. (CVS 1470)
drh [Thu, 27 May 2004 03:12:53 +0000 (03:12 +0000)] 
Fixes to the MEM changes.  The library now links. (CVS 1470)

FossilOrigin-Name: f33d15d95f195e26e1ef396158597a2caa06f374

21 years agoMore MEM changes in the vdbe.c. Still will not compile. (CVS 1469)
drh [Thu, 27 May 2004 01:53:56 +0000 (01:53 +0000)] 
More MEM changes in the vdbe.c.  Still will not compile. (CVS 1469)

FossilOrigin-Name: dbdd1a7f316e576d0611748ec63c9ef00d4c10db

21 years agoMore test cases for the new query API. (CVS 1468)
danielk1977 [Thu, 27 May 2004 01:49:51 +0000 (01:49 +0000)] 
More test cases for the new query API. (CVS 1468)

FossilOrigin-Name: 74097ecdb0b1e0eec143c5a3f8ca2f0d63d6f38d

21 years agoAdd TCL test bindings and some more test cases for the new query API. (CVS 1467)
danielk1977 [Thu, 27 May 2004 01:04:07 +0000 (01:04 +0000)] 
Add TCL test bindings and some more test cases for the new query API. (CVS 1467)

FossilOrigin-Name: d72adf0c522b442d5e1663862bdd639c282d4495

21 years agoBreak Mem.flags into Mem.type and Mem.enc. (CVS 1466)
drh [Wed, 26 May 2004 23:43:11 +0000 (23:43 +0000)] 
Break Mem.flags into Mem.type and Mem.enc. (CVS 1466)

FossilOrigin-Name: 68ef17028621681f5d091e77d5df84f663a15e27

21 years agoRefactoring of the vdbe Mem functions and the APIs that deal with them.
drh [Wed, 26 May 2004 23:25:30 +0000 (23:25 +0000)] 
Refactoring of the vdbe Mem functions and the APIs that deal with them.
The code will not compile in its current state. (CVS 1465)

FossilOrigin-Name: bba6684d502ba1ecd9614d2470ec94296e3c07c2

21 years agoRemove dataType and includeTypes flags from function definitions. Added new
drh [Wed, 26 May 2004 16:54:42 +0000 (16:54 +0000)] 
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)

FossilOrigin-Name: 36e031625995b2f7baf7654d771ca8fb764a0085

21 years agoEnsure the type of an sqlite3_value* is not modified by calls to
danielk1977 [Wed, 26 May 2004 13:27:00 +0000 (13:27 +0000)] 
Ensure the type of an sqlite3_value* is not modified by calls to
sqlite3_value_*() calls. (CVS 1463)

FossilOrigin-Name: ce8b15203413f38a8b7127eb08ae5db1c1eb164a

21 years agoAdd some tests for the new API. Many more to come. (CVS 1462)
danielk1977 [Wed, 26 May 2004 10:11:05 +0000 (10:11 +0000)] 
Add some tests for the new API. Many more to come. (CVS 1462)

FossilOrigin-Name: d5659f2ee6788e0205fb5e03eeaf64e6c0aa9bed

21 years agoRemove the show_datatypes pragma. (CVS 1461)
danielk1977 [Wed, 26 May 2004 06:58:43 +0000 (06:58 +0000)] 
Remove the show_datatypes pragma. (CVS 1461)

FossilOrigin-Name: 93bb958d939302795027f738b8f663cbce3e8783

21 years agoUse the new form of the sqlite3_create_function() API. (CVS 1460)
danielk1977 [Wed, 26 May 2004 06:18:37 +0000 (06:18 +0000)] 
Use the new form of the sqlite3_create_function() API. (CVS 1460)

FossilOrigin-Name: 0317bef4b0c219ca2888c90553201e53230fb360

21 years agoUse the new API calls more consistently. (CVS 1459)
danielk1977 [Wed, 26 May 2004 02:04:57 +0000 (02:04 +0000)] 
Use the new API calls more consistently. (CVS 1459)

FossilOrigin-Name: 17e7db488dac6b30d174f2272edf1046c2bb9990

21 years agoMore changes to do with the new sqlite3_step() API. (CVS 1458)
danielk1977 [Wed, 26 May 2004 00:07:25 +0000 (00:07 +0000)] 
More changes to do with the new sqlite3_step() API. (CVS 1458)

FossilOrigin-Name: e83138250ce0a8caacbd1822eec2e06796d2f5f2

21 years agoMinor code fixes in btree.c and pragma.c to help with watcom C. (CVS 1457)
drh [Wed, 26 May 2004 00:01:53 +0000 (00:01 +0000)] 
Minor code fixes in btree.c and pragma.c to help with watcom C. (CVS 1457)

FossilOrigin-Name: 143c502a59e727975f61c8d13b6c5a90dad038f3

21 years agoAdd file legacy.c with old APIs. (CVS 1456)
danielk1977 [Wed, 26 May 2004 00:01:35 +0000 (00:01 +0000)] 
Add file legacy.c with old APIs. (CVS 1456)

FossilOrigin-Name: ae18fcb7ad91096f8029605b54d71ec225f31f32

21 years agoMove the sqlite3_exec() function to legacy.c. (CVS 1455)
danielk1977 [Tue, 25 May 2004 23:35:17 +0000 (23:35 +0000)] 
Move the sqlite3_exec() function to legacy.c. (CVS 1455)

FossilOrigin-Name: 9385ad5ca82c82d9ef699102ca0b53661d02a052

21 years agoChange a couple of symbol names for the new user function API. (CVS 1454)
danielk1977 [Tue, 25 May 2004 12:05:56 +0000 (12:05 +0000)] 
Change a couple of symbol names for the new user function API. (CVS 1454)

FossilOrigin-Name: 8f6b20c2938ded7ab9e400494c02370ecf7e9311

21 years agoUse the new API for returning values and errors from user functions. (CVS 1453)
danielk1977 [Tue, 25 May 2004 11:47:24 +0000 (11:47 +0000)] 
Use the new API for returning values and errors from user functions. (CVS 1453)

FossilOrigin-Name: 4eccae03b4a7f37804fea30416579787c3584bb2

21 years agoAdd manifest type aware versions of the min() and max() aggregates. (CVS 1452)
danielk1977 [Tue, 25 May 2004 01:13:20 +0000 (01:13 +0000)] 
Add manifest type aware versions of the min() and max() aggregates. (CVS 1452)

FossilOrigin-Name: b77c268ebebd5401c3f519a72cfb81438207368c

21 years agoAggregate functions also use sqlite_value* instead of const char * for
danielk1977 [Mon, 24 May 2004 23:48:25 +0000 (23:48 +0000)] 
Aggregate functions also use sqlite_value* instead of const char * for
arguments. (CVS 1451)

FossilOrigin-Name: 5c28ed5e9b5a3ecb3081ce0c5c9450d6ae8dc77d

21 years agoUpdate the typeof() operator to respect manifest types. (CVS 1450)
danielk1977 [Mon, 24 May 2004 12:55:54 +0000 (12:55 +0000)] 
Update the typeof() operator to respect manifest types. (CVS 1450)

FossilOrigin-Name: 162cf42e33691f4c9ec3a25abcaa2bdcdca2b5e0

21 years agoNon-aggregate SQL functions use sqlite_value* instead of const char * for
danielk1977 [Mon, 24 May 2004 12:39:02 +0000 (12:39 +0000)] 
Non-aggregate SQL functions use sqlite_value* instead of const char * for
argument values. (CVS 1449)

FossilOrigin-Name: 1e47d7384d5fdfceb6ec737c656f70be59ba5b01

21 years agoFix typo in vdbe.c from previous commit. (CVS 1448)
danielk1977 [Mon, 24 May 2004 09:15:39 +0000 (09:15 +0000)] 
Fix typo in vdbe.c from previous commit. (CVS 1448)

FossilOrigin-Name: a554bf6c7075839f760a2ff944ac61b32cab0821

21 years agoAdd the sqlite3_value_*() access functions. (CVS 1447)
danielk1977 [Mon, 24 May 2004 09:10:10 +0000 (09:10 +0000)] 
Add the sqlite3_value_*() access functions. (CVS 1447)

FossilOrigin-Name: 4bf925fcfccb18e66be031f8a234f370d581e9ea

21 years agoFix for retrieving UTF-16 little-endian text from a big-endian database. (CVS 1446)
danielk1977 [Mon, 24 May 2004 07:34:48 +0000 (07:34 +0000)] 
Fix for retrieving UTF-16 little-endian text from a big-endian database. (CVS 1446)

FossilOrigin-Name: 8104baf23dd28fc982cf260e3e8c90f0c582f602

21 years agoHave the vdbe handle strings in the same encoding as the database. (CVS 1445)
danielk1977 [Mon, 24 May 2004 07:04:25 +0000 (07:04 +0000)] 
Have the vdbe handle strings in the same encoding as the database. (CVS 1445)

FossilOrigin-Name: b7155db2b13aa3ca5f6c68e948d9e8740ebcac47

21 years agoBegin changing the vdbe so all stack values use the database encoding. (CVS 1444)
danielk1977 [Sun, 23 May 2004 13:30:58 +0000 (13:30 +0000)] 
Begin changing the vdbe so all stack values use the database encoding. (CVS 1444)

FossilOrigin-Name: f47de3a933b51b37629a0ca2e492a534a12e7339

21 years agoRemove the OP_SetInsert opcode. (CVS 1443)
drh [Sat, 22 May 2004 21:30:40 +0000 (21:30 +0000)] 
Remove the OP_SetInsert opcode. (CVS 1443)

FossilOrigin-Name: 18e690e405710c9a8010340c01754bbfa3231fe9

21 years agoMove btree_rb.c into the attic. (CVS 1442)
drh [Sat, 22 May 2004 17:46:37 +0000 (17:46 +0000)] 
Move btree_rb.c into the attic. (CVS 1442)

FossilOrigin-Name: 4159ef235d780ec941677439e77c6fa96e24997c

21 years agoSplit up os.c into separate files, one for each platform. (CVS 1441)
drh [Sat, 22 May 2004 17:41:58 +0000 (17:41 +0000)] 
Split up os.c into separate files, one for each platform. (CVS 1441)

FossilOrigin-Name: 5c61be1c47ac960fba2a642e69a98436ce1cd725

21 years agoBug fix in vdbe.c - variable declarations must come before code in ANSI C. (CVS 1440)
drh [Sat, 22 May 2004 11:09:30 +0000 (11:09 +0000)] 
Bug fix in vdbe.c - variable declarations must come before code in ANSI C. (CVS 1440)

FossilOrigin-Name: c36203de22f673691783529e06ce5a58bcebeedc

21 years agoAdd a couple of tests for UTF-16 databases. (CVS 1439)
danielk1977 [Sat, 22 May 2004 10:33:04 +0000 (10:33 +0000)] 
Add a couple of tests for UTF-16 databases. (CVS 1439)

FossilOrigin-Name: 891be63a92097384e1b00993d35f002048c4b42e

21 years agoAdd a couple of tests for UTF-16 databases. (CVS 1438)
danielk1977 [Sat, 22 May 2004 10:33:04 +0000 (10:33 +0000)] 
Add a couple of tests for UTF-16 databases. (CVS 1438)

FossilOrigin-Name: d7551df8c32c4981d94eb57cd2a999592e91f50f

21 years agoUse the new form of the sqlite3_open() API everywhere. (CVS 1437)
danielk1977 [Sat, 22 May 2004 09:21:21 +0000 (09:21 +0000)] 
Use the new form of the sqlite3_open() API everywhere. (CVS 1437)

FossilOrigin-Name: b449217318ade3196757bef8aaf7302634f0f9b6

21 years agoTests for the functions in utf.c. (CVS 1436)
danielk1977 [Sat, 22 May 2004 08:16:11 +0000 (08:16 +0000)] 
Tests for the functions in utf.c. (CVS 1436)

FossilOrigin-Name: 802d65affcafffda33e2ff1cbd4e4869dc3814df

21 years agoStore the text encoding in the database (as meta value 4). (CVS 1435)
danielk1977 [Sat, 22 May 2004 08:09:11 +0000 (08:09 +0000)] 
Store the text encoding in the database (as meta value 4). (CVS 1435)

FossilOrigin-Name: 7f00ca5801889724c0e768961aa15f5ce0b8e7b5

21 years agoA few bugfixes related to UTF-16 databases. sqlite3_open() still assumes a
danielk1977 [Sat, 22 May 2004 07:27:46 +0000 (07:27 +0000)] 
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)

FossilOrigin-Name: b3581d2796c8cb6581b7156774698a05fc8f800e

21 years agoSteps towards UTF-16 databases. Some tests are failing because of this
danielk1977 [Sat, 22 May 2004 03:05:33 +0000 (03:05 +0000)] 
Steps towards UTF-16 databases. Some tests are failing because of this
commit. (CVS 1433)

FossilOrigin-Name: c4a8246864eee7cb993ab7b703324d92c284d72a

21 years agoUpdate comments and remove dead code from btree.c (CVS 1432)
drh [Sat, 22 May 2004 02:55:23 +0000 (02:55 +0000)] 
Update comments and remove dead code from btree.c (CVS 1432)

FossilOrigin-Name: 8069caca82bc4d40d8ac95bafdd91a18a70ab1e0

21 years agoFloating point values are serialized in big-endian byte order. (CVS 1431)
drh [Fri, 21 May 2004 21:12:42 +0000 (21:12 +0000)] 
Floating point values are serialized in big-endian byte order. (CVS 1431)

FossilOrigin-Name: acb65297b69c531813287166175fa7864c900fe6

21 years agoRemove the OP_SetFound opcode and its cousins. (CVS 1430)
drh [Fri, 21 May 2004 13:39:50 +0000 (13:39 +0000)] 
Remove the OP_SetFound opcode and its cousins. (CVS 1430)

FossilOrigin-Name: 5524075ec02102446f8d153e068546f763d4bf7a

21 years agoEliminate some unused code (CVS 1429)
danielk1977 [Fri, 21 May 2004 11:39:05 +0000 (11:39 +0000)] 
Eliminate some unused code (CVS 1429)

FossilOrigin-Name: 550a53b3f28ddb288bcb6c21849ca83b0a20bde4

21 years agoPretty-print blobs in vdbe-traces. (CVS 1428)
danielk1977 [Fri, 21 May 2004 10:49:47 +0000 (10:49 +0000)] 
Pretty-print blobs in vdbe-traces. (CVS 1428)

FossilOrigin-Name: 5eb94c97657b34ed2df6455e23875e2840743bda

21 years agoFurther work on the new API. All the functions to execute queries are there
danielk1977 [Fri, 21 May 2004 10:08:53 +0000 (10:08 +0000)] 
Further work on the new API. All the functions to execute queries are there
now. (CVS 1427)

FossilOrigin-Name: fc94575d77f9865e1553bb70c2e3eda2a0b8669e