]> granicus.if.org Git - php/commitdiff
fix for PECL bug #3529
authorHartmut Holzgraefe <hholzgra@php.net>
Sun, 20 Feb 2005 23:56:14 +0000 (23:56 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Sun, 20 Feb 2005 23:56:14 +0000 (23:56 +0000)
ext/pdo_mysql/mysql_statement.c

index a33604e68aff3ff502662d4b569b409756786682..f9062021c5a3b51e0c1d9f1bfa3dcdd215688d65 100755 (executable)
@@ -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)) {