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 9863ecd commit 7f0a34bCopy full SHA for 7f0a34b
src/oracledb/impl/thin/messages.pyx
@@ -613,7 +613,7 @@ cdef class MessageWithData(Message):
613
name=var_impl.dbtype.name)
614
if not self.in_fetch:
615
buf.read_sb4(&actual_num_bytes)
616
- if actual_num_bytes < 0 and column_value is False:
+ if actual_num_bytes < 0 and ora_type_num == TNS_DATA_TYPE_BOOLEAN:
617
column_value = None
618
elif actual_num_bytes != 0 and column_value is not None:
619
unit_type = "bytes" if isinstance(column_value, bytes) \
0 commit comments