[EMAIL PROTECTED] wrote:

Anyway, I looked through sqlite.org but couldn't find how to properly open
an sqlite database in read-only mode.  If any knows how to do so
(preferably in TCL binding), please let me know.

According to the docs on the C/C++ bindings, the "mode" argument to open() does this, except that it is currently ignored. Since any other language bindings (including Tcl) are based on the C bindings, this means that you simply can't open the DB read-only.


Randy
--
[EMAIL PROTECTED]          http://www.rjray.org         http://www.svsm.org

Always code as if the guy who ends up maintaining your code will be a violent
psychopath who knows where you live.  -- Rick Osborne

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to