We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5608c2 commit d8fb21fCopy full SHA for d8fb21f
1 file changed
Sources/SQLiteAdapter/SQLiteAdapter.swift
@@ -536,7 +536,7 @@ open class SQLite: SQLiteType {
536
let columnCount = sqlite3_column_count(sqlStatement)
537
for index in 0..<columnCount {
538
if let columnName = sqlite3_column_name(sqlStatement, index) {
539
- if let validatedColumnName = String(validatingUTF8: columnName) {
+ if let validatedColumnName = String(validatingCString: columnName) {
540
columnNamesToReturn.append(validatedColumnName)
541
} else {
542
throw SQLiteError.Column(getErrorMessage(dbPointer: dbPointer))
0 commit comments