From 3439fd20966c1bc672cea1173ed756bf145f05b2 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Sun, 5 Mar 2017 02:37:15 +0900 Subject: [PATCH] fix test --- tracecallback.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracecallback.go b/tracecallback.go index de1d504..a75f52a 100644 --- a/tracecallback.go +++ b/tracecallback.go @@ -357,7 +357,7 @@ func (c *SQLiteConn) RegisterAggregator(name string, impl interface{}, pure bool if pure { opts |= C.SQLITE_DETERMINISTIC } - rv := sqlite3_create_function(c.db, cname, C.int(stepNArgs), C.int(opts), newHandle(c, &ai), nil, C.stepTrampoline, C.doneTrampoline) + rv := sqlite3CreateFunction(c.db, cname, C.int(stepNArgs), C.int(opts), newHandle(c, &ai), nil, C.stepTrampoline, C.doneTrampoline) if rv != C.SQLITE_OK { return c.lastError() }