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 8b50611 commit 0217e00Copy full SHA for 0217e00
pynuodb/encodedsession.py
@@ -399,7 +399,7 @@ def putScaledInt(self, value):
399
valueStr = toSignedByteString(int(value * decimal.Decimal(10**scale)))
400
401
#If our length is more than 9 bytes we will need to send the data using ScaledCount2
402
- if len(valueStr) > 9:
+ if len(valueStr) > 8:
403
return self.putScaledCount2(value)
404
405
packed = chr(protocol.SCALEDLEN0 + len(valueStr)) + chr(scale) + valueStr
0 commit comments