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 8071e05 commit 25bf14cCopy full SHA for 25bf14c
ext/mysql2/statement.c
@@ -224,6 +224,7 @@ static int my_big2ll(VALUE bignum, LONG_LONG *ptr)
224
}
225
else {
226
if (len == 8 && nlz_bits == 0 &&
227
+ /* only -0x8000000000000000 is safe if `len == 8 && nlz_bits == 0` */
228
#ifdef HAVE_RB_ABSINT_SINGLEBIT_P
229
!rb_absint_singlebit_p(bignum)
230
#elif defined(HAVE_RB_BIG_AND)
0 commit comments