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

index 025ca2bb4719e7a60b9555161d014c5ec56bf41b..a33604e68aff3ff502662d4b569b409756786682 100755 (executable)
@@ -228,7 +228,7 @@ static int pdo_mysql_stmt_col_meta(pdo_stmt_t *stmt, long colno, zval *return_va
        if (IS_BLOB(F->flags)) {
                add_next_index_string(flags, "blob", 1);
        }
-       str = type_to_name_native(F->flags);
+       str = type_to_name_native(F->type);
        if (str) {
                add_assoc_string(return_value, "native_type", str, 1);
        }