fix bug that empty query in transaction (#801)

This commit is contained in:
Kevin Wan
2021-06-29 23:18:32 +08:00
committed by GitHub
parent 9ccb997ed8
commit 5b22823018

View File

@@ -30,7 +30,8 @@ func (t txSession) Prepare(q string) (StmtSession, error) {
}
return statement{
stmt: stmt,
query: q,
stmt: stmt,
}, nil
}