php.net |  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
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

Add a Patch

Pull Requests

Add a Pull Request

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
 [2011-10-18 22:54 UTC] philip@php.net
Automatic comment from SVN on behalf of philip
Revision: http://svn.php.net/viewvc/?view=revision&revision=318196
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: Tue Mar 19 11:01:28 2024 UTC