On Thu, 24 Nov 2005 16:45:08 +0000 (UTC) "Martin Nilsson (Opera) @ Pike (-) developers forum" 10353@lyskom.lysator.liu.se wrote:
Altering the API of fetch_fields(). The right fix wrt columns would of course be to have the correct table before the column.
Ok, here's a patch that leaves fetch_fields() behaviour alone and just removes the .column entries from query results when the table name is not available. It works with both postgresql (all the time since it doesn't let you find the table name) and mysql when the query didn't involve a table.
Adam