dummy constants
This commit is contained in:
parent
efea85cb9a
commit
b59c804b1d
|
@ -1,5 +1,3 @@
|
||||||
// +build trace
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -4,7 +4,20 @@ package sqlite3
|
||||||
|
|
||||||
import "errors"
|
import "errors"
|
||||||
|
|
||||||
|
// 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)
|
||||||
|
)
|
||||||
|
|
||||||
// RegisterAggregator register the aggregator.
|
// RegisterAggregator register the aggregator.
|
||||||
func (c *SQLiteConn) RegisterAggregator(name string, impl interface{}, pure bool) error {
|
func (c *SQLiteConn) RegisterAggregator(name string, impl interface{}, pure bool) error {
|
||||||
return errors.New("This feature is not implemented")
|
return errors.New("This feature is not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *SQLiteConn) SetTrace(requested *TraceConfig) error {
|
||||||
|
return errors.New("This feature is not implemented")
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue