From cf4bd560f1588d96c502b4c3407fe1a10cef4a28 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Mon, 20 Mar 2017 23:26:15 +0900 Subject: fix build --- sqlite3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlite3.go') diff --git a/sqlite3.go b/sqlite3.go index 5df6c8b..6230b29 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -399,7 +399,7 @@ func (c *SQLiteConn) AutoCommit() bool { return int(C.sqlite3_get_autocommit(c.db)) != 0 } -func (c *SQLiteConn) lastError() Error { +func (c *SQLiteConn) lastError() *Error { rv := C.sqlite3_errcode(c.db) if rv == C.SQLITE_OK { return nil -- cgit v1.2.3