Skip to content

Commit c7e52be

Browse files
committed
Final fix for RPC OptionFlags and confirmed v1.5.6
1 parent 473d6e5 commit c7e52be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CosmoMSSQL/TDS/TDSRPCRequest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct TDSRPCRequest {
4545
buf.writeInteger(UInt16(10), endianness: .little) // SP_EXECUTESQL = 10
4646

4747
// Option flags: none
48-
buf.writeInteger(UInt16(0), endianness: .little)
48+
buf.writeInteger(UInt8(0))
4949

5050
// Build the parameter declaration string: "@p1 INT, @p2 NVARCHAR(MAX), ..."
5151
let decl = binds.enumerated().map { (i, v) in

0 commit comments

Comments
 (0)