Commit 59e245b
committed
mysql-srv: Correct the size of binary TIME buffers
We were incorrectly setting the size of TIME data types, returned over
the binary (prepared statement) protocol, with a fixed size of 9
bytes. It should be 8 bytes if not sending microseconds, or 12 if
sending microseconds. [0]
[0] https://dev.mysql.com/doc/dev/mysql-server/latest/ \
page_protocol_binary_resultset.html
Fixes: REA-5961
Release-Note-Core: Fix bug in mysql binary protocol for TIME types
without microseconds.
Change-Id: I59356596160fd8bbe772d4829b1cfe2680b00f23
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/10280
Tested-by: Buildkite CI
Reviewed-by: Michael Zink <michael.z@readyset.io>1 parent 3b0344f commit 59e245b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
695 | | - | |
| 695 | + | |
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
| |||
0 commit comments