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 1c60e5e commit 802b4caCopy full SHA for 802b4ca
GRDB/Core/Database.swift
@@ -2103,7 +2103,7 @@ extension Database {
2103
public var expandedSQL: String {
2104
if let unexpandedSQL {
2105
let sql = String(cString: unexpandedSQL)
2106
- if sql.hasSuffix("--") { return sql }
+ if sql.hasPrefix("--") { return sql }
2107
}
2108
guard let cString = sqlite3_expanded_sql(sqliteStatement) else {
2109
return ""
0 commit comments