fix for PECL bug #3529

This commit is contained in:
Hartmut Holzgraefe 2005-02-20 23:56:14 +00:00
parent 5f3dd68ac5
commit fd39b78b39

View File

@ -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)) {