Skip to content

Commit db6dec3

Browse files
committed
Update SkipSQLDB module
1 parent 30588fc commit db6dec3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Sources/SkipSQLPlus/SQLPlusCLibrary.swift

+8
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ internal final class SQLPlusCLibrary : SQLiteLibrary {
4141
SQLExt.sqlite3_errmsg(db)
4242
}
4343

44+
func sqlite3_extended_errcode(_ db: OpaquePointer) -> Int32 {
45+
SQLExt.sqlite3_extended_errcode(db)
46+
}
47+
4448
func sqlite3_last_insert_rowid(_ db: OpaquePointer) -> Int64 {
4549
SQLExt.sqlite3_last_insert_rowid(db)
4650
}
@@ -57,6 +61,10 @@ internal final class SQLPlusCLibrary : SQLiteLibrary {
5761
SQLExt.sqlite3_interrupt(db)
5862
}
5963

64+
func sqlite3_db_filename(_ db: OpaquePointer, _ zDbName: sqlite3_cstring_ptr?) -> sqlite3_cstring_ptr? {
65+
SQLExt.sqlite3_db_filename(db, zDbName)
66+
}
67+
6068
func sqlite3_exec(_ db: OpaquePointer, _ sql: String, _ callback: sqlite3_callback?, _ pArg: UnsafeMutableRawPointer?, _ errmsg: sqlite_error_ptr?) -> Int32 {
6169
SQLExt.sqlite3_exec(db, sql, callback, pArg, errmsg)
6270
}

0 commit comments

Comments
 (0)