Hi,
I have two problems concerning the contributed file
extension-function.c. First is that I can't download it from the
'Contributed files' page on www.sqlite.org. More in general, when trying
to download a contributed file (extension-functions.c) from the
Contributed files page (http://www.sqlite.org/contrib/download/), I am
getting the following error for files other than *.zip, *.gz files :
ERROR: attempt to write a readonly database
attempt to write a readonly database
while executing
"db eval {UPDATE file SET cnt=cnt+1 WHERE rowid=$Q(get)}"
invoked from within
"if {[info exists Q(get)]} {
db eval {UPDATE file SET cnt=cnt+1 WHERE rowid=$Q(get)}
content-type application/binary
reply-content [db one {SELEC..."
invoked from within
"::tws::eval [read $fd [file size $argv1]]"
invoked from within
"reply-content [::tws::eval [read $fd [file size $argv1]]]"
invoked from within
"evalfile main.tcl"
Second question is how can I enable this. Can I simply use the statement
'SELECT sqlite3_load_extension('extension-fuction.c')'. I have Window XP
and I use SQLite mostly together with R (http://www.r-project.org/)
through the package RSQLite.
Paulo
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users