Bug #61838 [Opn->Nab]: mysqli_get_cache_stats() does nothing
| From: | uw@php.net | Date: | Wed, 02 May 2012 14:16:07 +0000 |
| Subject: | Bug #61838 [Opn->Nab]: mysqli_get_cache_stats() does nothing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-170089@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61838&edit=1
ID: 61838
Updated by: uw@php.net
Reported by: jpauli@php.net
Summary: mysqli_get_cache_stats() does nothing
-Status: Open
+Status: Not a bug
Type: Bug
Package: MySQL related
Operating System: Linux
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
Good find, but...
- it is marked as undocumented. Means, it can return pretty much anything, including nothing.
- it is marked as deprecated.
Whether this is sufficient or not, well, Docs team can decide on adding a note.I would say its OK as
it is. Thus, setting to "not a bug".
Previous Comments:
------------------------------------------------------------------------
[2012-04-24 14:19:38] jpauli@php.net
Description:
------------
mysqli_get_cache_stats() just return an empty array, always.
It has not been implemented, but it's documented :)
Test script:
---------------
See source code of mysqli_get_cache_stats(), it always returns an empty array, whatever happens
Expected result:
----------------
mysqli_get_cache_stats() returns useful data
Actual result:
--------------
mysqli_get_cache_stats() is useless actually
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61838&edit=1