July 23, 2016
3:58 p.m.
On 2016-07-23 05:23, Tian JiaLin wrote:
Hey Guys,
I found the mistake I made, basically I'm using a tool called Sentry to capture the exceptions. The value returned from the Python is 2^64-1, which is -1 from mysql_affected_rows. Sentry is using JSON format as the a kind of storage, apparently the MAX SAFE INTEGER <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Obj...> is 2^53 -1.
[snip] JSON itself doesn't put a limit on the size of integers. That link is about how JavaScript handles JSON.