mirror of https://github.com/mattn/go-sqlite3.git
fix build
This commit is contained in:
parent
d1009b4fa6
commit
aa33ddc53b
|
@ -396,7 +396,7 @@ func (c *SQLiteConn) SetTrace(requested *TraceConfig) error {
|
||||||
// The callback trampoline function does cleanup on Close event,
|
// The callback trampoline function does cleanup on Close event,
|
||||||
// regardless of the presence or absence of the user callback.
|
// regardless of the presence or absence of the user callback.
|
||||||
// Therefore it needs the Close event to be selected:
|
// Therefore it needs the Close event to be selected:
|
||||||
actualEventMask := reqCopy.EventMask | TraceClose
|
actualEventMask := uint(reqCopy.EventMask | TraceClose)
|
||||||
err := c.setSQLiteTrace(actualEventMask)
|
err := c.setSQLiteTrace(actualEventMask)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue