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
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
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
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
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
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
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
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
danielk1977
4ad1713c5e
Add new sqlite3_open() and sqlite3_open16() APIs. (CVS 1423)
...
FossilOrigin-Name: 307b55006c401f10ec5fa5b12cc7d5ba860f9a46
2004-05-21 01:47:26 +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
danielk1977
6622cce372
Add some more elements of the new API. (CVS 1416)
...
FossilOrigin-Name: 2821767b947ae1a70e98dd7f47d69e424c37947f
2004-05-20 11:00:52 +00:00
danielk1977
51e3d8e204
Add support for the new sqlite3_bind_*() APIs. (CVS 1410)
...
FossilOrigin-Name: e8f980d842fcd793552acd32708db55c8f014634
2004-05-20 01:12:34 +00:00
danielk1977
96fc5fe6a5
Various minor fixes and updates to make more test cases pass. (CVS 1370)
...
FossilOrigin-Name: dbe8385ecf1df8bf0b1baf5e811ec5a1de5c4c42
2004-05-13 11:34:16 +00:00
danielk1977
6490bebd62
Minor changes to the vdbe so that more tests pass. (CVS 1352)
...
FossilOrigin-Name: 16078fe0ea146537f75b869e6b0cce202af6781b
2004-05-11 06:17:21 +00:00
danielk1977
6f8a503d71
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338)
...
FossilOrigin-Name: 2242423e31a5e81e89ffcc99e62307c5cc0120d5
2004-05-10 10:34:51 +00:00
danielk1977
4adee20fcb
Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the
...
library links again. It doesn't work yet, due to changes in the btree layer
calling convention. (CVS 1324)
FossilOrigin-Name: 8af6474c49263ae26216dff9465b33f76b500cf4
2004-05-08 08:23:19 +00:00
drh
eb9a9e8888
Code cleanup in the date and time functions. (CVS 1263)
...
FossilOrigin-Name: 9b3bcde1530091602e551435ffd7820eb79727d5
2004-02-22 17:49:32 +00:00
drh
b621c23775
Test cases for printf of double overflows. (CVS 1260)
...
FossilOrigin-Name: 96a6d2d3ff5bd0aaff188ee1c5e2f02cbea435b2
2004-02-21 19:41:04 +00:00
drh
5f968436e6
Cleanup the printf code to make it smaller and more modular.
...
Fix a memory leak in the new OP_ContextPush opcode. (CVS 1258)
FossilOrigin-Name: 2756f7af3382fa9d186ab99cf76f469fb891a3c3
2004-02-21 19:02:30 +00:00
drh
f603871326
Perpare for the 2.8.12 release. (CVS 1212)
...
FossilOrigin-Name: 93ccd1b1d63b5b914b84b0463f2267bcfaadafa3
2004-02-08 18:07:34 +00:00
drh
d1d9fc3397
Permit sqlite_exec() to be called from within user-defined functions. (CVS 1166)
...
FossilOrigin-Name: 03636c94a542b1f90a3acfbe65a9c2976872073f
2004-01-07 19:24:48 +00:00
drh
e807febbc2
Add the sqlite_current_time variable for testing purposes. (CVS 1156)
...
FossilOrigin-Name: 23fa407d50741bc0719259792398f28c1d0f12c2
2004-01-06 00:44:24 +00:00
drh
90f405e3ba
Test functions tolerate an "0x" before a pointer value. Ticket #452 . (CVS 1145)
...
FossilOrigin-Name: c6c5e07b65ae1c30117f0276a1002d5036697cf1
2003-12-23 03:06:23 +00:00
drh
93a5c6bdf4
Use a built-in atof() function instead of the one from the library to
...
avoid problems with locale. Ticket #305 . (CVS 1144)
FossilOrigin-Name: 4d9edbc50f7dee64edbadad2e2dc4f93d8248b3b
2003-12-23 02:17:35 +00:00
drh
7c972dec5c
Update Makefile.in for the new vdbeaux.c file. Remove the experimental
...
"sqlite_instantiate()" routine and replace it with "sqlite_bind()" which
is more like ODBC and JDBC. (CVS 1095)
FossilOrigin-Name: 990bb11898a539bb0795a4a216fcd989943a0fb2
2003-09-06 22:18:07 +00:00
drh
5045789694
The beginnings of changes to support pre-compiled SQL. Mostly untested,
...
though all regression tests to pass. (CVS 1093)
FossilOrigin-Name: 912f47c72d3597c6d5acff765d94922bd660339a
2003-09-06 01:10:47 +00:00
drh
073e5a7751
Allow the output arguments in sqlite_compile and sqlite_step to be NULL
...
pointers. Tickets #384 and #385 . (CVS 1049)
FossilOrigin-Name: dd84f88f6c4012e4a093a4881f6fe50527bb2006
2003-07-09 00:28:13 +00:00
drh
d93d8a812e
Add the %z format to the sqlite_mprintf() and related functions. (CVS 1028)
...
FossilOrigin-Name: eca1398eaac67d772aff2676a470d9a6d96a93ca
2003-06-16 03:08:18 +00:00
drh
7d8085a8e4
In the test code, make several attempts to convert a pointer to a string
...
and test each attempt to make sure it works before returnning, in order to
work around incompatibilities between various systems. Ticket #284 . (CVS 941)
FossilOrigin-Name: 333011ffddc0be91f76811458f03ad1ec0331b51
2003-04-26 13:19:38 +00:00
drh
e22a334b78
Update the authorizer API so that it reports the database that table and
...
indices belong to and so that it reports when actions are taken in response
to a trigger. (CVS 928)
FossilOrigin-Name: c675a5504138f34cae6def782b5d3add2c67d2bc
2003-04-22 20:30:37 +00:00
drh
94e9203247
Added test code to check for file descriptor leaks. All regression tests pass
...
now on both win2k and linux. (CVS 868)
FossilOrigin-Name: 75ba78280f7ab6b6acce5878859312f3223ee898
2003-02-16 22:21:32 +00:00
drh
99ee360003
Fix more bugs. The new rollback journal implementation now passes all
...
regression tests under Linux. (CVS 867)
FossilOrigin-Name: d10adc1c5727d76320d5919be55e86d030e9c8bc
2003-02-16 19:13:36 +00:00
drh
3a84069da3
Additional testing and bug fixing with the non-callback API. Updated the
...
C/C++ interface document to describe the non-callback API. (CVS 855)
FossilOrigin-Name: af1e9299468aa70d7d91e7a5445ba391ccc8ff8b
2003-01-29 22:58:26 +00:00
drh
483750ba8a
Better error messages on constraint violations. Additional tests and bug fixes
...
for the callback-free API. (CVS 854)
FossilOrigin-Name: ccc82f1ab4539a60ee5cc2625743c5389f9ccd8e
2003-01-29 18:46:51 +00:00
drh
326dce7451
The callback-free API is now working, though much more testing is need. (CVS 853)
...
FossilOrigin-Name: 162b259188e6967fe9c3722da26b81aab5655d83
2003-01-29 14:06:07 +00:00
drh
b86ccfb26e
First code for the new callback-free API. All regression tests pass but the
...
new API is mostly untested and is unlikely to work. (CVS 852)
FossilOrigin-Name: 065fa818ffc8d7562889172acea16e4e44e773ef
2003-01-28 23:13:10 +00:00
drh
e5f9c6442f
Revise the sqlite_set_authorizer API to provide more detailed information
...
about the SQL statement being authorized. Only partially tested so far. (CVS 830)
FossilOrigin-Name: 45de93f913a18026a45de6254963dbcd1b0f1a19
2003-01-13 23:27:31 +00:00
drh
ed6c8671b3
Initial check-in of the code for the new sqlite_set_authorizer() API function.
...
The code is mostly untested at this point. (CVS 827)
FossilOrigin-Name: 52d5007f64d0af5286b2a0e1f0b9e53c86bece3f
2003-01-12 18:02:16 +00:00
drh
5a38705ecb
Document the SHOW_DATATYPES pragma and add tests for it to the test suite.
...
Make sure datatypes are show even for aliased columns.
Tickets #220 and #221 . (CVS 822)
FossilOrigin-Name: e84d3afe7b9153d003fdcca98221f446c004ffa2
2003-01-11 14:19:51 +00:00
drh
c2eef3b32b
Parse foreign key constraints and populate internal data structures
...
appropriately. Constraints are still not enforced. (CVS 738)
FossilOrigin-Name: 170711ca65dc894d0486b9d575edb8f1708250fb
2002-08-31 18:53:06 +00:00
drh
fa173a764a
When reporting back the datatype of columns, use the text of the datatype
...
as it appears in the CREATE TABLE statement, if available. Also: removed
the ".reindex" command from the shell. (CVS 669)
FossilOrigin-Name: ff8b6f4ee8099a7170cb786b8ead9a3e42ab5869
2002-07-10 21:26:00 +00:00
drh
6cbe1f1bc4
Added additional tests. No new errors found. (CVS 653)
...
FossilOrigin-Name: 8924a7f5bab790ab552332d6359028d0d1825e4a
2002-07-01 00:31:36 +00:00
drh
06b2718a5f
In the TCL interface, the "sqlite" command now always returns the address
...
of the "sqlite*" pointer that sqlite_open() returns. It used to do this
only when compiled with the SQLITE_TEST macro defined. (CVS 648)
FossilOrigin-Name: 9ca6368525fe81fe9c78c6911f4d23009ce858d5
2002-06-26 20:06:05 +00:00
chw
f220b24fc6
Changed sqlite_mprintf_str to allow a NULL string parameter.
...
Command template now is cmd FORMAT INT INT ?STRING?. When
STRING omitted a NULL is passed to sqlite_mprintf. (CVS 620)
FossilOrigin-Name: 8bc711571d752a81957007be22ed8a3c6877f676
2002-06-16 04:54:28 +00:00
drh
c22bd47d55
Improvements to the SQLITE_MISUSE detection logic. Also added test cases
...
for this logic, including the new test file "misuse.test". (CVS 559)
FossilOrigin-Name: f42907ce457e012592f8c043dc6c915e87258b35
2002-05-10 13:14:07 +00:00
drh
28b4e4890b
Preparing for the 2.4.0 release. (CVS 426)
...
FossilOrigin-Name: 9f5b241cb2fc89f66d3762b4b4978b8e114caf53
2002-03-11 02:06:13 +00:00
drh
af9ff33ac1
Added the last_insert_rowid API function. Improved documentation of
...
the random ROWID algorithm. (CVS 349)
FossilOrigin-Name: f74d61aaf3fec06cde2c4a6f1465f86ac9058ad2
2002-01-16 21:00:27 +00:00
drh
487ab3ca18
The new code for taking advantage of inequalities in WHERE clauses
...
is in place. It appears to work. (CVS 305)
FossilOrigin-Name: 262bcd17df19f45def6144b5a7e0602ca5b03deb
2001-11-08 00:45:21 +00:00
drh
afa4a020f2
Tests for inserting lots of data (~64K) into a single row of a table. (CVS 264)
...
FossilOrigin-Name: a462c85083d23aa34bd3d0c61d01062fc5ae8230
2001-09-24 03:12:39 +00:00
drh
b19a2bc603
Disclaimed copyright. Preparing for release 2.0. (CVS 250)
...
FossilOrigin-Name: 4e926efe2b59adfec4086eb1d2ba830238facb4c
2001-09-16 00:13:26 +00:00
drh
daffd0e597
better handling of out-of-memory errors (CVS 207)
...
FossilOrigin-Name: 86b30cd0975dfea9424b9f9f0d4194aa71ce508b
2001-04-11 14:28:42 +00:00
drh
d1bf3512fa
Added new tests (CVS 206)
...
FossilOrigin-Name: 2507ec40610d8034ccf9dcb58a16934065e6f120
2001-04-07 15:24:33 +00:00