Skip to content

Commit cf4bd56

Browse files
committed
fix build
1 parent 53900fb commit cf4bd56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (err ErrNoExtended) Error() string {
7272
}
7373

7474
// Error return error message.
75-
func (err Error) Error() string {
75+
func (err *Error) Error() string {
7676
if err.err != "" {
7777
return err.err
7878
}

sqlite3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ func (c *SQLiteConn) AutoCommit() bool {
399399
return int(C.sqlite3_get_autocommit(c.db)) != 0
400400
}
401401

402-
func (c *SQLiteConn) lastError() Error {
402+
func (c *SQLiteConn) lastError() *Error {
403403
rv := C.sqlite3_errcode(c.db)
404404
if rv == C.SQLITE_OK {
405405
return nil

0 commit comments

Comments
 (0)