Commit Graph

1889 Commits

Author SHA1 Message Date
drh
fa9249dd98 Fix typos in web documentation. Tickets #770 and #771. (CVS 1668)
FossilOrigin-Name: 04673066ff6a7c127559ba448fe50a4d95a26347
2004-06-22 14:57:53 +00:00
drh
f1f7d25536 The download.tcl script used to generate download.html must run out of
the doc subdirectory of the build. (CVS 1667)

FossilOrigin-Name: 80c7b13ff39c88474587b1899505bac83a0b8812
2004-06-22 14:52:26 +00:00
drh
d8c8d5cec8 Update the changes.html webpage for version 3.0.1. (CVS 1666)
FossilOrigin-Name: d5d28e9822ba9177acfd72ebd87c293a4fac4784
2004-06-22 14:47:01 +00:00
drh
8eebadf133 Rename sqlite.dll to sqlite3.dll. (CVS 1665)
FossilOrigin-Name: a82cb4d30a1191322e61faedc9c48472d0686c98
2004-06-22 14:41:35 +00:00
drh
03601b8d57 Prepare for another ALPHA release. Version number 3.0.1. (CVS 1664)
FossilOrigin-Name: 6dd7b02537c20af2074ada70c3fd4294dd46742d
2004-06-22 14:41:00 +00:00
drh
d86596e0e2 Do not apply unary '-' to an unsigned "sizeof" result. (CVS 1663)
FossilOrigin-Name: 129c5d5e3af4a7eeeebf5e4cbe9f0da5c123a68b
2004-06-22 14:40:11 +00:00
danielk1977
e5b7a0e8ee Fix error introduced during merge of main.mk. (CVS 1662)
FossilOrigin-Name: eef6da38d5b1d84e8a1eb9fe88f0f568717ea323
2004-06-22 13:23:47 +00:00
drh
645f63ed02 Fix some segfaults that could have occurred after a malloc() failure. (CVS 1661)
FossilOrigin-Name: 80151e728101c3cd5a8cf36cca2bfa661b21c746
2004-06-22 13:22:40 +00:00
danielk1977
d1e3bee1a0 Add crash.test script. (CVS 1660)
FossilOrigin-Name: 64a6d805178af8947ccca19898c06979c226d92b
2004-06-22 13:12:51 +00:00
drh
241db313b4 Add comments to test1.c. (CVS 1659)
FossilOrigin-Name: be6bd6c99dde902aafd02d8a72f3d42826caabe8
2004-06-22 12:46:53 +00:00
drh
83f4707ab2 Add os_tst.c to the TESTSRC macro in main.mk. (CVS 1658)
FossilOrigin-Name: d0def160e5cf37cde771c2d9b18904a2a1f8c358
2004-06-22 12:30:19 +00:00
danielk1977
8a6c550d94 Improve the os_test.c module. (CVS 1657)
FossilOrigin-Name: ecdb93d3c92e34f7d85aa2fd703880669397b216
2004-06-22 12:18:32 +00:00
drh
efad99959b Patch around compilers that do not support "long long int". (CVS 1656)
FossilOrigin-Name: d98b1502e2947d24ab9f4a5d2e5b9a95dde92faf
2004-06-22 12:13:55 +00:00
danielk1977
e302663615 Add os_test.c. Not activated yet. (CVS 1655)
FossilOrigin-Name: d16b863849d1aa887fe403e25153b1e9df6b837e
2004-06-22 11:29:02 +00:00
dougcurrie
369340af3d configure fixes for cygwin (line endings in configure.ac) ticket #772 (CVS 1654)
FossilOrigin-Name: 819a5973d15bf619182e47abd9b9dca2a560d8ff
2004-06-21 21:49:57 +00:00
dougcurrie
001c0bdc28 configure fixes for cygwin (line endings in configure.ac) (CVS 1653)
FossilOrigin-Name: eec48814f470bc90c7a3ffd8a0f0e84af52abb26
2004-06-21 21:44:49 +00:00
dougcurrie
0f290bf7b8 configure and makefile updates for v3-alpha compiler macros (CVS 1652)
FossilOrigin-Name: 99f38932d6e777392e168493ebcf5559ecc994c7
2004-06-21 18:57:29 +00:00
drh
da71ce1623 Fix an uninitialized variable. The variable was harmless, but pedantic
error checking in MSVC raised an exception on it. (CVS 1651)

FossilOrigin-Name: afc398c2ca97ff165ea8242a5ffb8b6374b7fa8f
2004-06-21 18:14:45 +00:00
danielk1977
da95f8a67f Remove unused OP_UtfXX opcodes. (CVS 1650)
FossilOrigin-Name: 84d6354fce8332b2fb4365ee23b9c9b7c012db9f
2004-06-21 11:30:56 +00:00
danielk1977
e159fdf21c Avoid opening a temp table for aggregate queries with no GROUP BY clause. (CVS 1649)
FossilOrigin-Name: 4d02df63496091a1e643601f84313f42130d6282
2004-06-21 10:45:06 +00:00
danielk1977
72c952a1c4 Add the OP_Concat8 opcode, similar in concept to OP_String8. (CVS 1648)
FossilOrigin-Name: bbd3e93348bc3a1178f5278c6cf0b82e75bbf642
2004-06-21 09:06:41 +00:00
danielk1977
9e6db7d70f Ensure sqlite3ErrorMsg() is used to report errors during compilation,
sqlite3Error() during execution. Also remove unused param from
sqlite3VdbeReset() and Finalize(). (CVS 1647)

FossilOrigin-Name: 7a33daef5b49b1f2d89f27e0063372fe4f1702c8
2004-06-21 08:18:51 +00:00
danielk1977
00e279d9f7 Update sqlite3_column_decltype() to return NULL as the declartion type for
an expression that is not a column reference. (CVS 1646)

FossilOrigin-Name: ee9dffd986621490af7bd45c7fe070bb7da8c357
2004-06-21 07:36:32 +00:00
danielk1977
b28af71a22 Update sqlite3_changes() to match the documentation and add
sqlite3_total_changes(). (CVS 1645)

FossilOrigin-Name: ae2f4a0943854fedbbb6fab1dc3aaf972722ed95
2004-06-21 06:50:26 +00:00
dougcurrie
d664d9a2bb fix fulltest error by restoring unset (CVS 1644)
FossilOrigin-Name: d2ccac9d01994de09a195d71cb63d1bf9fb0d33f
2004-06-20 03:06:18 +00:00
drh
0e3d74761d Make sure VdbeFunc entries are initialized before trying to destroy them.
Also, unrelated comment changes in build.c. (CVS 1643)

FossilOrigin-Name: fc3b3a8fe86980db4de402bb8e85f8f739fc3883
2004-06-19 17:33:07 +00:00
drh
124b27e654 Omit the DB_Locked and DB_Cookie flags. Other minor cleanup. (CVS 1642)
FossilOrigin-Name: 01f74b420c3f24918c066172e09cebbb22568faf
2004-06-19 16:06:10 +00:00
drh
f92c7ff74a Clear up another zero-length array. This seems to fix the segfault in
func-13.4 too. (CVS 1641)

FossilOrigin-Name: 70680a34b4b617286d92730bd3042b8b569b3371
2004-06-19 15:40:23 +00:00
drh
998da3a287 Fix problems with the WatCom C compiler: Arrays must contain at least one
element.  sqlite3FreeX declared properly.  Don't allow run-time expression
(the SQLITE_UTF16NATIVE macro) in an array initializer. (CVS 1640)

FossilOrigin-Name: fbfc3c95a8abf25bb9e2b44cfeb7186c5b0591d7
2004-06-19 15:22:56 +00:00
drh
a99db3b6ac Omit the sqlite3VdbeCode() routine. Use sqlite3NameFromToken() more to
reduce the amount of code. (CVS 1639)

FossilOrigin-Name: 99d0436e0ee1c917b2b7bbf005f05288b535648a
2004-06-19 14:49:12 +00:00
drh
65d8439342 file spaceanal.tcl was initially added on branch version_2. (CVS 1638)
FossilOrigin-Name: 936e60d7b122079de23db301a55c6e8510c82e18
2004-06-19 11:57:39 +00:00
drh
7ec0191c42 Create sqlite3.def and move sqlite.def into the attic. (CVS 1635)
FossilOrigin-Name: a5c98a272ec30971a9aa9ba2a6e2dec1a4dd8c18
2004-06-19 11:39:01 +00:00
danielk1977
ec8450f6cb Remove the unused 'next_cookie' mechanism. (CVS 1634)
FossilOrigin-Name: c94a9759ca6346a8c32f388a7aa1f0f139d6abc2
2004-06-19 09:35:36 +00:00
danielk1977
92f9a1bbda Make sure ATTACH and DETACH fail if a transaction is active. (CVS 1633)
FossilOrigin-Name: c49d8bdc3e1172a283f7aaf208fbb9096acd5ab6
2004-06-19 09:08:16 +00:00
danielk1977
f9d64d2c30 Remove the iCollate argument from sqlite3_create_function() (CVS 1632)
FossilOrigin-Name: 728d57ff5517a51c3aad4ba95525b1aa2065bd19
2004-06-19 08:18:07 +00:00
danielk1977
96d81f99d4 Update sqlite3_close() API to match documentation. (CVS 1630)
FossilOrigin-Name: 61819740fe8916892afe502196bb8b75a51f81e8
2004-06-19 03:33:57 +00:00
drh
b7ce0c90a3 Update sqlite.def for version 3.0. (CVS 1629)
FossilOrigin-Name: 327780ade9ac99470018320218f39fbbc8f21837
2004-06-19 03:26:12 +00:00
danielk1977
d008cfe305 Fix for #764. When reloading the schema, load the temp schema last. (CVS 1628)
FossilOrigin-Name: 1f43219a7402af7255743466731dba2afb31d12b
2004-06-19 02:22:10 +00:00
dougcurrie
d3fc6d0e3b fix dependencies for testfixture in Makefile.in (CVS 1627)
FossilOrigin-Name: 26676538ee63311393b52c8479c324469bf71f65
2004-06-19 02:19:39 +00:00
drh
ef4ac8f9df Change the name of the TCL command from "sqlite" to "sqlite3" so that both
SQLite version 2 and SQLite version 3 can be used by Tcl at the same time. (CVS 1626)

FossilOrigin-Name: d705d051bed2b92b6c3bbcc75fe5b056633b9c31
2004-06-19 00:16:31 +00:00
dougcurrie
81c95efaf5 MinGW/MSYS build fixes; ticket #765 (CVS 1625)
FossilOrigin-Name: 5f383c1ee1a2aec9e192f29528ec2a02f2329d19
2004-06-18 23:21:47 +00:00
dougcurrie
f12f80f071 MinGW/MSYS build fixes; ticket #765 (CVS 1624)
FossilOrigin-Name: 3c6b9b41a682a7bb979acc1e269eea2384aa9d45
2004-06-18 23:20:53 +00:00
dougcurrie
6b29334cd2 MinGW/MSYS build fixes; ticket #765 (CVS 1623)
FossilOrigin-Name: 7121cee78c2ed20fd09190fdcca1c8c92ef1e09d
2004-06-18 23:19:19 +00:00
drh
bdb4383a90 Fix declaration problem in the previous check-in. (CVS 1622)
FossilOrigin-Name: f312057da4304857d16b344b784c84ce14e2ef69
2004-06-18 17:45:11 +00:00
drh
38f8271f81 Changes to allow libsqlite3.a and libsqlite.a to be both linked into the
same program at the same time. (CVS 1621)

FossilOrigin-Name: 2590fffcaa92adc619f7a927d2b5169d8dfef50a
2004-06-18 17:10:16 +00:00
drh
43d0578e04 Fix typos in documentation. Fix publish.sh so that it correctly builds the
ZIP archive of preprocesses source code. (CVS 1620)

FossilOrigin-Name: fee0c5e308c3de1937185e2060c8757e605ab3a2
2004-06-18 15:13:48 +00:00
drh
8107be2c7e Version 3.0.0 (ALPHA) (CVS 1619)
FossilOrigin-Name: 8b409aaae42cc36d96536531da41f05bd0cdd29c
2004-06-18 12:29:23 +00:00
danielk1977
f5628d7825 Fix typos in capi3.tcl (CVS 1618)
FossilOrigin-Name: 9e0e530f10bf70996471650496173dee074c2732
2004-06-18 11:34:09 +00:00
drh
829512baa0 Update the Makefile.in, version number, change log, etc for the 3.0.0
release. (CVS 1617)

FossilOrigin-Name: 917391e05ef45fd1eae883a99e6bbe6d7df3cc1c
2004-06-18 11:29:35 +00:00
danielk1977
8d81b86a2e Fix typos and minor errors in lang.tcl. (CVS 1616)
FossilOrigin-Name: 61db159c7d1d971266e487d44e3eb5bf6ac9a8e3
2004-06-18 11:25:21 +00:00
danielk1977
5314c4d7ab Fix a couple of gcc warnings. (CVS 1615)
FossilOrigin-Name: 960f55f3ecbef4581c8cb7be860023ba10de4e96
2004-06-18 06:02:35 +00:00
danielk1977
bfd6cce56b Optimisation for unicode encoding conversion routines. (CVS 1614)
FossilOrigin-Name: 39a415eaa65964742e40b7ea4d471fa04007c6c9
2004-06-18 04:24:54 +00:00
drh
a285422922 Documentation updates in preparation for the release of version 3.0.0. (CVS 1613)
FossilOrigin-Name: 9fb29f7331254b601b71f0fe7d77f91915272dc7
2004-06-17 19:04:17 +00:00
danielk1977
ededfd5e83 Remove redundant opcodes OP_MakeKey and OP_MakeIdxKey. (CVS 1612)
FossilOrigin-Name: a71a9ff114f2162696d8d37fbc87b315568f6dcb
2004-06-17 07:53:01 +00:00
danielk1977
f736b77160 Handle conflicting ON CONFLICT clauses in table definitions. (CVS 1611)
FossilOrigin-Name: 12e77e759ec5b45b7fb94aa815435127f395162e
2004-06-17 06:13:34 +00:00
danielk1977
3f6b087471 Use the faster LIKE function from sqlite v2. Add special user functions to
test builds to test the auxdata APIs. (CVS 1610)

FossilOrigin-Name: b9493c5facea4d24a6cbc4f6fa2f75dc2399a11d
2004-06-17 05:36:44 +00:00
danielk1977
d09b592f63 Remove the second definition of SQLITE_N_BTREE_META from test3.c. (CVS 1609)
FossilOrigin-Name: b1e66ae4640c2cd32d47c043b5c25ea67182098b
2004-06-17 00:01:21 +00:00
danielk1977
f7df9ccfe7 Trivial modifications to prevent compiler warnings. (CVS 1608)
FossilOrigin-Name: b3d5ad6f7832d46e34e99e4a1cb7e47c88f207a4
2004-06-16 12:02:47 +00:00
danielk1977
742f947b1d Trivial modifications to prevent compiler warnings. (CVS 1607)
FossilOrigin-Name: 7974c9a6f5ed86f02176376d99d909c43a4ae455
2004-06-16 12:02:43 +00:00
danielk1977
cfe9a69f90 Trivial modifications to prevent compiler warnings. (CVS 1606)
FossilOrigin-Name: 6001c5e1ced08096bb404e72ff533b7edcc896ec
2004-06-16 12:00:29 +00:00
danielk1977
8def5ea203 Fix handling of a failed malloc() in various places (CVS 1605)
FossilOrigin-Name: b739ef2a1b8f7cfee4ab3f4c1319c159bd1e2e40
2004-06-16 10:39:52 +00:00
danielk1977
5c4c77878d Fix handling of a failed malloc() in various places (CVS 1604)
FossilOrigin-Name: 7d8edce4c12d075acbc6bac6758aabb2769f983a
2004-06-16 10:39:23 +00:00
danielk1977
eac7a362f6 Fix two more memory leaks. (CVS 1603)
FossilOrigin-Name: 98b48704a1ce983677cdb269c24f7bca4ed606f7
2004-06-16 07:45:24 +00:00
drh
7b93ed3d48 Documentation updates and changes the publish.sh script. (CVS 1602)
FossilOrigin-Name: e9a77f8972128550f6ff98dcf854eb7680eaee8b
2004-06-16 03:02:00 +00:00
danielk1977
e00484002f Assorted memory leak fixes. (CVS 1600)
FossilOrigin-Name: 07b90f3690768e852384fbbde0ba59e69e24d1da
2004-06-15 16:51:01 +00:00
danielk1977
b20e56b451 Memory leak fixes for tests in file select1.test. (CVS 1599)
FossilOrigin-Name: 59db58ebd30cd7c79c32f5a725620e740eff661d
2004-06-15 13:36:30 +00:00
danielk1977
369f27eb51 Minor bugfixes and test case adjustments for version 2 test cases to work
with version 3. (CVS 1598)

FossilOrigin-Name: e21a181376d4115c7dbe614f3f8a1fbf82d77c75
2004-06-15 11:40:04 +00:00
danielk1977
fbcd585fe6 (1) Vdbe makes a copy of column types. (2) Don't invalidate other cursors
when a statement or transaction is rolled back. (3) Update capi2.test for
the new API. (CVS 1597)

FossilOrigin-Name: 4f5e2530829ef91753b083b5f2a1d7332e311cb6
2004-06-15 02:44:18 +00:00
drh
0c6cc4ed19 Update comments in btree.c. No changes to code. (CVS 1596)
FossilOrigin-Name: 1c6a0706359c21e3b04e9097837a297d1d7714c3
2004-06-15 02:13:26 +00:00
drh
1f5957167b Do not use the page containing locks for anything to avoid problems with
the manditory file locking on windows. (CVS 1595)

FossilOrigin-Name: 5a814202777f381caf5337b37e11c9ab8b8f554a
2004-06-15 01:40:29 +00:00
drh
bf9a7e4d4e Add the sqlite3OsFileModTime() interface. But it is still unused. The
change counter in page 1 is always incremented. (CVS 1594)

FossilOrigin-Name: 186c6f93e12978907c5f0ff81d90bdf7367b9274
2004-06-15 00:29:03 +00:00
danielk1977
2dd59365ed Update some old tests to use the new API. (CVS 1593)
FossilOrigin-Name: af6edd2c0ad160435acd5bfa7af36c4f394f0bb8
2004-06-14 23:46:47 +00:00
danielk1977
026d270ca6 Schema modifications are committed internally when a statement transaction
is committed. (CVS 1592)

FossilOrigin-Name: 4cfc5a36e9891a9b69209f94194fc492e203ab75
2004-06-14 13:14:59 +00:00
danielk1977
2ac79703b1 Fix a bug in the auth.test script. (CVS 1590)
FossilOrigin-Name: 1fa97dd81d349e448171a78f69e463e7fa364daa
2004-06-14 11:54:18 +00:00
danielk1977
f3ce83f5f6 Have the TCL 'errorcode' interface call sqlite3_errcode(). (CVS 1589)
FossilOrigin-Name: f4b4df6514c19b0c23b399142749a7e4a20d0f70
2004-06-14 11:43:46 +00:00
danielk1977
66b978a415 Don't invoke authorisation callback during database initialisation. (CVS 1588)
FossilOrigin-Name: 293fbf0aa5c221bc341d0d9afc73d459f427f940
2004-06-14 11:35:17 +00:00
danielk1977
3fe83ac7a1 Bugfix for previous checkin. (CVS 1587)
FossilOrigin-Name: 2737505f28e37627ed6091e356d005624e1f49fa
2004-06-14 09:41:17 +00:00
danielk1977
962398d395 Ensure master journal file is deleted when a transaction is committed. (CVS 1586)
FossilOrigin-Name: cb3cbe00be9a42e974688016a056053cedb55eef
2004-06-14 09:35:16 +00:00
danielk1977
f9d19a6b3f Check the value of the schema cookie before reading the sqlite_master table. (CVS 1585)
FossilOrigin-Name: 80c299f8839d920c61854f575498340b28db98d7
2004-06-14 08:26:35 +00:00
danielk1977
19bea40160 Change tests in pager.test to account for the extra cache hit in the code
that updates file change counter. (CVS 1584)

FossilOrigin-Name: 76ac9a787b42da3bfa94192b26ed48483b5ff189
2004-06-14 06:13:06 +00:00
danielk1977
5865e3d54f Ensure the master journal directory is synced. Also, change the master journal
format to store journal file names. (CVS 1583)

FossilOrigin-Name: 73cd0aabb24f7b663c8b55cf5e8fcb34fd48c032
2004-06-14 06:03:57 +00:00
danielk1977
aa5ccdf5b8 Update the file change counter just before each transaction is committed. (CVS 1582)
FossilOrigin-Name: 4649abcbfd032836b196b5d690ef66e4aa494c45
2004-06-14 05:10:42 +00:00
drh
59eb676017 os_win.c is now working with the new locking protocol. (CVS 1581)
FossilOrigin-Name: 77c5eaa10a9d2e2bb8f89b7434d6e6efbacf35e9
2004-06-13 23:07:04 +00:00
drh
eafe05b0ce More speed improvements. (CVS 1580)
FossilOrigin-Name: c5ebc1c05eccc2c0697b6047a504954e11960f73
2004-06-13 00:54:01 +00:00
drh
e1632b271d The VDBE aggregate functions use an in-memory btree instead of a disk-based
btree for improved performance. (CVS 1579)

FossilOrigin-Name: 8029f1e465b900215acdff48c8eefb53c71341a8
2004-06-12 20:42:29 +00:00
drh
4774b13029 Speed up in the handling of VDBE cursors. (CVS 1578)
FossilOrigin-Name: e42316f5708de6f639b7b54e08d4be73b45367e9
2004-06-12 20:12:51 +00:00
drh
e61cffc203 Improve the speed of OP_Column through better caching. (CVS 1577)
FossilOrigin-Name: f687977a28eda5ce0aa1cba2fdfb0152443032bc
2004-06-12 18:12:15 +00:00
drh
406c3f9284 Fix typo in the locking document. (CVS 1576)
FossilOrigin-Name: 99a7bd83ac38e14bb936a834634313cf98279a62
2004-06-12 14:11:38 +00:00
danielk1977
d8123366c4 (1) Modifications to the user-function interface and (2) Internal changes
to automatically created indices. (CVS 1575)

FossilOrigin-Name: 5903f53828b5d282b33e27813417e4317c9ecf0b
2004-06-12 09:25:12 +00:00
drh
3cde3bb0da Bug fix in the unix locking code. (CVS 1574)
FossilOrigin-Name: dcad244f58453d23f2bcb749dcea077434bbd08c
2004-06-12 02:17:14 +00:00
danielk1977
2a764eb0cd Change prototype for busy callbacks to "int xBusy(void *, int);" (CVS 1573)
FossilOrigin-Name: 4f1cfca5ca703d0068cf8d6222dc8e0cfb7e24b6
2004-06-12 01:43:26 +00:00
danielk1977
dc8453fd7a Use the SQLITE_UTF* symbols instead of the old internal TEXT_Utf* symbols. (CVS 1572)
FossilOrigin-Name: 9b84f2f488e1d37ba1a4c4cf31490bcbba0f6edd
2004-06-12 00:42:34 +00:00
drh
31ef3b91f5 Fix typos in the new locking document. (CVS 1571)
FossilOrigin-Name: 022075517cc0edc5f21de4b92ef188bda2034c98
2004-06-11 22:04:31 +00:00
drh
52619dfb7f Documentation of the new pager locking mechanism. (CVS 1570)
FossilOrigin-Name: 13cf1ba8256bf8cee0195dbaeac71a20cd2c2fc2
2004-06-11 17:48:02 +00:00
danielk1977
ce2663ccc8 Have the vdbe aggregator use a btree table instead of a hash table. (CVS 1569)
FossilOrigin-Name: 8d56118f64dbaf8c8006266fa7026f900a4a16bd
2004-06-11 13:19:21 +00:00
danielk1977
dc1bdc4f9d Fix various collation sequence issues. (CVS 1568)
FossilOrigin-Name: 66835ee67051027456a536e33b2f88a741654525
2004-06-11 10:51:27 +00:00
drh
726de599bd Comment changes in pager.c. (CVS 1567)
FossilOrigin-Name: 0e420f72cd5885e32914b4d958bad811fdd9fb77
2004-06-10 23:35:50 +00:00
drh
ef5ecb4126 Add new contributed logo TIFF. (CVS 1566)
FossilOrigin-Name: 86744c9aca8f27c994a2bf37c4f9fd3c90b1266f
2004-06-10 22:51:42 +00:00
danielk1977
4e6af1347c Correctly handle the situation where a collation sequence is available, but
not in the preferred encoding. (CVS 1565)

FossilOrigin-Name: 49ab4794e1b5be5cbb3b87a65477659762487cf8
2004-06-10 14:01:08 +00:00
danielk1977
caec4e7a59 Add the sqlite3_collation_needed() API and fix some error handling cases
involving unknown collation sequences. (CVS 1564)

FossilOrigin-Name: 67500546ea24fd7a30348960c98cd257dbfa965f
2004-06-10 10:51:52 +00:00
danielk1977
d2b65b9fad Add the sqlite3_collation_needed() API and fix some error handling cases
involving unknown collation sequences. (CVS 1563)

FossilOrigin-Name: 518d82d3b1ab996d675f45c94d740c98578a04a6
2004-06-10 10:51:47 +00:00
danielk1977
7cedc8d4d6 Add the sqlite3_collation_needed() API and fix some error handling cases
involving unknown collation sequences. (CVS 1562)

FossilOrigin-Name: edf069b9f4044ed2a80962c7722052bf1b80bf45
2004-06-10 10:50:08 +00:00
danielk1977
0de0bb3360 Misc fixes for test cases failing due to the new locking model. (CVS 1561)
FossilOrigin-Name: 71e98d0d089576433c4b06dcba1c57063bd366f5
2004-06-10 05:59:24 +00:00
danielk1977
a3f3a5f3d2 When in PAGER_RESERVED state, don't write to the main file when rolling
back a statement transaction. (CVS 1560)

FossilOrigin-Name: adb2bd61436927d37b23bae857089d62e12397af
2004-06-10 04:32:16 +00:00
danielk1977
466be56bcf Change the collation sequence interface to allow collation sequences that
use UTF-16 in non-native byte order to be registered. (CVS 1559)

FossilOrigin-Name: b8aaa3a29e0ddef357ab1b3b0b9f87ed390f2f36
2004-06-10 02:16:01 +00:00
drh
35d4c2f4b8 Add the vdbe_listing and sql_trace pragmas used for debugging. (CVS 1558)
FossilOrigin-Name: 28c3cc088018833f507535b8d227232776cff204
2004-06-10 01:30:59 +00:00
drh
a60accbdb2 Tests in lock.test no conform to the new locking scheme. (CVS 1557)
FossilOrigin-Name: a60afd04c5296020e5e72c4d35063fd1e6f90e9e
2004-06-10 01:08:06 +00:00
drh
427eab53e1 Fix a buffer overrun in the atomic multifile commit logic of the pager. (CVS 1556)
FossilOrigin-Name: 3b78ffe0b5dfa20e5c638d85ed400afda8a9f948
2004-06-10 00:51:43 +00:00
drh
a6ecd33851 Check for schema updates if the parser fails to find a table. More locking
test updates. (CVS 1555)

FossilOrigin-Name: a22283512afe2df09d5783d189fbd7389ed313ad
2004-06-10 00:29:09 +00:00
drh
f8646695a2 Website changes for version 2.8.14. (CVS 1553)
FossilOrigin-Name: 73afa14a04e8aa22de71aac7d08abc0ec68dc327
2004-06-09 23:15:22 +00:00
drh
ff13c7d6a3 If a commit fails due to lock contention right after the COMMIT command, take
the database back out of autocommit mode.  Do not rollback.  This gives the
user the chance to try the COMMIT again. (CVS 1551)

FossilOrigin-Name: 39b4ba95c4a16b28b5e8c7a3331e09cb5796e258
2004-06-09 21:01:11 +00:00
drh
c9e0686ead Turn on the atomic multifile commit logic. It does not work right yet, but
it has at least stopped failing asserts. (CVS 1550)

FossilOrigin-Name: 3674b25edc37145b2b1275dd20580015ace66aa7
2004-06-09 20:03:08 +00:00
drh
ae2b40c47d Remove legacy journal formats. (CVS 1549)
FossilOrigin-Name: a12bef4a0877fb1dca531509a1186e092727b6d8
2004-06-09 19:03:54 +00:00
drh
a6abd04193 Fixes to the file locking. 109 tests are now failing. (CVS 1548)
FossilOrigin-Name: dc0763455bbf54c1d8728e16033709caedd6e1c6
2004-06-09 17:37:22 +00:00
drh
89ac8c1a70 Add the "lock_status" pragma - only available when SQLITE_DEBUG is defined.
Used for testing only. (CVS 1547)

FossilOrigin-Name: 0ecbba78fcde8f7715cd74c674b5040ef4953f6e
2004-06-09 14:17:20 +00:00
drh
faa57acc9f Change the MEMORY_DEBUG macro to SQLITE_DEBUG. (CVS 1546)
FossilOrigin-Name: 428b685b7174ef4589176def1028ad1c9461ff7e
2004-06-09 14:01:51 +00:00
danielk1977
c039139807 Fix error reporting when trying to attach a database with a foriegn text
encoding. (CVS 1545)

FossilOrigin-Name: beab038c71eecbabb1351b0c98a71f32ea013285
2004-06-09 12:30:04 +00:00
danielk1977
0202b29ef7 Some progress on user-defined collation sequences. (CVS 1544)
FossilOrigin-Name: c634e71f1909819fb55c728bc410e5cc390428e3
2004-06-09 09:55:16 +00:00
drh
80242055e5 Start all transactions and verify all schema cookies near the beginning of
of each vdbe program. (CVS 1543)

FossilOrigin-Name: 1086196460e261718e78512d77e25dde021a117d
2004-06-09 00:48:12 +00:00
drh
b3e043463d Do not require a RESERVED lock when transitioning from SHARED to EXCLUSIVE. (CVS 1542)
FossilOrigin-Name: 4dfdea7373f3471d17498da3d6c3aaf926a72d4b
2004-06-08 00:47:47 +00:00
danielk1977
3f41e976e8 Enhance the built-in function quote() to support blob values. (CVS 1541)
FossilOrigin-Name: 97aa54bb70715934e0af082d51b9b0f6bb847e8e
2004-06-08 00:39:01 +00:00
danielk1977
4f057f904a Remove the third argument from the sqlite3_open() API. (CVS 1540)
FossilOrigin-Name: 62e31f396cb6b49f542977e2fade78e11e371132
2004-06-08 00:02:33 +00:00
drh
2ac3ee9787 More work on windows locking. Fix some problems with unix locking. There
is still an assertion failure on windows locking in attach2.test. (CVS 1539)

FossilOrigin-Name: 0c2d169cf3c0f36972015c952a2b46cb9a333881
2004-06-07 16:27:46 +00:00
danielk1977
517eb64616 Tables created with the CREATE TABLE <tbl> AS SELECT ... syntax now inherit
column declaration types from the SELECT statement. (CVS 1538)

FossilOrigin-Name: 31c1668dbc2b84438a5b78b0270f58b37b03791d
2004-06-07 10:00:31 +00:00
danielk1977
8e227875dd Add pragma to set/get text encoding. Also fix an obscure problem where a
temp trigger could be accidently dropped. (CVS 1537)

FossilOrigin-Name: 983221b038813c5a7892564896e39597c223c4c3
2004-06-07 07:52:17 +00:00
drh
e54ca3fe2e Progress towards getting locking to work on windows. (CVS 1536)
FossilOrigin-Name: 4f7c0961ad6cb7082bf7716f0c7ca16a8742c039
2004-06-07 01:52:14 +00:00
danielk1977
ad7dd42558 Performance improvements for LIKE. It is still too slow though. (CVS 1535)
FossilOrigin-Name: 30b81507fc404355751705c6f9856c178249eff1
2004-06-06 12:41:49 +00:00
danielk1977
d02eb1fdf4 Enhance user function API to support association of meta-data with constant
arguments and the specification of text encoding preference. The LIKE
operator takes advantage of both. (CVS 1534)

FossilOrigin-Name: 92337d8f79b9754cd61c73e7db2e792a1f482f50
2004-06-06 09:44:03 +00:00
drh
51c6d9633f Added sqlite3OsLock for win32. Assertion fault in attach.test. (CVS 1533)
FossilOrigin-Name: 9e6cd9ec75f726ef85e60f593aaa895791315071
2004-06-06 00:42:25 +00:00
danielk1977
682f68b020 Add the sqlite3_set_auxdata() and sqlite3_get_auxdata() APIs. (CVS 1532)
FossilOrigin-Name: c2899b437366d879258ab4f6ae47868441010eca
2004-06-05 10:22:17 +00:00
danielk1977
2a02e33950 Ensure blob values survive the ".dump" command of the shell. (CVS 1531)
FossilOrigin-Name: e82eb722b0e0b223ddaf7d85669792c33594f9da
2004-06-05 08:04:36 +00:00
drh
a2fce64acc Critical bugs fixed in btree.c. Incompatible file format change. Unrelated
comment fix in select.c (CVS 1530)

FossilOrigin-Name: cb1ffabf86996ab20dfffcb5f133fa9a9b56bbe2
2004-06-05 00:01:44 +00:00
danielk1977
9eed505701 Defer the exclusive db lock until the pager cache is flushed to disk. 41
tests now fail. (CVS 1528)

FossilOrigin-Name: d2f69e5ef2f261a00bb8427a4e2a1638ecfd17a9
2004-06-04 10:38:30 +00:00
danielk1977
24162fe668 Move the 'busy-callback' logic to the pager layer. (CVS 1527)
FossilOrigin-Name: ff70b6d2b60c143e3ada0606ceff97571998c7e3
2004-06-04 06:22:00 +00:00
danielk1977
13adf8a071 Untested updates to support atomic multi-file transactions (CVS 1526)
FossilOrigin-Name: d57e5252c8baaf615c2cd218a33356ea5d95a5e2
2004-06-03 16:08:41 +00:00
danielk1977
ecb2a9644b Fix a segfault in sqlite3OsLock() (CVS 1525)
FossilOrigin-Name: 51348b82c4d5801091537b80059d770410774905
2004-06-02 06:30:16 +00:00
drh
7a224deb5f Work toward combining the OP_MakeKey, OP_MakeIdxKey, and OP_MakeRecord
opcodes into one.  The work is incomplete. (CVS 1524)

FossilOrigin-Name: 165d69a04cca719dec2b042117f848f153721a1d
2004-06-02 01:22:02 +00:00
drh
df0148931d Remove the sqlite3_libencoding() api and the ISO8859 encoding option. (CVS 1523)
FossilOrigin-Name: b53640ed2232aaf173a71636073477d80407d11f
2004-06-02 00:41:09 +00:00
danielk1977
193c72f84e Fix a bug with UTF-16 byte-order-marks on big-endian hosts. (CVS 1522)
FossilOrigin-Name: c17b864103fe5e6def0f650eadb7b2cc6e87144f
2004-06-02 00:29:24 +00:00
drh
cc74b1429d Fix another website typo. (CVS 1521)
FossilOrigin-Name: 24e2bbd0f233eaec1789e866e9abb88db66e2278
2004-06-02 00:08:55 +00:00
danielk1977
9a1d0abed4 Unix version of sqlite3OsLock(). (CVS 1520)
FossilOrigin-Name: 023d1760c1a720632b25c98d14bf521ab91861e2
2004-06-01 14:09:28 +00:00
drh
fedc8347c0 Fix typo on homepage (CVS 1519)
FossilOrigin-Name: a84ece250035d02e399ec208aded524c20c12737
2004-06-01 12:59:50 +00:00
drh
26dbdbf857 Fix typos in version 3 documents. (CVS 1518)
FossilOrigin-Name: 915cba57123f859c7f128bd52580573877c502ba
2004-06-01 10:01:25 +00:00
drh
014ac19de2 Makefile changes for building windows DLLs. (CVS 1517)
FossilOrigin-Name: 11c5d6ab39d04e05a3a1b68477f159b17311a6da
2004-06-01 01:45:11 +00:00
drh
93db69ee0f Add the capi3ref.html page to the website. (CVS 1516)
FossilOrigin-Name: 89f54f1ffdddc99340777cda6d9b1d7446549fa2
2004-06-01 01:22:37 +00:00
danielk1977
d1a2553ae6 Remove the sqlite3_open_varargs() API. (CVS 1515)
FossilOrigin-Name: 6902fb1b49fdf0e38265fa26198690243cdc2f58
2004-06-01 00:03:52 +00:00
danielk1977
f20b21c8fd Remove the sqlite3_error_string() API. (CVS 1514)
FossilOrigin-Name: af8e2006d808031a040f293c44f3bfbe841b866b
2004-05-31 23:56:42 +00:00
drh
218dc69436 Synchronize lemon.c to the version on the 2.8 branch. (CVS 1513)
FossilOrigin-Name: 6ab3af8847a7b0f1508824c9d8e0ec9685219371
2004-05-31 23:13:45 +00:00
drh
3f4fedb2c4 Change the name of the sqlite3_freemem API function to just sqlite3_free. (CVS 1512)
FossilOrigin-Name: f3b80bbb97ed0b0c1cf634068f28f23802ec71a8
2004-05-31 19:34:33 +00:00
drh
9c054830b4 Change all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511)
FossilOrigin-Name: adf7e29ff60dc559f64832fadb09f0b9decc0e76
2004-05-31 18:51:57 +00:00
drh
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)

FossilOrigin-Name: 4c37b6d2b78e88e2a9dfed4d764caeb0f626f92e
2004-05-31 18:23:07 +00:00
drh
75d82cc4bf Begin adding documentation for version 3.0. (CVS 1509)
FossilOrigin-Name: 2005bfdad03ac2aa70a82ba7ff9b2f469d129367
2004-05-31 18:22:25 +00:00
drh
02f9f6b38f Get the attach.test working on windows. (CVS 1508)
FossilOrigin-Name: 48226a73801bc478d6fd6de5a554aec5119d2194
2004-05-31 18:21:54 +00:00
drh
d4acf19cb0 More website updates. (CVS 1507)
FossilOrigin-Name: 460f2361141f14aa709addd41cc011127bac9b6e
2004-05-31 16:04:08 +00:00
drh
e100f835d3 Website redesign in preparation for adding version 3 documentation. (CVS 1506)
FossilOrigin-Name: 2052911b1fd119af9dbd81fdfe80244685f58212
2004-05-31 15:06:28 +00:00
danielk1977
3a81de11b6 Some test cases for read locks (CVS 1505)
FossilOrigin-Name: 0e07006704cd441f91d5fadbf3b644fd20da79bd
2004-05-31 12:34:53 +00:00
danielk1977
11146c9c2e Use read-only transactions. (CVS 1504)
FossilOrigin-Name: 6c100887eeb32631e1aa914a69db959e1f58f192
2004-05-31 11:51:44 +00:00
danielk1977
77d83ba50f Bugfix for previous checkin. (CVS 1503)
FossilOrigin-Name: 5f869fbfc029eb2601d1d967685517d007d002a4
2004-05-31 10:08:14 +00:00
danielk1977
ee5741ea78 Add read-transactions to the btree and vdbe. The compiler doesn't invoke
them yet. (CVS 1502)

FossilOrigin-Name: 6b43633a96c674a5d470578ef80ebf2227da0682
2004-05-31 10:01:34 +00:00
danielk1977
33752f8acf Remove the <ON CONFLICT> clause from BEGIN (CVS 1501)
FossilOrigin-Name: 9029274b6129140064bd7ac34df7eaba00d28efb
2004-05-31 08:55:33 +00:00
danielk1977
1d850a72c2 Replace OP_Begin, OP_Commit and OP_Rollback with OP_AutoCommit. (CVS 1500)
FossilOrigin-Name: b8ed812c92f2dbb4431d45aeb41646ceb53e0cbc
2004-05-31 08:26:49 +00:00
drh
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)

FossilOrigin-Name: e6685af815c4c0c7f09bb097a59a121862b865cf
2004-05-30 21:14:58 +00:00
drh
e51c44f481 Various speed enhancements. (CVS 1498)
FossilOrigin-Name: a0db15bba64af0c529d5be366659bca1165ff21b
2004-05-30 20:46:09 +00:00
drh
271efa5a28 Improved comments and speed tweaks to btree.c. (CVS 1497)
FossilOrigin-Name: c86b7c065a798cd108189b96e87d100115862ff2
2004-05-30 19:19:05 +00:00
drh
3a41a3fe66 Additional minor speed improvements. (CVS 1496)
FossilOrigin-Name: a90264c0a4c73097fe0ae8933dcebb15b8eaa2bb
2004-05-30 02:14:17 +00:00
drh
696b32fa4e Faster version of sqlite3VdbeSerialGet. (CVS 1495)
FossilOrigin-Name: 80985505fe8ba8e505842dae95d37bf412fc586d
2004-05-30 01:51:52 +00:00
drh
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)

FossilOrigin-Name: fcd84ebabca72023e76e6954514948aa9a3ab999
2004-05-30 01:38:43 +00:00
drh
436051582f A file format change for btree.c makes it between 10 and 20% faster. (CVS 1493)
FossilOrigin-Name: cbcaece7f45a0bc994e6c54a996afa4e6529da6a
2004-05-29 21:46:49 +00:00
danielk1977
0f69c1e3ec Transform OP_HexBlob and OP_String8 to OP_Blob and OP_String the first time they are executed. (CVS 1492)
FossilOrigin-Name: 3225de8902b0e7e60c4d9f3a5ef51bc74f57d364
2004-05-29 11:24:50 +00:00
danielk1977
bd26f925e0 Ensure vacuum handles table names with spaces in them. (CVS 1491)
FossilOrigin-Name: 0a6689be843e695902fbfef863f128915545499e
2004-05-29 10:43:06 +00:00
danielk1977
3df6b2570f Fix vacuum so that it works with blobs. (CVS 1490)
FossilOrigin-Name: 4feb4b9a71ce7a92924d2358a7ccecb4cca19223
2004-05-29 10:23:19 +00:00
danielk1977
e7d00f5825 Avoid arithmetic on void pointers. (CVS 1489)
FossilOrigin-Name: 3d68703e2e4e793012cb3c13a6744e915475e006
2004-05-29 02:44:02 +00:00
danielk1977
ef2cb63e9e Allow CREATE and DROP TRIGGER on attached databases. (CVS 1488)
FossilOrigin-Name: 4060a37d0baaa60c50f2dde4a1ab344133fcabbb
2004-05-29 02:37:19 +00:00
drh
51846b56ed Factor common code for generating index keys into a procedure. Other
speed improvements and bug fixes. (CVS 1487)

FossilOrigin-Name: 6661bb5f9c1692f94b8b7d900b6be07f027e6324
2004-05-28 16:00:21 +00:00
danielk1977
76d505baad Fix a bug in the sqlite3_column_decltype() API. (CVS 1486)
FossilOrigin-Name: c8a40218c20cf5d0abad330e8fa59ca4c36e7608
2004-05-28 13:13:02 +00:00
danielk1977
48dec7e215 Allow CREATE and DROP VIEW on attached databases. (CVS 1485)
FossilOrigin-Name: ad879a957d93c0b49c289947826b451d3ea37e5b
2004-05-28 12:33:30 +00:00
danielk1977
a8858103c9 Allow DROP TABLE and DROP INDEX on attached databases. (CVS 1484)
FossilOrigin-Name: 2fb3708e10a06660ad1974ef8e9742b706a0a9fc
2004-05-28 12:11:21 +00:00
danielk1977
cbb18d2256 Allow CREATE TABLE and CREATE INDEX on attached databases. (CVS 1483)
FossilOrigin-Name: 4984a130ccf3b8e486941a5d0d0cc70a691f0dac
2004-05-28 11:37:27 +00:00
drh
d578820154 Tables and indices use the same record format. (CVS 1482)
FossilOrigin-Name: 1b15b32bdbccae555243e67aa011139c50dc2fb3
2004-05-28 08:21:05 +00:00
drh
f3218fea00 Tables and indices use the same record format. (CVS 1481)
FossilOrigin-Name: ebd564d10b0ecd7ff15cbd6cd2b979c9f767476c
2004-05-28 08:21:02 +00:00
drh
25aa1b4580 Remove the encoding argument from sqlite3VdbeSerialGet. Use the 32-bit
version of sqlite3GetVarint for schema-level parameters. (CVS 1480)

FossilOrigin-Name: 321f8c463520e99681de878b743027c570b73e35
2004-05-28 01:39:01 +00:00
danielk1977
61de0d1b99 Add API functions sqlite3_open_varargs(), sqlite3_open16_varargs() and
sqlite3_complete16(). (CVS 1479)

FossilOrigin-Name: 203af2b2e3a25f4fe0e128e350c21834cad0bd7f
2004-05-27 23:56:16 +00:00
drh
d3194f5a4a 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
2004-05-27 19:59:32 +00:00
drh
5f3b4ab53c Remove the COPY command. (CVS 1477)
FossilOrigin-Name: 287f86731c71401dbac098e08357367b4f8e5a43
2004-05-27 17:22:54 +00:00
danielk1977
6d88bad4f9 Enhance the C function used to test sqlite3_create_function() from Tcl. (CVS 1476)
FossilOrigin-Name: c85e5f1528d098ea330ed0cf7e3c01cf9be93c10
2004-05-27 14:23:36 +00:00
danielk1977
49e4643ee8 Test sqlite3_bind_blob(). (CVS 1475)
FossilOrigin-Name: 42247b2fb0c94e75a432b3e067fff9a1be328fc8
2004-05-27 13:55:27 +00:00
danielk1977
3fd0a736bf A couple of test cases and fixes for blob literals. (CVS 1474)
FossilOrigin-Name: 6d552af67cf6fa6935373ba39de5c47ebf613eb9
2004-05-27 13:35:19 +00:00
danielk1977
30ccda1006 Alter the Tcl eval sub-command so that it supports blobs. (CVS 1473)
FossilOrigin-Name: b5d5f0ad717ef43a9714dd1cc40e20d1b94a3e58
2004-05-27 12:11:31 +00:00
danielk1977
f93bbbea47 A few more bugfixes. Test cases pass now. (CVS 1472)
FossilOrigin-Name: c9e3015faffb650d8dbf1f7f95a7057a36361bac
2004-05-27 10:30:52 +00:00
danielk1977
c572ef7fcd Various bugfixes. 68 Test cases still fail. (CVS 1471)
FossilOrigin-Name: 67a140cf78d99e38ccd94751c4f8ead1a2b96859
2004-05-27 09:28:41 +00:00
drh
f44795013f Fixes to the MEM changes. The library now links. (CVS 1470)
FossilOrigin-Name: f33d15d95f195e26e1ef396158597a2caa06f374
2004-05-27 03:12:53 +00:00
drh
eb2e176a12 More MEM changes in the vdbe.c. Still will not compile. (CVS 1469)
FossilOrigin-Name: dbdd1a7f316e576d0611748ec63c9ef00d4c10db
2004-05-27 01:53:56 +00:00
danielk1977
ea61b2c4fc More test cases for the new query API. (CVS 1468)
FossilOrigin-Name: 74097ecdb0b1e0eec143c5a3f8ca2f0d63d6f38d
2004-05-27 01:49:51 +00:00
danielk1977
04f2e68d0c Add TCL test bindings and some more test cases for the new query API. (CVS 1467)
FossilOrigin-Name: d72adf0c522b442d5e1663862bdd639c282d4495
2004-05-27 01:04:07 +00:00
drh
69174eb484 Break Mem.flags into Mem.type and Mem.enc. (CVS 1466)
FossilOrigin-Name: 68ef17028621681f5d091e77d5df84f663a15e27
2004-05-26 23:43:11 +00:00
drh
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)

FossilOrigin-Name: bba6684d502ba1ecd9614d2470ec94296e3c07c2
2004-05-26 23:25:30 +00:00
drh
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)

FossilOrigin-Name: 36e031625995b2f7baf7654d771ca8fb764a0085
2004-05-26 16:54:42 +00:00
danielk1977
b77f5dadbf Ensure the type of an sqlite3_value* is not modified by calls to
sqlite3_value_*() calls. (CVS 1463)

FossilOrigin-Name: ce8b15203413f38a8b7127eb08ae5db1c1eb164a
2004-05-26 13:27:00 +00:00
danielk1977
3cf8606395 Add some tests for the new API. Many more to come. (CVS 1462)
FossilOrigin-Name: d5659f2ee6788e0205fb5e03eeaf64e6c0aa9bed
2004-05-26 10:11:05 +00:00
danielk1977
398eae781e Remove the show_datatypes pragma. (CVS 1461)
FossilOrigin-Name: 93bb958d939302795027f738b8f663cbce3e8783
2004-05-26 06:58:43 +00:00
danielk1977
6590493d53 Use the new form of the sqlite3_create_function() API. (CVS 1460)
FossilOrigin-Name: 0317bef4b0c219ca2888c90553201e53230fb360
2004-05-26 06:18:37 +00:00
danielk1977
fc57d7bf72 Use the new API calls more consistently. (CVS 1459)
FossilOrigin-Name: 17e7db488dac6b30d174f2272edf1046c2bb9990
2004-05-26 02:04:57 +00:00
danielk1977
17240fd90f More changes to do with the new sqlite3_step() API. (CVS 1458)
FossilOrigin-Name: e83138250ce0a8caacbd1822eec2e06796d2f5f2
2004-05-26 00:07:25 +00:00
drh
8c6fa9b03b Minor code fixes in btree.c and pragma.c to help with watcom C. (CVS 1457)
FossilOrigin-Name: 143c502a59e727975f61c8d13b6c5a90dad038f3
2004-05-26 00:01:53 +00:00
danielk1977
98d30677b0 Add file legacy.c with old APIs. (CVS 1456)
FossilOrigin-Name: ae18fcb7ad91096f8029605b54d71ec225f31f32
2004-05-26 00:01:35 +00:00
danielk1977
22322fd42b Move the sqlite3_exec() function to legacy.c. (CVS 1455)
FossilOrigin-Name: 9385ad5ca82c82d9ef699102ca0b53661d02a052
2004-05-25 23:35:17 +00:00
danielk1977
0ae8b83155 Change a couple of symbol names for the new user function API. (CVS 1454)
FossilOrigin-Name: 8f6b20c2938ded7ab9e400494c02370ecf7e9311
2004-05-25 12:05:56 +00:00
danielk1977
7e18c259fe Use the new API for returning values and errors from user functions. (CVS 1453)
FossilOrigin-Name: 4eccae03b4a7f37804fea30416579787c3584bb2
2004-05-25 11:47:24 +00:00
danielk1977
88208050b6 Add manifest type aware versions of the min() and max() aggregates. (CVS 1452)
FossilOrigin-Name: b77c268ebebd5401c3f519a72cfb81438207368c
2004-05-25 01:13:20 +00:00
danielk1977
6ddcca553d Aggregate functions also use sqlite_value* instead of const char * for
arguments. (CVS 1451)

FossilOrigin-Name: 5c28ed5e9b5a3ecb3081ce0c5c9450d6ae8dc77d
2004-05-24 23:48:25 +00:00
danielk1977
35bb9d026e Update the typeof() operator to respect manifest types. (CVS 1450)
FossilOrigin-Name: 162cf42e33691f4c9ec3a25abcaa2bdcdca2b5e0
2004-05-24 12:55:54 +00:00
danielk1977
51ad0ecd28 Non-aggregate SQL functions use sqlite_value* instead of const char * for
argument values. (CVS 1449)

FossilOrigin-Name: 1e47d7384d5fdfceb6ec737c656f70be59ba5b01
2004-05-24 12:39:02 +00:00
danielk1977
7e435458a0 Fix typo in vdbe.c from previous commit. (CVS 1448)
FossilOrigin-Name: a554bf6c7075839f760a2ff944ac61b32cab0821
2004-05-24 09:15:39 +00:00
danielk1977
0ffba6b269 Add the sqlite3_value_*() access functions. (CVS 1447)
FossilOrigin-Name: 4bf925fcfccb18e66be031f8a234f370d581e9ea
2004-05-24 09:10:10 +00:00
danielk1977
bd7e46086e Fix for retrieving UTF-16 little-endian text from a big-endian database. (CVS 1446)
FossilOrigin-Name: 8104baf23dd28fc982cf260e3e8c90f0c582f602
2004-05-24 07:34:48 +00:00
danielk1977
8a6b5411b3 Have the vdbe handle strings in the same encoding as the database. (CVS 1445)
FossilOrigin-Name: b7155db2b13aa3ca5f6c68e948d9e8740ebcac47
2004-05-24 07:04:25 +00:00
danielk1977
93d4675d67 Begin changing the vdbe so all stack values use the database encoding. (CVS 1444)
FossilOrigin-Name: f47de3a933b51b37629a0ca2e492a534a12e7339
2004-05-23 13:30:58 +00:00
drh
7906975a0f Remove the OP_SetInsert opcode. (CVS 1443)
FossilOrigin-Name: 18e690e405710c9a8010340c01754bbfa3231fe9
2004-05-22 21:30:40 +00:00
drh
be94025f3b Move btree_rb.c into the attic. (CVS 1442)
FossilOrigin-Name: 4159ef235d780ec941677439e77c6fa96e24997c
2004-05-22 17:46:37 +00:00
drh
bbd42a6dda Split up os.c into separate files, one for each platform. (CVS 1441)
FossilOrigin-Name: 5c61be1c47ac960fba2a642e69a98436ce1cd725
2004-05-22 17:41:58 +00:00
drh
60ca804396 Bug fix in vdbe.c - variable declarations must come before code in ANSI C. (CVS 1440)
FossilOrigin-Name: c36203de22f673691783529e06ce5a58bcebeedc
2004-05-22 11:09:30 +00:00
danielk1977
fe7fdb7344 Add a couple of tests for UTF-16 databases. (CVS 1439)
FossilOrigin-Name: 891be63a92097384e1b00993d35f002048c4b42e
2004-05-22 10:33:04 +00:00
danielk1977
e1cd98740f Add a couple of tests for UTF-16 databases. (CVS 1438)
FossilOrigin-Name: d7551df8c32c4981d94eb57cd2a999592e91f50f
2004-05-22 10:33:04 +00:00
danielk1977
802908635d Use the new form of the sqlite3_open() API everywhere. (CVS 1437)
FossilOrigin-Name: b449217318ade3196757bef8aaf7302634f0f9b6
2004-05-22 09:21:21 +00:00
danielk1977
28d47b57ec Tests for the functions in utf.c. (CVS 1436)
FossilOrigin-Name: 802d65affcafffda33e2ff1cbd4e4869dc3814df
2004-05-22 08:16:11 +00:00
danielk1977
172bc3938a Store the text encoding in the database (as meta value 4). (CVS 1435)
FossilOrigin-Name: 7f00ca5801889724c0e768961aa15f5ce0b8e7b5
2004-05-22 08:09:11 +00:00
danielk1977
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)

FossilOrigin-Name: b3581d2796c8cb6581b7156774698a05fc8f800e
2004-05-22 07:27:46 +00:00
danielk1977
b1bc95315b Steps towards UTF-16 databases. Some tests are failing because of this
commit. (CVS 1433)

FossilOrigin-Name: c4a8246864eee7cb993ab7b703324d92c284d72a
2004-05-22 03:05:33 +00:00
drh
ab01f61ab8 Update comments and remove dead code from btree.c (CVS 1432)
FossilOrigin-Name: 8069caca82bc4d40d8ac95bafdd91a18a70ab1e0
2004-05-22 02:55:23 +00:00
drh
1483e14cf7 Floating point values are serialized in big-endian byte order. (CVS 1431)
FossilOrigin-Name: acb65297b69c531813287166175fa7864c900fe6
2004-05-21 21:12:42 +00:00
drh
7f0f12e3ab Remove the OP_SetFound opcode and its cousins. (CVS 1430)
FossilOrigin-Name: 5524075ec02102446f8d153e068546f763d4bf7a
2004-05-21 13:39:50 +00:00
danielk1977
83ab5a8f62 Eliminate some unused code (CVS 1429)
FossilOrigin-Name: 550a53b3f28ddb288bcb6c21849ca83b0a20bde4
2004-05-21 11:39:05 +00:00
danielk1977
ca6b291fcf Pretty-print blobs in vdbe-traces. (CVS 1428)
FossilOrigin-Name: 5eb94c97657b34ed2df6455e23875e2840743bda
2004-05-21 10:49:47 +00:00
danielk1977
106bb236a8 Further work on the new API. All the functions to execute queries are there
now. (CVS 1427)

FossilOrigin-Name: fc94575d77f9865e1553bb70c2e3eda2a0b8669e
2004-05-21 10:08:53 +00:00
drh
ce665cf60e Eliminate the OP_SortMakeRec and OP_SortCallback opcodes. Sort using the
standard record format. (CVS 1426)

FossilOrigin-Name: 25643a0137d395572f16cfec3ab3327d913138ba
2004-05-21 03:01:58 +00:00
drh
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)

FossilOrigin-Name: 3b55095e036d68886d007239333bbf90acd15692
2004-05-21 02:14:24 +00:00
danielk1977
2f2322fa9c Fix typo in bind.test that was causing a seg-fault. (CVS 1424)
FossilOrigin-Name: d1af1a4acce77b87367049da93b13746b743e831
2004-05-21 02:11:40 +00:00
danielk1977
4ad1713c5e Add new sqlite3_open() and sqlite3_open16() APIs. (CVS 1423)
FossilOrigin-Name: 307b55006c401f10ec5fa5b12cc7d5ba860f9a46
2004-05-21 01:47:26 +00:00
drh
ffbc30884c Sorting bug fixes. Now only 17 tests fail. (CVS 1422)
FossilOrigin-Name: 0736b7e8401f587f8b412602d029ef9bd69425f6
2004-05-21 01:29:06 +00:00
drh
1186b0a08b Fix a bug that prevented sorting by index. Down to 162 failed tests. (CVS 1421)
FossilOrigin-Name: b032b646b72a03e828d732ac22192f992904d79f
2004-05-20 23:37:54 +00:00
drh
d3d39e939d Add internal support for collating sequences. This breaks 244 tests. (CVS 1420)
FossilOrigin-Name: a6cb09d7af537726acc87b9133f68c81e839e047
2004-05-20 22:16:29 +00:00
drh
53db145800 sqlite3MemCompare now takes a CollSeq* argument. (CVS 1419)
FossilOrigin-Name: 5c1e47a25244eacc69b688f5f4e62cec9f09665a
2004-05-20 13:54:53 +00:00
drh
e2ea40d36d Fix problems with types and the recognition of BLOB as having no affinity. (CVS 1418)
FossilOrigin-Name: 8411718f0ac17e9c2376fdf8b5fa0cc5fc88be9b
2004-05-20 12:41:19 +00:00
drh
1ad3b9e61a Default type affinity is now NUMERIC. The affinity.html file checked into
the doc directory. (CVS 1417)

FossilOrigin-Name: 948307f07d6f8cc1cc186167ff7aaa5dfd5d8a2e
2004-05-20 12:10:20 +00:00
danielk1977
6622cce372 Add some more elements of the new API. (CVS 1416)
FossilOrigin-Name: 2821767b947ae1a70e98dd7f47d69e424c37947f
2004-05-20 11:00:52 +00:00
drh
137b35e480 Fix the misc3.test test file. (CVS 1415)
FossilOrigin-Name: 478836f44825d8154c0106e46e9a2b2daaa4cf33
2004-05-20 03:30:10 +00:00
drh
d686179207 Bug fix associated with misc3.test. (CVS 1414)
FossilOrigin-Name: a7f02db73881eb2d899daa93646962960dac5375
2004-05-20 03:02:47 +00:00
drh
b6f5452fb2 Bug fix associated with OP_SetNumColumns in insert.c. Also changed a
variable name in OP_Column. (CVS 1413)

FossilOrigin-Name: bf2181f13fdad72d8c90eccc2d29034178181731
2004-05-20 02:42:16 +00:00
drh
465407d9b6 VACUUM works again. (CVS 1412)
FossilOrigin-Name: c4e1d02ffded1421c09b0c8e45954e69f3583297
2004-05-20 02:01:26 +00:00
danielk1977
e3209e4eb6 Add some comments for sqlite3_bind_*() APIs. (CVS 1411)
FossilOrigin-Name: 46b0942239dde9982abaaa7f77d5cf8375eb4209
2004-05-20 01:40:18 +00:00