Rename LoggableStatement to PrintableStatement.
This commit is contained in:
parent
cd3325054b
commit
e54e8fcabf
5 changed files with 9 additions and 9 deletions
|
|
@ -54,7 +54,7 @@ var loggedSQLArgs []interface{}
|
|||
var loggedDebugSQL string
|
||||
|
||||
func init() {
|
||||
jetmysql.SetLogger(func(ctx context.Context, statement jetmysql.LoggableStatement) {
|
||||
jetmysql.SetLogger(func(ctx context.Context, statement jetmysql.PrintableStatement) {
|
||||
loggedSQL, loggedSQLArgs = statement.Sql()
|
||||
loggedDebugSQL = statement.DebugSql()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue