From 1226270907de95eed9ae8b79b5c29767a2461e69 Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Wed, 18 Jan 2017 16:49:34 +0100 Subject: [PATCH] removed two functions that aren't implemented that are causing build errors. See https://github.com/mattn/go-sqlite3/issues/372 --- tracecallback_noimpl.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tracecallback_noimpl.go b/tracecallback_noimpl.go index 5ededb3..6e0550e 100644 --- a/tracecallback_noimpl.go +++ b/tracecallback_noimpl.go @@ -2,8 +2,6 @@ package sqlite3 -import "errors" - // Trace... constants identify the possible events causing callback invocation. // Values are same as the corresponding SQLite Trace Event Codes. const ( @@ -44,12 +42,3 @@ type TraceConfig struct { EventMask uint WantExpandedSQL bool } - -// RegisterAggregator register the aggregator. -func (c *SQLiteConn) RegisterAggregator(name string, impl interface{}, pure bool) error { - return errors.New("This feature is not implemented") -} - -func (c *SQLiteConn) SetTrace(requested *TraceConfig) error { - return errors.New("This feature is not implemented") -}