Hi,

I notice that the int sqlite3_open_v2 C function has a
SQLITE_OPEN_READONLY which allows opening a database in read only
mode.
Would it be possible to have this possibility in the Tcl interface
too? Perhaps similar to the way the "open" command of Tcl specifies
flags.

This feature would be very useful as I have parts of my package that
should NEVER be able to modify the underlying database.
Right now I am jumping through lots and lots of Tcl loops in order to
avoid any possibility of writes in not trusted areas in the code, and
I cant help feeling that a read only database handle would be much
more sensible.

/Fredrik

-- 
"Life is like a trumpet - if you don't put anything into it, you don't
get anything out of it."
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to