From 53e4b9ae3d27f094d15aa0d962a0050e907381d1 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Mon, 18 Oct 2021 19:08:35 -0400 Subject: [PATCH] ABL --- db/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db.go b/db/db.go index e9155de5..79f1f990 100644 --- a/db/db.go +++ b/db/db.go @@ -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 // cover 100% of possibilities, but should cover most. var readOnly bool - f := func(driverConn interface{}) error { + f := func(driverConn interface{}) error { c := driverConn.(*sqlite3.SQLiteConn) drvStmt, err := c.Prepare(sql) if err != nil {