From 69a3575b380750380edb764c86e96af9e7ed849c Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Fri, 7 Jan 2011 18:25:55 +0000 Subject: Implemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to return db) --- ext/mysqli/mysqli_api.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/mysqli/mysqli_api.c') diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 487474efc9..c75c9f8ec2 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -1052,6 +1052,7 @@ static void php_add_field_properties(zval *value, const MYSQL_FIELD *field TSRML add_property_string(value, "table",(field->table ? field->table : ""), 1); add_property_string(value, "orgtable",(field->org_table ? field->org_table : ""), 1); add_property_string(value, "def",(field->def ? field->def : ""), 1); + add_property_string(value, "db",(field->db ? field->db : ""), 1); add_property_long(value, "max_length", field->max_length); add_property_long(value, "length", field->length); -- cgit v1.2.1