mirror of
https://github.com/php/php-src.git
synced 2025-01-15 00:05:02 +08:00
cbcdae7002
Why: 1) Its not the common way to add additionally functionality for functions or features which are already implemented in SQL. Therefore also a lot of mysql functions are marked as deprecated (and will be removed in near future) 2) The implemented workaround works only when mysql_select_db was called before (fetching the databasename from mysql->conn.db). It returns invalid or inconsistent results e.g.: - when "USE databasename" via mysql_query was used - when database was dropped or grant privileges had changed. In conjunction with persistent connection, there are also some inconsistencies, cause mysql_select_db returns the databasename from an old connection. To determine the database name just use the SQL command "SELECT DATABASE()" |
||
---|---|---|
.. | ||
libmysql | ||
config.m4 | ||
CREDITS | ||
mysql.dsp | ||
mysql.mak | ||
php_mysql.c | ||
php_mysql.h |