mirror of
https://github.com/php/php-src.git
synced 2024-12-13 11:54:45 +08:00
fix for PECL bug #3529
This commit is contained in:
parent
5f3dd68ac5
commit
fd39b78b39
@ -191,7 +191,7 @@ static int pdo_mysql_stmt_col_meta(pdo_stmt_t *stmt, long colno, zval *return_va
|
||||
zval *flags;
|
||||
char *str;
|
||||
|
||||
if(S->current_data == NULL || !S->result) {
|
||||
if(!S->result) {
|
||||
return FAILURE;
|
||||
}
|
||||
if(colno >= mysql_num_fields(S->result)) {
|
||||
|
Loading…
Reference in New Issue
Block a user