Re: svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/tests/connect.inc branches/PHP_5_3/ext/pdo_mysql/tests/mysql_pdo_test.inc
branches/PHP_5_4/ext/mysqli/tests/connect.inc branches/PHP_5_4/ext/pdo_mysql/tests/mysql_pdo_test.inc trunk/ext/mys
Am 02.09.2011 13:27, schrieb Hannes Magnusson:
On Fri, Sep 2, 2011 at 13:06, Ulf Wendel<
[email protected]> wrote:
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() (http://dev.mysql.com/doc/refman/5.5/en/mysql-list-dbs.html) 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?
Ulf
Thread (3 messages)