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 fbcd395 commit 796634bCopy full SHA for 796634b
src/oracledb/impl/thin/constants.pxi
@@ -421,7 +421,7 @@ DEF TNS_OBJ_NO_PREFIX_SEG = 0x04
421
DEF TNS_OBJ_IMAGE_VERSION = 1
422
423
# database object flags
424
-DEF TNS_OBJ_MAX_LENGTH = 245
+DEF TNS_OBJ_MAX_SHORT_LENGTH = 245
425
DEF TNS_OBJ_ATOMIC_NULL = 253
426
DEF TNS_OBJ_NON_NULL_OID = 0x02
427
DEF TNS_OBJ_HAS_EXTENT_OID = 0x08
src/oracledb/impl/thin/dbobject.pyx
@@ -122,7 +122,7 @@ cdef class DbObjectPickleBuffer(Buffer):
122
"""
123
Writes the length to the buffer.
124
125
- if length <= TNS_MAX_SHORT_LENGTH:
+ if length <= TNS_OBJ_MAX_SHORT_LENGTH:
126
self.write_uint8(<uint8_t> length)
127
else:
128
self.write_uint8(TNS_LONG_LENGTH_INDICATOR)
0 commit comments