We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To reproduce
package main import ( "database/sql" _ "github.com/mattn/go-sqlite3" ) func assertNoError(e error) { if e != nil { panic(e) } } func main() { db, e := sql.Open("sqlite3", ":memory:") assertNoError(e) _, e = db.Exec("create table my_table (class int);") assertNoError(e) _, e = db.Query("select * from my_table") // note that I didn't close the rows assertNoError(e) _, e = db.Query("select * from my_table") // error: no such table: my_table assertNoError(e) }
I don't have this issue if the database is backed by a .db file.
.db
The text was updated successfully, but these errors were encountered:
Known issue. Has to do with Go's connection pooling. See "Why I'm getting no such table error?" in the README.
Sorry, something went wrong.
@rittneje Thanks so much for the prompt reply!
Duplicate of #204
No branches or pull requests
To reproduce
I don't have this issue if the database is backed by a
.db
file.The text was updated successfully, but these errors were encountered: