drh
10cfdd5fa1
Fix an reference to an undefined variable introduced by the previous
...
checkin. (CVS 3343)
FossilOrigin-Name: 73ff3452a0e38f046b7b41bcf653cf5e6848471f
2006-08-08 15:42:59 +00:00
drh
0f7eb61108
Remove most static and global variables from a pure build. There
...
are still a number of static and global variables used for testing. (CVS 3342)
FossilOrigin-Name: 76e4d4187779097954038e444111f837737e789c
2006-08-08 13:51:43 +00:00
drh
ffc13f69b5
Reset the schema before checking for outstanding statements inside
...
sqlite3_close() so that virtual tables will be disconnected. (CVS 3341)
FossilOrigin-Name: af05c3ca06163ef92ca1ca135302c00b7ddddabf
2006-07-30 20:50:44 +00:00
adamd
0a3daa3086
Report any error which occurs in closing the database at exit. Free a
...
couple of strings which were leaking. (CVS 3340)
FossilOrigin-Name: 47353f62ca7635b693718997e792358d16bd117b
2006-07-28 20:16:14 +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
drh
15ca1df1bf
More work toward getting sqlite3_interrupt() to work from separate
...
threads. Ticket #1897 . (CVS 3336)
FossilOrigin-Name: e431131d47481f9fc64c498e8934b10a96b0a931
2006-07-26 13:43:30 +00:00
drh
881feaa043
Initial attempt at making sqlite3_interrupt() work even when called from
...
a separate thread. (CVS 3335)
FossilOrigin-Name: 35fd67d7a0c55797eb460e3bd02c96afe619f026
2006-07-26 01:39:30 +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
916f75fcbd
Fix lemon so that it does not crash on a empty reduce action. Ticket #1892 . (CVS 3333)
...
FossilOrigin-Name: 4207ebc4e107df9f9f046be652f061e53263c8dd
2006-07-17 00:19:39 +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
050be3294a
Reset TCL results when onecolumn or eval methods have no reply.
...
Ticket #1887 . (CVS 3331)
FossilOrigin-Name: 9c6090c609afa9906029ed4ba22375f5bee058c4
2006-07-12 00:18:40 +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
206f3d96d1
Prevent memory leak and possible NULL pointer deference after malloc
...
failure. Ticket #1886 . (CVS 3329)
FossilOrigin-Name: b1f326e6959ef3be11f772e80f5ab6dd65b2d065
2006-07-11 13:15:08 +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
f64afeb53f
Fix a possible NULL-pointer deference following a malloc failure.
...
Error discovered by Klocwork. (CVS 3327)
FossilOrigin-Name: 368bcf264456f5506260797497bc8d8dc4897e0f
2006-07-11 10:42:36 +00:00
drh
ad6e1370b5
Back out the changes of ticket #1687 since they broken the ActiveTcl build. (CVS 3326)
...
FossilOrigin-Name: b10d4220dc12728933eae1fcdcebd88a5f92e3a7
2006-07-10 21:15:51 +00:00
drh
a43fa22771
Better comment to describe the confusing operand reversal for infix
...
functions. (CVS 3325)
FossilOrigin-Name: 30dfb9bf2131370fe57e000495f5c292d392a010
2006-07-08 18:41:37 +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
b7f6f68f3a
Allow virtual table implementations to overload function that use
...
a column of the virtual table as their first argument. Untested. (CVS 3322)
FossilOrigin-Name: 12cc7af4b6b8b4f1a43d962fbafde8cba683a907
2006-07-08 17:06:43 +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
72c4d3e7ed
Fix spelling of Perl on the homepage. (CVS 3319)
...
FossilOrigin-Name: 255c5a99468c47fed0aaffeeeb28d5af9a99ee11
2006-07-02 10:21:35 +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
0c07fb9aa1
Off by 1 error in check-in (3314). Note that this change is a likely
...
fix for ticket #1875 . But I have not tested it for that purpose yet. (CVS 3315)
FossilOrigin-Name: c7477459e92209ad792f0e11e4a4dd8abf0f2f11
2006-06-27 20:05:23 +00:00
drh
94f63ab842
Use the -k option to sort. This allows the build to run on newer unix
...
systems, but will likely break the build on older ones. Please address
your complaints to the posix committee members that thought this would
be a good idea. (CVS 3314)
FossilOrigin-Name: 5d7e6bbddb522de2283474eb6d30cc376daf66f0
2006-06-27 18:55:09 +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
69dab1d33f
Changes to build successfully with -DSQLITE_OMIT_LOAD_EXTENSION=1 (CVS 3310)
...
FossilOrigin-Name: 783369e870df9d189fc75c98fa574fe4fc9843d0
2006-06-27 14:37:20 +00:00
drh
edb193b766
Changes so that it will build with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3309)
...
FossilOrigin-Name: 5612b287059c75488f995625d447c4e9521d1637
2006-06-27 13:20:21 +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
baaa7f409d
Additional documentation on the 3.3.0 file format change added to
...
formatchng.html. (CVS 3306)
FossilOrigin-Name: 955551ca2e66a1f21dae21aa0265906887d7138d
2006-06-27 12:24:13 +00:00
danielk1977
3851a65e3a
Fix bug in transfer of arguments from WHERE clause to virtual table xFilter() methods. (CVS 3305)
...
FossilOrigin-Name: cf41f2a33f94c6c94fb39ae6ffcd58bbf9ea88c8
2006-06-27 12:16:56 +00:00
drh
ac743e292d
Move older news items
...
to the oldnews.html page. (CVS 3304)
FossilOrigin-Name: 80163ded7d7a8d6897b59df988286f987b221d08
2006-06-27 11:14:13 +00:00
danielk1977
926aab2274
In test code, always use sqlite3_free() instead of free() to free error messages returned by sqlite3_exec(). (CVS 3303)
...
FossilOrigin-Name: 6521ee5f320e47f8fbd7d6b23929fab431023483
2006-06-27 07:34:40 +00:00
drh
d2ca60d776
Make sure that MATCH terms that a virtual table says should be omitted
...
really are omitted. (CVS 3302)
FossilOrigin-Name: 3e1f5567dfd306bdb97275a32afd02ea693eaf58
2006-06-27 02:36:58 +00:00
drh
9861a9f065
Cleanup and refactor parts of the optimizer. (CVS 3301)
...
FossilOrigin-Name: 6609c25fbfa5ad7f55c356936abb1721686c47ca
2006-06-27 02:33:40 +00:00
drh
6d209d8b0d
Cache and reuse virtual table index information in the optimizer.
...
Improved diagnostics for virtual table index selection. (CVS 3300)
FossilOrigin-Name: 28413cf2b3f0e6f294e1f3c59fcce135b65c294f
2006-06-27 01:54:26 +00:00
drh
c1be632489
Export the sqlite3_bind_value API to loadable extensions. (CVS 3299)
...
FossilOrigin-Name: 1ca385bb39514cb73f506bfbbe38aabb6b70816c
2006-06-27 00:14:27 +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
1914619ae7
Remove the sqlite3_module.zName field which was used only for debugging. (CVS 3297)
...
FossilOrigin-Name: 74a3961f39b9a045518835b20940471ac97bca66
2006-06-26 19:10:32 +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
a2e48b24c7
Fix trivial compiler warnings. (CVS 3295)
...
FossilOrigin-Name: 3538beace8ece6339fe8aaf40852ce5e5e7da283
2006-06-26 11:17:50 +00:00
drh
605903f42e
Syntax documentation updates. (CVS 3294)
...
FossilOrigin-Name: df601a7b374cb6ec21a2e91abf17af4fed404393
2006-06-26 10:37:11 +00:00