mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
MFB: Fixed bug #37671 (MySQLi extension fails to recognize BIT column).
This commit is contained in:
parent
6a113f3b51
commit
b36fde4b9e
@ -294,6 +294,9 @@ PHP_FUNCTION(mysqli_stmt_bind_result)
|
|||||||
case MYSQL_TYPE_LONG:
|
case MYSQL_TYPE_LONG:
|
||||||
case MYSQL_TYPE_INT24:
|
case MYSQL_TYPE_INT24:
|
||||||
case MYSQL_TYPE_YEAR:
|
case MYSQL_TYPE_YEAR:
|
||||||
|
#if MYSQL_VERSION_ID > 50002
|
||||||
|
case MYSQL_TYPE_BIT:
|
||||||
|
#endif
|
||||||
convert_to_long_ex(args[i]);
|
convert_to_long_ex(args[i]);
|
||||||
stmt->result.buf[ofs].type = IS_LONG;
|
stmt->result.buf[ofs].type = IS_LONG;
|
||||||
/* don't set stmt->result.buf[ofs].buflen to 0, we used ecalloc */
|
/* don't set stmt->result.buf[ofs].buflen to 0, we used ecalloc */
|
||||||
|
Loading…
Reference in New Issue
Block a user