Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions sqlite3.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,21 +405,6 @@ static go_sqlite3_text_column _sqlite3_column_blob(sqlite3_stmt *stmt, int idx)
}
return r;
}

typedef struct {
const char *msg;
int code;
} go_sqlite3_db_error;

static go_sqlite3_db_error _sqlite3_db_error(sqlite3 *db) {
if (db) {
return (go_sqlite3_db_error){
.msg = sqlite3_errmsg(db),
.code = sqlite3_extended_errcode(db)
};
}
return (go_sqlite3_db_error){ 0 };
}
*/
import "C"
import (
Expand Down