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 f9af3a9 commit 8eb1cadCopy full SHA for 8eb1cad
Sources/PerfectMySQL/MySQLStmt.swift
@@ -100,7 +100,7 @@ public final class MySQLStmt {
100
MYSQL_TYPE_MEDIUM_BLOB,
101
MYSQL_TYPE_LONG_BLOB,
102
MYSQL_TYPE_BLOB:
103
- if (field.pointee.flags & UInt32(BINARY_FLAG)) != 0 {
+ if field.pointee.charsetnr == 63 /* binary */ {
104
return .bytes
105
}
106
fallthrough
@@ -577,7 +577,7 @@ public final class MySQLStmt {
577
578
579
580
- if ( (field.pointee.flags & UInt32(BINARY_FLAG)) != 0) {
581
return .bytes(type)
582
583
0 commit comments