diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-03-20 23:26:15 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-03-20 23:26:15 +0900 |
commit | cf4bd560f1588d96c502b4c3407fe1a10cef4a28 (patch) | |
tree | afd9a3e1c07b686234f7607e02e4a0fae09710cc /sqlite3.go | |
parent | return nil when last error is SQLITE_OK (diff) | |
download | golite-cf4bd560f1588d96c502b4c3407fe1a10cef4a28.tar.gz golite-cf4bd560f1588d96c502b4c3407fe1a10cef4a28.tar.xz |
fix build
Diffstat (limited to 'sqlite3.go')
-rw-r--r-- | sqlite3.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |