fix for PECL bug 3530

This commit is contained in:
Hartmut Holzgraefe 2005-02-20 23:08:34 +00:00
parent 7eaece85a8
commit 5f3dd68ac5

View File

@ -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);
}