Bug #61838 [Nab]: mysqli_get_cache_stats() does nothing

From: Date: Wed, 02 May 2012 14:20:53 +0000
Subject: Bug #61838 [Nab]: mysqli_get_cache_stats() does nothing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-170090@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: jpauli@php.net Reported by: jpauli@php.net Summary: mysqli_get_cache_stats() does nothing 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: So, there is no plan to implement this function at all ? Previous Comments: ------------------------------------------------------------------------ [2012-05-02 14:16:07] uw@php.net 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". ------------------------------------------------------------------------ [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

« previous php.bugs (#170090) next »