Am 02.09.2011 13:27, schrieb Hannes Magnusson:
On Fri, Sep 2, 2011 at 13:06, Ulf Wendel<>  wrote:
uw                                       Fri, 02 Sep 2011 11:06:51 +0000


Hopefully, this is an even better way to check for InnoDB support as of MySQL 

How about creating a native function that can return the list of
supported engines?
Or is that something the client libs don't support without a literal
query, making this way "just as good as any"?

Then you end up with stuff like mysql_list_dbs() or mysql_list_tables() ( which does not do anything that can't be done easily in user space. I'm not a big fan of such calls in the C API. They bloat up the API.

Is it worth it, if such BC breaks happen only every couple of years or would PHP as such be much better off if, for example, PDO hat proper metadata support, including user space calls specific to a particular DB?


PHP CVS Mailing List (
To unsubscribe, visit:

Reply via email to