Index: t3lib/class.t3lib_db.php =================================================================== --- t3lib/class.t3lib_db.php (Revision 5219) +++ t3lib/class.t3lib_db.php (Arbeitskopie) @@ -910,6 +910,20 @@ $this->debug_check_recordset($res); return mysql_field_type($res,$pointer); } + + /** + * Fetch field information from a result. To fetch all field information + * this method has to be called consecutively until FALSE is returned. + * mysql_fetch_field() wrapper function + * Usage count/core: 0 + * + * @param pointer MySQL result pointer (of SELECT query) / DBAL object + * @return object Returns information about the field + */ + function sql_fetch_field($res) { + $this->debug_check_recordset($res); + return mysql_fetch_field($res); + } /** * Open a (persistent) connection to a MySQL server