Skip to content

Commit 97e933a

Browse files
committed
Use MYSQL_TYPE_STRING instead of MYSQL_TYPE_JSON for binary JSON data
1 parent f297110 commit 97e933a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MySQL/Connection/MySQLData.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public struct MySQLData: Equatable, Encodable {
4646
}
4747

4848
let binary = MySQLBinaryData(
49-
type: .MYSQL_TYPE_JSON,
49+
type: .MYSQL_TYPE_STRING,
5050
isUnsigned: true,
5151
storage: storage
5252
)

0 commit comments

Comments
 (0)