drh
c1bd1b33a5
Get trace with parameter insertion working for UTF16 databases.
...
FossilOrigin-Name: 01d5451af0bd2743eb74b98f2e77dd2c75f403b6
2009-11-25 19:35:23 +00:00
drh
c7bc4fde3c
Initial check-in of code that inserts tokenizations of the values
...
for bound parameters into the output of sqlite3_trace().
FossilOrigin-Name: 545cfb3b63f482036ae152e6ebcce86d373585a8
2009-11-25 18:03:42 +00:00
drh
8965b50edf
Enhance the %q, %Q, and %w printf conversions so that the precisions
...
specifies the length of the input.
FossilOrigin-Name: 3ba773132d3baeb87acaee538b8fb0b0f4293673
2009-11-25 16:53:37 +00:00
drh
a62bb8d4d7
Make sure registers computed for the VFilter opcode are marked invalid
...
after the VFilter opcode finishes. Ticket [16fbf14cb2].
FossilOrigin-Name: 83dc7d38c2695d1b2a7d4866a4df9be9e41d1abe
2009-11-23 21:23:45 +00:00
dan
ac88760aac
Add a test to make sure a database can be attached to a single handle twice if not in shared-cache mode.
...
FossilOrigin-Name: 1c4984c62f393f41f9182ea82546c16d02efa46f
2009-11-20 10:18:06 +00:00
dan
16708c4a0d
Fix some fts3 related issues with the autoconf and amalgamation build systems.
...
FossilOrigin-Name: 3b17924754343c0163464dabf01a9c46ffccef28
2009-11-19 15:25:25 +00:00
dan
f13b704ee6
Improvements to the way fts3 reads the full-text index.
...
FossilOrigin-Name: 45c051e78651d8204c17cecdda2bde705698881f
2009-11-17 12:52:10 +00:00
dan
948a5f88ea
Add a few extra coverage test cases for fts3.
...
FossilOrigin-Name: f29c8fcade4aadeae3824975cf59f306c11c906b
2009-11-16 16:36:23 +00:00
dan
4b4d4469f5
Fixes to fts3 integrity check code.
...
FossilOrigin-Name: d3cae986ee1a176b1b015c3cebcd58ff0c3bdf92
2009-11-14 23:50:11 +00:00
dan
91f0ce39e4
Further OOM testing for fts3 code. Add Tcl code implementing an integrity-check for fts3.
...
FossilOrigin-Name: c27d46b33e8596b45c562c2742b05030e8899092
2009-11-14 11:41:00 +00:00
dan
09977bb9f0
Start reworking fts3 code to match the rest of SQLite (code conventions, malloc-failure handling etc.).
...
FossilOrigin-Name: 30a92f1132801c7582007ee625c577ea2ac31cdf
2009-11-13 10:36:20 +00:00
drh
8cff69df11
Enhance the OP_Found and OP_NotFound opcodes so that they can accept an
...
array of registers as an unpacked record in addition to a record built
using OP_MakeRecord. Use this to avoid OP_MakeRecord calls during IN
expression processing.
FossilOrigin-Name: b9eab885cd2ca1a1633329e7036c125e8dba62c5
2009-11-12 19:59:44 +00:00
shaneh
779b8f126e
Update comment for substrFunc(). Added additional SUBSTR() test cases.
...
FossilOrigin-Name: d7b3801dc7fad1b002f892fb5d82047ebff98369
2009-11-12 05:04:50 +00:00
drh
e76173b7c0
Additional test cases for the coalesce() and ifnull() functions.
...
FossilOrigin-Name: d0591258b62df4fa610b7ac2a2af0344cf82f231
2009-11-11 01:14:17 +00:00
drh
63b3878921
Additional intarray test cases and tweaks to comments.
...
FossilOrigin-Name: 0c8db5d88ee41dab58d6464283b51f82f7457838
2009-11-10 17:55:47 +00:00
drh
522efc62b0
Initial implementation and test cases for the "intarray" virtual table.
...
FossilOrigin-Name: 0e7d29253f093d4125ede3cfc478e4bf09aef987
2009-11-10 17:24:37 +00:00
drh
7c95b0f3da
Make sure that UTF16 to UTF8 conversions to not read past the end of the
...
UTF16 input buffer if the last two bytes of the UTF16 happen to be the
first half of a surrogate pair. Ticket [3fe897352e]
FossilOrigin-Name: 19064d7cea838e1a93fe63743ed247f440679e97
2009-10-23 18:15:46 +00:00
drh
e6ab069274
Add markings on test evidence for R-30323-21917.
...
FossilOrigin-Name: e51af74c3aeb82604841cc83a490351d1422e838
2009-10-22 00:20:17 +00:00
drh
fcf486c3b4
Add evidence marks to parse.y. Fix a broken evidence link in e_fkey.tcl.
...
FossilOrigin-Name: 0441d28e84af20e3a98a07a43471784ac09c78db
2009-10-21 13:48:24 +00:00
drh
397308df6f
Fix the VACUUM command so that when the MAIN and TEMP databases have
...
identically named tables, content from the TEMP database does not
accidently overwrite MAIN database content.
Ticket [d82e3f3721296e905d7e8c9dee718f71a826b0eb].
Note that this bug could potentially lead to database corruption.
FossilOrigin-Name: 0bbd8d72ec66cbe11c2548a04ad478202b2b69b6
2009-10-20 15:01:58 +00:00
dan
c94b859560
Fix cases where modifying bound variables using the clear_bindings() or transfer_bindings() APIs can invalidate a query plan.
...
FossilOrigin-Name: e6808c988c9cd7b2db23f18b5fe2177151b6f586
2009-10-20 07:01:24 +00:00
dan
ef516228db
Fix an assert() that may fail if sqlite3_step() is called on a statement after a previous call has already returned SQLITE_SCHEMA.
...
FossilOrigin-Name: 63bf73452de5a9d03e625e1888444a5355063b74
2009-10-19 18:30:34 +00:00
dan
1d2ce4f804
Remove the sqlite3_reoptimize() API. The same functionality is now provided automatically to queries prepared using prepare_v2().
...
FossilOrigin-Name: 2c50b3d5aab7cd8cc841d61f8c3b2b34d2f0b54b
2009-10-19 18:11:09 +00:00
dan
f7b0b0ad5f
When generating WHERE clause terms internally for NATURAL and USING joins, identify the table by its position in the FROM list, not by its name or alias. Fix for [b73fb0bd64].
...
FossilOrigin-Name: 6fe6371175482d38ac4aeea994c7b20c18b7de01
2009-10-19 15:52:32 +00:00
dan
fd3b22265e
Use 64-bit arithmetic in the xRead() method of asyncRead. Fix for [94c04eaadb].
...
FossilOrigin-Name: ca3e41b0574cfd8d971c2be2114e58273a531970
2009-10-19 07:50:25 +00:00
dan
1476a28470
Fix a problem in the icu.test script.
...
FossilOrigin-Name: 8a21fdaf6a89f74b040ea0c6bb996ac1c6fcd369
2009-10-17 14:19:29 +00:00
drh
ebecd2c970
Merge the sqlite3_reoptimize() changes into the trunk.
...
FossilOrigin-Name: 50136840d54674c239613265ebbacaabf215f4e2
2009-10-16 16:21:51 +00:00
dan
d893ed8eea
Fix a problem in the analyze3.test script.
...
FossilOrigin-Name: 61174aea74db59f6792e275aa366b7f0e1f2270b
2009-10-16 15:59:35 +00:00
dan
fa401def25
Experimental fix for [f777251dc7]. This may be changed yet.
...
FossilOrigin-Name: 174477bca05d019e663fd2b7cd031189ab2e010a
2009-10-16 14:55:03 +00:00
dan
937d0dea4f
Add the experimental sqlite3_reoptimize() API.
...
FossilOrigin-Name: 9bd6f3d8864d422fe42074688b191915b27ad8ea
2009-10-15 18:35:38 +00:00
drh
a46057b0fe
Fix a typo in the test script added for ticket [5ee23731f15].
...
FossilOrigin-Name: d0f55b5c3b1a85d837cd1d8a2f089c6bcf5a8c0d
2009-10-13 18:49:53 +00:00
drh
a2c8a95b1c
Update the TCL wrapper to provide a non-NULL objProc pointer to the
...
Tcl_NRCreateCommand() interface. The TCL gurus say this is needed to
support legacy TCL extensions.
FossilOrigin-Name: 1b3cfa01dd7fb9a48f0008f5afd974db61c30cff
2009-10-13 18:38:34 +00:00
drh
ccd62aa0e3
Add a test case to verify that ticket [5ee23731f15] has been fixed.
...
FossilOrigin-Name: f894ebf86d6bafcd1461f104f5f677b3b6a3aa1a
2009-10-13 15:42:48 +00:00
dan
166d9c8aea
Add further test cases to e_fkey.test.
...
FossilOrigin-Name: c85e58743a87bfbea6376c237e5e3a6909184f6c
2009-10-13 10:39:16 +00:00
dan
52a484197e
Add more test cases to e_fkey.test.
...
FossilOrigin-Name: 5633cb2b5b91a54e677dde76e31e319cd7d51780
2009-10-12 18:57:20 +00:00
dan
57a852cd11
Fix some mappings from e_fkey.test.
...
FossilOrigin-Name: 171c67138527750ec4af403f05389fae5f7da7b5
2009-10-12 16:02:10 +00:00
dan
1760024b62
Update e_fkey.test to match the latest version of foreignkeys.html.
...
FossilOrigin-Name: a2ca9f1a7a158e7b83a642a8d17549d81caea557
2009-10-12 15:25:28 +00:00
dan
3bc485e647
Extra test cases mapped to statements in foreignkeys.html.
...
FossilOrigin-Name: ffa6207dd72024f01ab6f2715fe628943f178ca5
2009-10-12 11:27:00 +00:00
dan
e506deb255
Add further test cases to e_fkey.test.
...
FossilOrigin-Name: d61cc0e1a1e8b4bf49016d3d14554f9c20f86f6b
2009-10-12 08:41:49 +00:00
dan
2f01f465f3
Add tests to e_fkey.test.
...
FossilOrigin-Name: 5ec07feea47e727824b8b48236b5cce80539a455
2009-10-10 15:49:49 +00:00
drh
c4ad1e946b
Update requirement text for sqlite3_open_blob(). Update evidence comment
...
in e_fkey.test to conform to the latest requirement phrasing.
FossilOrigin-Name: 89c548acf4691bad3d90400026267d4c6a55cde1
2009-10-10 14:29:30 +00:00
dan
2140429ccd
Add test cases to e_fkey.test.
...
FossilOrigin-Name: e391dfe79d52e1de48688715d4a6707ffca214fd
2009-10-09 18:16:55 +00:00
dan
4e7deacf48
Test a couple of the examples in foreignkeys.html.
...
FossilOrigin-Name: a2fb7902c01f8b095b25d338fc2f23cb26c941d9
2009-10-08 19:02:50 +00:00
dan
598d2028e2
Add test cases to test file "e_fkey.test".
...
FossilOrigin-Name: 23e0f61a4f24315bf31f632f43b60ec232f348fb
2009-10-08 17:42:28 +00:00
dan
ce3745329c
Add tests to test/e_fkey.test.
...
FossilOrigin-Name: 533703d78ab4330b2dc8e08aaba89b4667e46331
2009-10-08 11:57:24 +00:00
dan
07fcc26824
Update triggerC.test to match the change to the way the trigger-recursion limit is handled.
...
FossilOrigin-Name: 5806925283b889867567c4ad92518bad000e9d9d
2009-10-08 06:24:41 +00:00
dan
f589450dc9
Add some tests of statements in foreignkeys.html.
...
FossilOrigin-Name: 8382867956caf20f62c46c15b456c1c16d0824fd
2009-10-07 18:41:19 +00:00
dan
02470b20f3
Handle an SQLITE_IGNORE returned when requesting authorization to read parent key columns by pretending the parent key columns contain NULL values.
...
FossilOrigin-Name: 3c24df38e6ae5dfe999bbf3133b65df0074c6a50
2009-10-03 07:04:11 +00:00
dan
251ad6e1c5
Add one more authentication test to fkey2.test to cover an untested branch.
...
FossilOrigin-Name: e4fa8be770eb79806d489be46f68f969de17378b
2009-10-02 15:29:10 +00:00
dan
47a06346ff
When inserting a row into a child table, invoke the authorization callback to request permission to read the parent key columns.
...
FossilOrigin-Name: 9842f2d5f606eb8f641ecae9fbc5368b8d7e4286
2009-10-02 14:23:41 +00:00