Add support for sqlite3_db_readonly(). // Readonly determines if a database is read-only. // (See http://sqlite.org/c3ref/db_readonly.html) func (c *Conn) Readonly(dbName string) (bool, error) { cname := C.CString(dbName) rv := C.sqlite3_db_readonly(c.db, cname) C.fre...
Hello, Thank you for the awesome library. I'm using it and everything works fine except that when I try to open database with OPEN_READONLY, it gives me "SQLITE_MISUSE: bad parameter or other API misuse" error. So I have to use OPEN_READ...