diff --git a/core/stores/sqlx/tx.go b/core/stores/sqlx/tx.go index 2fb71f88..97991569 100644 --- a/core/stores/sqlx/tx.go +++ b/core/stores/sqlx/tx.go @@ -30,7 +30,8 @@ func (t txSession) Prepare(q string) (StmtSession, error) { } return statement{ - stmt: stmt, + query: q, + stmt: stmt, }, nil }