drh
07aa67c14a
More snippet generator improvements and test cases. (CVS 3449)
...
FossilOrigin-Name: 0934d220b33c52024f42c89fa13326bd52333f39
2006-09-28 18:57:59 +00:00
drh
1e7423e57f
Bug fix in the FTS1 snippet generator. Improvements in the way the snippet
...
generator handles whitespace. (CVS 3448)
FossilOrigin-Name: d3f4ae827582bd0aac54ae3211d272a1429b6523
2006-09-28 18:37:15 +00:00
drh
361e2bdeb5
Avoid segfaults when inserted NULL values into FTS1. (CVS 3447)
...
FossilOrigin-Name: 165645d30115f3171fc45489823f85639fe2bfcd
2006-09-28 11:41:41 +00:00
drh
9df9492adc
Fix a roundoff error in the %f converter of strftime(). Ticket #1991 . (CVS 3442)
...
FossilOrigin-Name: 51b9c755ea01528e32690aabe91236ed917369f1
2006-09-25 18:03:28 +00:00
drh
ece3c728d0
Be sure to ignore PRAGMA encoding pragmas if the encoding has already been
...
set for a database. Ticket #1987 . This patch also includes some cleanup
of the schema parser and initialization logic. (CVS 3436)
FossilOrigin-Name: dc797bf4fa96deabd9ceb6cc062b98d2ac49a574
2006-09-23 20:36:01 +00:00
drh
8b62817797
Implementation of the snippet() function for FTS1. Includes a few
...
simple test cases but more testing is needed. (CVS 3431)
FossilOrigin-Name: c7ee60d00976efab25a830e7416538010c734129
2006-09-21 02:03:08 +00:00
drh
b08249ced3
Modify FTS1 so that the "magic" column has the same name as the virtual
...
table. Offsets are retrieved using a special "offsets" function whose
first argument is the magic column. Snippets will ultimately be retrieved
in the same way. (CVS 3427)
FossilOrigin-Name: 5e35dc1ffadfe7fa47673d052501ee79903eead9
2006-09-18 02:12:47 +00:00
drh
b7481e70c5
Add the sqlite3_overload_function() API - part of the virtual table
...
interface. (CVS 3426)
FossilOrigin-Name: aa7728f9f5b80dbb1b3db124f84b9166bf72bdd3
2006-09-16 21:45:14 +00:00
drh
e49f982792
Bug fix and better testing of the extended result codes. (CVS 3423)
...
FossilOrigin-Name: 78ae74db1cbf605cd421e7ea321e879d3638968e
2006-09-15 12:29:16 +00:00
drh
4ac285a1c2
Add support for extended result codes - additional result information
...
carried in the higher bits of the integer return codes. This must be
enabled using the sqlite3_extended_result_code() API. Only a few extra
result codes are currently defined. (CVS 3422)
FossilOrigin-Name: ba579ddc4361fc6e8ea66f9385770d70dfe94751
2006-09-15 07:28:50 +00:00
drh
8abc58e33b
New FTS1 test data based on enron emails. (CVS 3421)
...
FossilOrigin-Name: 01651a32c6e67c4ac2cd23f1da7f3cc3adad1b33
2006-09-14 21:08:54 +00:00
drh
a3baa963bc
Implementation of "column:" modifiers in FTS1 queries. (CVS 3411)
...
FossilOrigin-Name: 820634f71e3a3499994f82b56b784d22a7e3cdcf
2006-09-13 16:02:43 +00:00
drh
cbaac514bc
Module spec parser enhancements for FTS1. Now able to cope with column
...
names in the spec that are SQL keywords or have special characters, etc.
Also added support for additional control lines. Column names can be
followed by a type specifier (which is ignored.) (CVS 3410)
FossilOrigin-Name: adb780e0dc8bc7dcd1102efbfa4bc17eefdf968e
2006-09-13 15:20:13 +00:00
drh
a6be0dc938
Fix the FTS1 test cases and add new tests. Comments added to the FTS1 code. (CVS 3409)
...
FossilOrigin-Name: 528036c828c93c78ca879bf89a52131b72e24067
2006-09-13 12:36:08 +00:00
drh
fdd48a76a6
Add support for IF EXISTS on CREATE/DROP TRIGGER/VIEW. Ticket #1899 . (CVS 3406)
...
FossilOrigin-Name: e4fe736cfbbdc081581911a01690576034877b72
2006-09-11 23:45:48 +00:00
drh
a2a9d18869
Add some simple test cases for the OR and NOT logic of the fts1 module.
...
Fix lots of bugs discovered while developing these test cases. (CVS 3400)
FossilOrigin-Name: 70bcff024b44d1b40afac6eba959fa89fb993147
2006-09-10 03:34:06 +00:00
drh
f11c34df74
Bug fix in date/time computations. Ticket #1964 .
...
Some unrelated comment typos are also fixed and got accidently
checked in at the same time. (CVS 3396)
FossilOrigin-Name: c81eaa0dc9a327d222e066076c4a2da5e69d8c21
2006-09-08 12:27:36 +00:00
drh
b2b4996280
Fix a bug in the new misc6.test script. Fix error messages when not
...
compiled with memory debugging enabled. Ticket #1957 . (CVS 3392)
FossilOrigin-Name: 9fb92024bf5058bdc32066a0d07b93da575779fa
2006-09-04 18:54:14 +00:00
drh
f0313813ec
Make sure strings returned by sqlite3_value_text() and sqlite3_value_text16()
...
are always '\000'-terminated. (CVS 3391)
FossilOrigin-Name: 2c63588b45f4e1ab9b9f1b72c901f3800433424a
2006-09-04 15:53:53 +00:00
drh
f80ad49f72
Fix bugs in test scripts so that fulltest will pass. (CVS 3390)
...
FossilOrigin-Name: 367bd8376f323beb3148eab86ada1a3cb379ba3b
2006-09-02 22:14:59 +00:00
drh
80788d8b65
Test for busted TCL builds that do not support 64-bit integers and print
...
a warning message to users that test failures may be a result of the bad
TCL build and not some problem with SQLite. Ticket #1953 . (CVS 3386)
FossilOrigin-Name: ca864ee913ea5ae88761e617bcac300ffa339369
2006-09-02 14:50:23 +00:00
drh
9645d8d4b3
Remove use of the "clock" command in the test suite so that the tests
...
will run in Tcl8.5. Ticket #1445 . (CVS 3380)
FossilOrigin-Name: bedbac54db173ceb74bd78acd021209f28aa30a8
2006-09-01 15:49:05 +00:00
drh
16ed8a64f6
Bug fix: Get INSERT INTO ... SELECT working when the target is a virtual
...
table. (CVS 3374)
FossilOrigin-Name: 7912485705c96e365a942932bb12d5b9113c9885
2006-08-29 18:46:14 +00:00
drh
147d0ccc15
Add support for INSERT INTO ... DEFAULT VALUES. Tickets #299 , #1940 . (CVS 3368)
...
FossilOrigin-Name: bc84cb54b0df09738fd90e48820dc3cdfa7828c2
2006-08-25 23:42:53 +00:00
drh
5169bbc6a3
Enhance the sqlite3_set_authorizer() callback so that it provides callbacks
...
on each SQL function that is invoked. (CVS 3365)
FossilOrigin-Name: 4547c81f7da29b1490c6eba8d9c333218c5cb88f
2006-08-24 14:59:45 +00:00
drh
1409be69aa
Add the new experimental sqlite3_auto_extension() API. (CVS 3362)
...
FossilOrigin-Name: a85fc877eb8c92bbb79ac9b7fa91fb362f37cdf7
2006-08-23 20:07:20 +00:00
drh
bdf67e0efe
Fix for the (unsupported) soundex algorithm so that it conforms to Knuth.
...
Ticket #1925 . Test cases added. (CVS 3358)
FossilOrigin-Name: 7810d1abf611ce40dd0de45610269359a8ca9222
2006-08-19 11:34:01 +00:00
drh
980b1a7405
Allows UPDATE, INSERT, and DELETEs to occur while a SELECT is pending on
...
the same table. (CVS 3355)
FossilOrigin-Name: 8c52d2ad468615e50a727adab2977a0bef1bc068
2006-08-16 16:42:48 +00:00
drh
73bdf07713
Tighten an assert (ticket #1920 ). Change to "sqlite3.h" from <sqlite3.h>
...
on the sqlite3ext.h header (ticket #1916 ). Fix a bug in the test scripts. (CVS 3354)
FossilOrigin-Name: 3ebedbb6f90ec0f9d3bed181f8fb5366f91fc48c
2006-08-15 14:21:16 +00:00
drh
417ec6381f
Change the table_info pragma to show the text of the default value expression,
...
not the result of evaluating the default value expression.
Ticket #1919 . (CVS 3353)
FossilOrigin-Name: b4d53974c30d195c061cc7605a707d7d30c52740
2006-08-14 14:23:41 +00:00
drh
29a0138c2c
Add vdbeaux.c to the list of files that must be compiled with -DSQLITE_TEST=1
...
in order to generate testfixture. Do not require sqlit3OsDelete() to
succeed on a multi-database commit. (Ticket #1917 ) (CVS 3351)
FossilOrigin-Name: dfc833ac79cb255902b20700d6d8949a66af093f
2006-08-13 19:04:18 +00:00
drh
09df9e28e5
Vtab2.test script works regardless of what TCL version is used. (CVS 3350)
...
FossilOrigin-Name: 6df3f6761a16ac5a02152f3c7f0c0e4944112ada
2006-08-13 18:43:54 +00:00
drh
67dd9011fc
Require whitespace or punctuation between a numeric literal and an
...
identifier or keyword. Ticket #1912 . (CVS 3345)
FossilOrigin-Name: 0f667c4abd73bbb806a5efb31b0aba6efaf40fb8
2006-08-12 12:33:14 +00:00
drh
1e31e0b25b
Make sure sufficient memory is allocated to hold the collating sequence
...
pointers for all columns of an ORDER BY clause even if the ORDER BY
clause contains more columns than where originally in the table.
Ticket #1911 . (CVS 3344)
FossilOrigin-Name: 924ea730f4dd384d7ef3deca357befd064dac70a
2006-08-11 19:08:27 +00:00
danielk1977
20b1eaffd8
Disallow writing to, creating or dropping virtual tables from within xSync() callbacks. (CVS 3339)
...
FossilOrigin-Name: e705d232324c71738b8b25713a134617dd1fc525
2006-07-26 16:22:14 +00:00
drh
66f4a06259
Fix an overzealous assert() in the UTF-16 to UTF-8 converter. (CVS 3338)
...
FossilOrigin-Name: 096bd8212fa06c7271fc24280133d1f0864ffb42
2006-07-26 14:57:30 +00:00
drh
aa0fe8070d
Add a test case to trigger an assertion fault when running
...
sqlite3_prepare16() with a predefined string size. (CVS 3337)
FossilOrigin-Name: 93878e6ebf703be022f83fd670c1aaaf7d4f1266
2006-07-26 14:49:19 +00:00
danielk1977
5bd270b200
Allow database writes from within virtual table module xSync() callbacks. (CVS 3334)
...
FossilOrigin-Name: d5a608d0a412e13dfced6a3827574a2cff802f25
2006-07-25 15:14:52 +00:00
drh
f11bded545
Add the "interrupt" method to the TCL interface. Ticket #1889 . (CVS 3332)
...
FossilOrigin-Name: b0d19e575b14778e76ae5d6546fba0d2e9f25e33
2006-07-17 00:02:44 +00:00
drh
76fe8032c1
By default, new databases are now created in the legacy file format - the
...
format that ignores DESC on indices. If you want descending indices, you
must either recompile with -DSQLITE_DEFAULT_FILE_FORMAT=4 or issue
"PRAGMA legacy_file_format=OFF" prior to creating the first table in the
database. (CVS 3330)
FossilOrigin-Name: 65b60f05ce49ff127bf5044f96db36caf1fa0106
2006-07-11 14:17:51 +00:00
drh
76f8079623
Fix a NULL pointer deference following malloc failure. Bug discovered
...
by klocwork. (CVS 3328)
FossilOrigin-Name: eb91612f4646b15c2b8398c5225669419b03b531
2006-07-11 12:40:25 +00:00
drh
6a03a1c5f7
For infix functions (LIKE, GLOB, REGEXP, and MATCH) treat the left
...
operand as the first argument for the purposes of virtual table
function overloading, even though the left operand is really the
the second argument. (CVS 3324)
FossilOrigin-Name: 6e98373ca11c9d476f4c6b1841c6e006b7a49f29
2006-07-08 18:34:59 +00:00
drh
e94b0c3920
Add tests and minor fixes to the xFindFunction method of virtual tables. (CVS 3323)
...
FossilOrigin-Name: 3c4233e074cb016e2422b2e8f867c99217e9b10e
2006-07-08 18:09:15 +00:00
drh
4144905b53
Make the sqlite3_enable_load_extension() interface accessible from the
...
TCL bindings. (CVS 3321)
FossilOrigin-Name: ce96b890bbf2f2b9686e19bbb1111a70f6404cb5
2006-07-06 17:08:48 +00:00
drh
3086765b6f
Change sqlite3_busy_timeout so that it checks for an invalid database
...
pointer. (CVS 3320)
FossilOrigin-Name: 225a9597b21bde7666451fc2eb7695dc35c438bb
2006-07-06 10:59:57 +00:00
drh
3765df48c3
Changes to get tests to pass with OMIT_VIRTUALTABLE. Ticket #1877 . (CVS 3318)
...
FossilOrigin-Name: 60616496b7d97fdda99262e2bab25e625151e857
2006-06-28 18:18:09 +00:00
drh
2cc55698cd
Better handling of NULL column names. (CVS 3317)
...
FossilOrigin-Name: 9f13972b93a3cac95b4319d3e75343e02a30a38f
2006-06-27 20:39:04 +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
35364b2b9e
When compiling extensions in the load_extension tests, specify a path
...
for finding include files. (CVS 3313)
FossilOrigin-Name: aee4b669944ccf3888daa9d9e54f16261c64f380
2006-06-27 18:38:51 +00:00
danielk1977
2372c2b165
Prevent databases from being DETACHed while they are in use. Fix for #1873 . (CVS 3312)
...
FossilOrigin-Name: 70a48b250bab99c5d9b4ad17c471663b8628e8d2
2006-06-27 16:34:56 +00:00