2016-09-07 19:13:15 +03:00
|
|
|
// +build !trace
|
|
|
|
|
|
|
|
package sqlite3
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
2017-01-10 19:18:51 +03:00
|
|
|
// Trace... constants identify the possible events causing callback invocation.
|
|
|
|
// Values are same as the corresponding SQLite Trace Event Codes.
|
|
|
|
const (
|
|
|
|
TraceStmt = uint32(0x01)
|
|
|
|
TraceProfile = uint32(0x02)
|
|
|
|
TraceRow = uint32(0x04)
|
|
|
|
TraceClose = uint32(0x08)
|
|
|
|
)
|
|
|
|
|
2016-11-04 18:40:06 +03:00
|
|
|
// RegisterAggregator register the aggregator.
|
2016-09-07 19:13:15 +03:00
|
|
|
func (c *SQLiteConn) RegisterAggregator(name string, impl interface{}, pure bool) error {
|
|
|
|
return errors.New("This feature is not implemented")
|
|
|
|
}
|
2017-01-10 19:18:51 +03:00
|
|
|
|
|
|
|
func (c *SQLiteConn) SetTrace(requested *TraceConfig) error {
|
|
|
|
return errors.New("This feature is not implemented")
|
|
|
|
}
|