mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Fixed bug #37671 (MySQLi extension fails to recognize BIT column).
This commit is contained in:
parent
ac2a29913c
commit
63a658ee7a
1
NEWS
1
NEWS
@ -49,6 +49,7 @@ PHP NEWS
|
||||
- Added RFC2397 (data: stream) support. (Marcus)
|
||||
- Fixed memory leaks in openssl streams context options (Pierre)
|
||||
- Fixed handling of extremely long paths inside tempnam() function. (Ilia)
|
||||
- Fixed bug #37671 (MySQLi extension fails to recognize BIT column). (Ilia)
|
||||
- Fixed bug #37635 (parameter of pcntl signal handler is trashed). (Mike)
|
||||
- Fixed bug #37632 (Protected method access problem). (Marcus)
|
||||
- Fixed bug #37630 (MySQL extensions should link against thread safe client
|
||||
|
@ -294,6 +294,9 @@ PHP_FUNCTION(mysqli_stmt_bind_result)
|
||||
case MYSQL_TYPE_LONG:
|
||||
case MYSQL_TYPE_INT24:
|
||||
case MYSQL_TYPE_YEAR:
|
||||
#if MYSQL_VERSION_ID > 50002
|
||||
case MYSQL_TYPE_BIT:
|
||||
#endif
|
||||
convert_to_long_ex(args[i]);
|
||||
stmt->result.buf[ofs].type = IS_LONG;
|
||||
/* don't set stmt->result.buf[ofs].buflen to 0, we used ecalloc */
|
||||
|
Loading…
Reference in New Issue
Block a user