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 335d868 commit 7eb9be4Copy full SHA for 7eb9be4
src/oracledb/impl/thin/messages.pyx
@@ -1776,10 +1776,8 @@ cdef class DataTypesMessage(Message):
1776
buf.write_uint16(TNS_CHARSET_UTF8, BYTE_ORDER_LSB)
1777
1778
buf.write_uint8(TNS_ENCODING_MULTI_BYTE | TNS_ENCODING_CONV_LENGTH)
1779
- buf.write_uint8(len(buf._caps.compile_caps))
1780
- buf.write_bytes(bytes(buf._caps.compile_caps))
1781
- buf.write_uint8(len(buf._caps.runtime_caps))
1782
- buf.write_bytes(bytes(buf._caps.runtime_caps))
+ buf.write_bytes_with_length(bytes(buf._caps.compile_caps))
+ buf.write_bytes_with_length(bytes(buf._caps.runtime_caps))
1783
1784
# write data types
1785
i = 0
0 commit comments