sql driver Exec should creates its own transaction
when trying to exec Exec on the database connection as such
db, err := sql.Open("ql", "test.db")
if err != nil {
t.Fatal(err)
}
_, err = db.Exec("CREATE TABLE t (i int)")
if err != nil {
t.Fatal(err)
}
I get this error: attempt to update the DB outside of a transaction
This should create its own transaction