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.
2 parents e942086 + 598cc27 commit 3f53190Copy full SHA for 3f53190
Sources/MySQL/Connection.swift
@@ -60,7 +60,7 @@ public final class Connection {
60
// Prepares the created statement
61
// This parses `?` in the query and
62
// prepares them to attach parameterized bindings.
63
- guard mysql_stmt_prepare(statement, query, strlen(query)) == 0 else {
+ guard mysql_stmt_prepare(statement, query, UInt(strlen(query))) == 0 else {
64
throw Error.prepare(error)
65
}
66
0 commit comments