Skip to content

Commit c87f7aa

Browse files
committed
fixed binary protocol changes
1 parent 89c91c6 commit c87f7aa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/progaudi.tarantool/Model/Enums/Key.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public enum Key : uint
1717
Username = 0x23,
1818
Expression = 0x27,
1919
Ops = 0x28,
20-
FieldName = 0x29,
20+
FieldName = 0x00,
2121

2222
// Response keys
2323
Data = 0x30,
@@ -28,8 +28,8 @@ public enum Key : uint
2828
SqlQueryText = 0x40,
2929
SqlParameters = 0x41,
3030
SqlOptions = 0x42,
31-
SqlInfo = 0x43,
32-
SqlRowCount = 0x44,
31+
SqlInfo = 0x42,
32+
SqlRowCount = 0x00,
3333

3434
// Replication keys
3535
ServerId = 0x02,

src/progaudi.tarantool/ResponseReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ private void MatchResult(byte[] result)
234234
else
235235
{
236236
_clientOptions.LogWriter?.WriteLine($"Match for request with id {header.RequestId} found.");
237-
tcs.SetResult(resultStream);
237+
Task.Run(() => tcs.SetResult(resultStream));
238238
}
239239
}
240240

0 commit comments

Comments
 (0)