Commit Graph

44 Commits

Author SHA1 Message Date
drh
e49b146f30 Additional test coverage in select.c and expr.c. (CVS 5381)
FossilOrigin-Name: c6cf08477cc4d622a05ad6706cb9418cf7eea432
2008-07-09 01:39:44 +00:00
drh
fb45d8c563 Testing coverage enhancements. (CVS 5358)
FossilOrigin-Name: fe80aa58a4ac12db5a92d25d28165f5159f04533
2008-07-08 00:06:49 +00:00
drh
78ddb7ceed Fix the bind.test test script so that the tests for zeros embedded in
strings work correctly for UTF-16 encoded databases. (CVS 5020)

FossilOrigin-Name: 7c094c80b2439480ffc680b2d63031d1033b266a
2008-04-16 16:11:49 +00:00
drh
10dfbbb580 Add tests to verify that strings may use embedded zero characters.
Ticket #3056. (CVS 5018)

FossilOrigin-Name: bb0f9e92e427d4ae8ea143d3d3773c9552e63565
2008-04-16 12:58:53 +00:00
drh
53c1402157 Add some UTF-8 test infrastructure. Treat NaN as NULL. The printf routines
print infinity as "Inf" not as "NaN".  Ticket #2345. (CVS 3972)

FossilOrigin-Name: ffe615a71107a38b6f60c7baf4284a5b0aecdc22
2007-05-10 17:23:11 +00:00
danielk1977
832b2664e6 Add further test cases for compile time limits. (CVS 3963)
FossilOrigin-Name: 9bf2c594a48a4661700f0833562ee2b3ff7b761c
2007-05-09 11:37:22 +00:00
drh
f9cb7f58a7 Move the sqlite3_sleep() and sqlite3_clear_bindings() interfaces into the
main library and make this official. (CVS 3316)

FossilOrigin-Name: eb3442c44ef1dbf8895195bb08fbeeea315b44c1
2006-06-27 20:06:44 +00:00
drh
a86a5b6c7e Bug fix in cases where a compound select has an ORDER BY clause with
multiple terms. (CVS 3011)

FossilOrigin-Name: 4f56949bd69fed6167fa2ae115d0251e8369d796
2006-01-23 18:42:21 +00:00
drh
dddca28608 The sqlite TCL command no longer returns the hex address of the sqlite3*
structure.  Instead there is a new command in testfixture to find that
information. (CVS 2852)

FossilOrigin-Name: 70b228575e045bc56013aab945334203ceb31d8b
2006-01-03 00:33:50 +00:00
drh
e57c06fdf0 New bind tests (check-ins (2797) and (2798)) only work right on a UTF8
database.  So make sure they are only run when the database is UTF8. (CVS 2812)

FossilOrigin-Name: 398037906956f0274ca35cbff6961f6df5149295
2005-12-09 20:54:34 +00:00
drh
5c434b7265 Make sure sqlite3_result_text can handle text strings with embedded '\000'
characters. (CVS 2798)

FossilOrigin-Name: 9d6057cd141e7cdaf32ce68dea39e67c2c67a08d
2005-12-05 13:20:01 +00:00
drh
bf8aa2a6c5 Add a test to verify that binding text with embedded '\000' works. Also
comment changes in os.h. (CVS 2797)

FossilOrigin-Name: 31251a9098662ccf08af5bd5bc3afb282a149701
2005-12-02 02:44:05 +00:00
drh
288d37f1b4 Allow parameters to be introduced by characters ':', '$' and '#'. This
is an experimental change. (CVS 2523)

FossilOrigin-Name: f3427a139c3bd4faf9134ec6290b3eb829c0a19f
2005-06-22 08:48:06 +00:00
drh
ab34b8f65a Fix for ticket #1167 (CVS 2405)
FossilOrigin-Name: d9aa0aa9ae2ca0dec976ba2ae4cd7047132be45b
2005-03-20 23:18:57 +00:00
danielk1977
a1cb183d04 Fix a problem with sub-queries and the flattening optimization. Also handle an extra case of database corruption. (CVS 2324)
FossilOrigin-Name: f7858d8830cdd0f57b8f9bc73068d29a7062b8ac
2005-02-12 08:59:55 +00:00
danielk1977
494fa66d19 Fix a test bug causing a segfault in bind.test. (CVS 2288)
FossilOrigin-Name: a8b921d45ec9ef4d16ef7b5bf09aabaf02ebc70b
2005-01-29 09:00:49 +00:00
danielk1977
b3bce66232 Modify sub-query handling. Tickets #1083 and #1084. (CVS 2286)
FossilOrigin-Name: b1b50f315873a8614920d1e3af4a07fb29a7ff6a
2005-01-29 08:32:43 +00:00
danielk1977
4489f9bdec Fix some test scripts so that they work with a minimal build configuration. (CVS 2241)
FossilOrigin-Name: d267fb3ca3f31ee138c9613cb84e873ede7f141a
2005-01-20 02:17:01 +00:00
drh
c8f9079c61 Fix a bug in tclsqlite.c. (CVS 2199)
FossilOrigin-Name: 50f1e229652610b386745bb39fed45549cc74aa7
2005-01-12 00:08:24 +00:00
drh
48e5aa2769 Test coverage improvements on tokenize.c. (CVS 2196)
FossilOrigin-Name: 5767850ccadb3b53d14bca547e50f65de1d3092e
2005-01-11 17:46:41 +00:00
drh
c5cdca613a Improved test coverage for vdbeaux.c. (CVS 2195)
FossilOrigin-Name: 3f46cd7767cf7c48dd1de7ae1c4104d6d1a609be
2005-01-11 16:54:14 +00:00
drh
b08153d0fb Better error message on an SQLITE_RANGE error. Ticket #991. (CVS 2124)
FossilOrigin-Name: accd432e4d9626353e555e63298fb7a56a41e53d
2004-11-20 20:18:55 +00:00
drh
6c62608fc6 The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100)
FossilOrigin-Name: 98c7a55478f7c465b219edc1a33eee222586fd65
2004-11-14 21:56:29 +00:00
drh
6bf895708c Update tests to work even if some features of the library are disabled. (CVS 2050)
FossilOrigin-Name: b11fc9b3f3a2711f98e7e45724aa1d30081197f3
2004-11-03 16:27:01 +00:00
drh
971a7c87bc Avoid a segfault in sqlite3_bind_parameter_index when there are
unnamed parameters.  Ticket #918. (CVS 1977)

FossilOrigin-Name: 49f25ddf8382d588e00bf927e2acae93e332e4d4
2004-09-24 12:48:12 +00:00
drh
fa6bc0000f Wildcards with the same name map into the same variable number. New
api sqlite3_bind_parameter_index() added to map wildcard names into
wildcard index numbers.  Support for "?nnn" wildcards. (CVS 1945)

FossilOrigin-Name: 435b3f301fbb6953adc974c7f03589b06e9114c3
2004-09-07 16:19:52 +00:00
drh
2c6674cf7e Host parameter names conform to SQL-2003. (CVS 1902)
FossilOrigin-Name: fd584d1ccf6643b723c2ff0a7a16c2aea3f1142c
2004-08-25 04:07:01 +00:00
drh
92febd92ad Tcl interface transfers values directly between SQLite and Tcl_Objs, without
at translation to strings. (CVS 1898)

FossilOrigin-Name: e97c331362545ce21117776c7b61d3488668f2bf
2004-08-20 18:34:20 +00:00
drh
895d747226 Add support for named wildcards in SQL statements. (CVS 1897)
FossilOrigin-Name: d3be0b7c5a39c02b9b2d6d85f1595d591984a569
2004-08-20 16:02:39 +00:00
drh
75f6a032c4 Implement the experimental sqlite3_bind_parameter_count() API in support
of DBD::SQLite.  Also fix the sqlite3.def export list. (CVS 1797)

FossilOrigin-Name: c44943e6fe0c88830102253591a501dc7d724d2f
2004-07-15 14:15:00 +00:00
danielk1977
f46188911d More coverage testing. (CVS 1754)
FossilOrigin-Name: 332921041040b343b6b568685ff55d21a624f502
2004-06-28 13:09:11 +00:00
drh
241db313b4 Add comments to test1.c. (CVS 1659)
FossilOrigin-Name: be6bd6c99dde902aafd02d8a72f3d42826caabe8
2004-06-22 12:46:53 +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
danielk1977
c572ef7fcd Various bugfixes. 68 Test cases still fail. (CVS 1471)
FossilOrigin-Name: 67a140cf78d99e38ccd94751c4f8ead1a2b96859
2004-05-27 09:28:41 +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
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
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
35bb9d026e Update the typeof() operator to respect manifest types. (CVS 1450)
FossilOrigin-Name: 162cf42e33691f4c9ec3a25abcaa2bdcdca2b5e0
2004-05-24 12:55:54 +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
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
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
drh
82a4851a4b Add initial test cases for the new sqlite_bind() API. Fix bugs that the new
test cases found. (CVS 1096)

FossilOrigin-Name: f6c4908e9b5b6ac9adc4af50dc5110dbb655dae3
2003-09-06 22:45:20 +00:00