When actually fetching the data, bigint (unsigned) column values are
returned as integers on LLP64 architectures, so their pdo_type has to
be PDO::PARAM_INT accordingly.
- JSON:
. Fixed bug #77843 (Use after free with json serializer). (Nikita)
+- PDO_MySQL:
+ . Fixed bug #77944 (Wrong meta pdo_type for bigint on LLP64). (cmb)
+
- Session:
. Fixed bug #77911 (Wrong warning for session.sid_bits_per_character). (cmb)
case MYSQL_TYPE_SHORT:
case MYSQL_TYPE_INT24:
case MYSQL_TYPE_LONG:
-#if SIZEOF_LONG==8
+#if SIZEOF_ZEND_LONG==8
case MYSQL_TYPE_LONGLONG:
#endif
add_assoc_long(return_value, "pdo_type", PDO_PARAM_INT);