PHP :: Request #50667 :: Deprecate mysql_list_databases

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

Description:
------------
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
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2010-08-16 23:06 UTC] kalle@php.net

-Status: Open +Status: Assigned -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: andrey

 [2010-08-16 23:06 UTC] kalle@php.net

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] andrey@php.net

I removed aliases in MySQLi. I haven't touched ext/mysql

 [2010-08-17 17:40 UTC] andrey@php.net

-Status: Assigned +Status: Closed

 [2010-08-17 17:40 UTC] andrey@php.net

Deprecated in trunk, if next minor release is 5.4.0, then it will be there.

Thanks!

 [2010-11-17 16:29 UTC] jani@php.net

-Package: *General Issues +Package: MySQL related