fix type of event code

fixes #520
This commit is contained in:
Yasuhiro Matsumoto
2018-01-29 11:13:52 +09:00
parent 6c771bb988
commit 324c3f7deb
2 changed files with 13 additions and 11 deletions

View File

@@ -95,7 +95,7 @@ func main() {
ConnectHook: func(conn *sqlite3.SQLiteConn) error {
err := conn.SetTrace(&sqlite3.TraceConfig{
Callback: traceCallback,
EventMask: uint(eventMask),
EventMask: eventMask,
WantExpandedSQL: true,
})
return err