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
drh
c2e87a3e85
The ability to load extensions is turned off by default. It must be
...
enabled by calling sqlite3_enable_load_extension() before it will work.
This prevents security problems in legacy applications. Ticket #1863 . (CVS 3311)
FossilOrigin-Name: 4692319ccf28b0ebe64d5c5d189f444034fe0cb2
2006-06-27 15:16:14 +00:00
drh
ff91c45404
All tests pass even if compiled with -DSQLITE_DEFAULT_FILE_FORMAT=1. (CVS 3308)
...
FossilOrigin-Name: 8a49311d2f50cf2ca24776cabcb8ec7418325cb1
2006-06-27 12:51:12 +00:00
danielk1977
169f8a0c7a
Fix up the test tclvar virtual module. (CVS 3307)
...
FossilOrigin-Name: a20bfa46316b9d8f884f147960620fc8e56a7c7f
2006-06-27 12:24:59 +00:00
drh
28dd479c48
Publish APIs sqlite3_malloc() and sqlite3_realloc() that use the OS-layer
...
memory allocator. Convert sqlite3_free() and sqlite3_mprintf() to also
use the OS-layer memory allocator. (CVS 3298)
FossilOrigin-Name: 85a66a25e97471d3c459c8da6a96990b0537dc7d
2006-06-26 21:35:44 +00:00
drh
344a627661
Fix a file descriptor leak following malloc failure on DROP TABLE IF EXISTS. (CVS 3296)
...
FossilOrigin-Name: 6a63f76c8de977b628c4cab258be5a11d7d7def9
2006-06-26 12:50:09 +00:00
danielk1977
65fd59f731
A few more test cases to improve coverage of virtual table module related code. (CVS 3292)
...
FossilOrigin-Name: 255aa9121a2ef4fec7fa5523e52969acc96f4b40
2006-06-24 11:51:33 +00:00
danielk1977
5017dc387d
Add tests to improve coverage of vtab.c. (CVS 3291)
...
FossilOrigin-Name: 0c5f4ee39cb76747cf01398867fed2c7ae3edc84
2006-06-24 09:34:22 +00:00
danielk1977
33b3933c15
Ensure whitespace specified as part of a virtual table constructor argument is correctly passed to the constructor function. (CVS 3290)
...
FossilOrigin-Name: 4630e11d9a697a7fa29a0a1bbca91da4ad2bde7b
2006-06-24 08:51:05 +00:00
danielk1977
f2a3e686dd
Modify the test cases in tkt1444.test that were failing. I am convinced that the test cases were incorrect. (CVS 3288)
...
FossilOrigin-Name: 0534f6e15b84560124c3f1abd05f2967d10261c4
2006-06-23 14:43:30 +00:00
danielk1977
212b218c88
Allow xDestroy methods to execute "DROP TABLE" statements. (CVS 3287)
...
FossilOrigin-Name: a56bfa560425a5dc9273229f8838471dfc402024
2006-06-23 14:32:08 +00:00
danielk1977
be71889703
Add tests and fixes for handling malloc() failures related to the virtual table feature. (CVS 3285)
...
FossilOrigin-Name: 5d1d907189ff3ca7afada83033280cf258984ac0
2006-06-23 08:05:19 +00:00
danielk1977
a298e90d50
Test the handling of errors in virtual table methods. (CVS 3284)
...
FossilOrigin-Name: 51b729d9d9f8a60cdfb552809e4aa10012f4eb68
2006-06-22 09:53:48 +00:00
drh
f7e678d6e9
Make the last_insert_rowid method in the TCL interface work with
...
64-bit rowids. (CVS 3283)
FossilOrigin-Name: d50c37975de7639627422cbed40eb03a431874d5
2006-06-21 19:30:34 +00:00
danielk1977
70ba164098
Add the database name to the parameters passed to virtual table module xCreate and xConnect methods. (CVS 3282)
...
FossilOrigin-Name: 2d2805785f473afc202df532df84c45e6f0dc0f1
2006-06-21 16:02:42 +00:00
danielk1977
d07e543f29
Add the table name to the arguments passed to the virtual table methods xCreate/xConnect. (CVS 3281)
...
FossilOrigin-Name: 7dc36d1c798aa8b30b88a528fc9e69b342f278c7
2006-06-21 13:21:50 +00:00
danielk1977
5ee9d6977f
Add tests to make sure altering or adding an index to a virtual table is prohibited. (CVS 3280)
...
FossilOrigin-Name: 6c3e8852ffbaf5ab52ffdf7ed3767fa1d4fd5882
2006-06-21 12:36:25 +00:00
danielk1977
9d1b2a28f8
Test cases for accessing virtual tables when the corresponding module is undefined. (CVS 3279)
...
FossilOrigin-Name: bcef48c54dd01cf089db16192e670cb0717988ac
2006-06-21 07:34:11 +00:00
danielk1977
fbbe005a59
Fix a problem with virtual tables and joins. (CVS 3278)
...
FossilOrigin-Name: 643e63e5883eec109a91a44dae62b58650646575
2006-06-21 07:02:33 +00:00
danielk1977
93626f4869
Fix some problems with virtual tables and joins in where.c. (CVS 3277)
...
FossilOrigin-Name: 3e19a7d8eabcd2fa71ced3f76c5f9bc1f3900b81
2006-06-20 13:07:27 +00:00
danielk1977
4b2688ab31
Modifications so that compilation and testing with the various OMIT macros defined works. (CVS 3276)
...
FossilOrigin-Name: c6ea353bd9f5fe6c9cc3349d2034ada283f9c80e
2006-06-20 11:01:07 +00:00
danielk1977
3d5ff1c2fe
Add tests to ensure triggers cannot be created on virtual tables. (CVS 3273)
...
FossilOrigin-Name: 9470e27962d2fe9c0d1921d9aab7d8f0047ac1fd
2006-06-19 06:32:23 +00:00
danielk1977
b8cbb872cf
Respect default collation sequences assigned to virtual table columns. (CVS 3272)
...
FossilOrigin-Name: d9b205acac34ba9703bc35dfb101aedd95cb5a16
2006-06-19 05:33:45 +00:00
danielk1977
70b6d57373
Fix memory leak in where.c. (CVS 3271)
...
FossilOrigin-Name: 3d10e8f36113a189aa19ecd99007cd0a926b2f8a
2006-06-19 04:49:34 +00:00