We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81bdfd0 commit 7ab00bdCopy full SHA for 7ab00bd
cgosqlite/cgosqlite.go
@@ -244,11 +244,11 @@ func (stmt *Stmt) StartTimer() {
244
}
245
246
func (stmt *Stmt) ColumnDatabaseName(col int) string {
247
- return C.GoString((*C.char)(unsafe.Pointer(C.sqlite3_column_database_name(stmt.stmt, C.int(col)))))
+ return C.GoString(C.sqlite3_column_database_name(stmt.stmt, C.int(col)))
248
249
250
func (stmt *Stmt) ColumnTableName(col int) string {
251
- return C.GoString((*C.char)(unsafe.Pointer(C.sqlite3_column_table_name(stmt.stmt, C.int(col)))))
+ return C.GoString(C.sqlite3_column_table_name(stmt.stmt, C.int(col)))
252
253
254
func (stmt *Stmt) Step(colType []sqliteh.ColumnType) (row bool, err error) {
0 commit comments