php-src/ext/mysql
Georg Richter cbcdae7002 removed changes for mysql_select_db (optional parameter)
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()"
2002-07-21 21:36:10 +00:00
..
libmysql - Fix annoying redefine warning.. 2002-06-28 08:34:34 +00:00
config.m4 Fix shared build and made the logic of finding the socket location better. 2002-07-08 15:31:01 +00:00
CREDITS 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
mysql.dsp s/COMPILE_DL/COMPILE_DL_EXTNAME/ for Windows build files. 2000-05-23 09:22:01 +00:00
mysql.mak Added NetWare changes 2002-07-12 12:55:56 +00:00
php_mysql.c removed changes for mysql_select_db (optional parameter) 2002-07-21 21:36:10 +00:00
php_mysql.h Added support for php.ini parameter "mysql.connect_timeout" 2002-07-16 13:53:54 +00:00