|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #50667 Deprecate mysql_list_databases
Submitted: 2010-01-05 10:56 UTC Modified: 2010-11-17 16:29 UTC
From: rtshilston at gmail dot com Assigned: andrey (profile)
Status: Closed Package: MySQL related
PHP Version: 5.3.1 OS:
Private report: No CVE-ID: None
 [2010-01-05 10:56 UTC] rtshilston at gmail dot com
mysql_list_tables and mysql_list_fields have both been deprecated.  For 
consistency, I think that mysql_list_dbs should be deprecated as it too 
can be performed with a simple SQL query: "SHOW databases".

Reproduce code:
From manual page: function.mysql-list-dbs


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-16 23:06 UTC]
-Status: Open +Status: Assigned -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: andrey
 [2010-08-16 23:06 UTC]
Andrey, didn't you remove those aliases not so long ago, if so could you re-classify this if needed to a documentation issue?
 [2010-08-17 15:40 UTC]
I removed aliases in MySQLi. I haven't touched ext/mysql
 [2010-08-17 17:40 UTC]
-Status: Assigned +Status: Closed
 [2010-08-17 17:40 UTC]
Deprecated in trunk, if next minor release is 5.4.0, then it will be there.

 [2010-11-17 16:29 UTC]
-Package: *General Issues +Package: MySQL related
 [2011-10-18 22:54 UTC]
Automatic comment from SVN on behalf of philip
Log: mysql_list_dbs() is deprecated as of 5.4.0, as per PHP bug #50667
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 13 07:01:34 2024 UTC