Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ecb1f1a

Browse files
David EllingsworthDavid Ellingsworth
David Ellingsworth
authored and
David Ellingsworth
committed
Add 'native_flags' value to the output returned from the getColumnMeta() method for the pdo_mysql driver.
1 parent d1538d5 commit ecb1f1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎ext/pdo_mysql/mysql_statement.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,7 @@ static int pdo_mysql_stmt_col_meta(pdo_stmt_t *stmt, zend_long colno, zval *retu
857857
add_assoc_long(return_value, "pdo_type", param_type);
858858

859859
add_assoc_zval(return_value, "flags", &flags);
860+
add_assoc_long(return_value, "native_flags", F->flags);
860861
add_assoc_string(return_value, "table", (char *) (F->table?F->table : ""));
861862

862863
PDO_DBG_RETURN(SUCCESS);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /