From: Andrey Hristov Date: Sun, 9 Oct 2005 17:57:37 +0000 (+0000) Subject: MFB X-Git-Tag: RELEASE_0_9_1~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1483b322f415d07c883ee59ec5fc47276f93cf90;p=php MFB --- diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 6bfd7346e4..203bbbde7c 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -802,6 +802,8 @@ PHP_FUNCTION(mysqli_fetch_field_direct) add_property_string(return_value, "orgtable",(field->org_table ? field->org_table : ""), 1); add_property_string(return_value, "def",(field->def ? field->def : ""), 1); add_property_long(return_value, "max_length", field->max_length); + add_property_long(return_value, "length", field->length); + add_property_long(return_value, "charsetnr", field->charsetnr); add_property_long(return_value, "flags", field->flags); add_property_long(return_value, "type", field->type); add_property_long(return_value, "decimals", field->decimals);