1
0
Fork 0
master
Philip O'Toole 3 years ago
parent 437d76bc1c
commit 53e4b9ae3d

@ -531,7 +531,7 @@ func (db *DB) queryWithConn(req *command.Request, xTime bool, conn *sql.Conn) ([
// the database. As per the SQLite documentation, this will not // the database. As per the SQLite documentation, this will not
// cover 100% of possibilities, but should cover most. // cover 100% of possibilities, but should cover most.
var readOnly bool var readOnly bool
f := func(driverConn interface{}) error { f := func(driverConn interface{}) error {
c := driverConn.(*sqlite3.SQLiteConn) c := driverConn.(*sqlite3.SQLiteConn)
drvStmt, err := c.Prepare(sql) drvStmt, err := c.Prepare(sql)
if err != nil { if err != nil {

Loading…
Cancel
Save