Bug #63486 [ReO->Csd]: mysqli_free_result leave the resource variable in a messy state

From: Date: Wed, 20 Jul 2016 11:39:21 +0000
Subject: Bug #63486 [ReO->Csd]: mysqli_free_result leave the resource variable in a messy state
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202444@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63486&edit=1

 ID:                 63486
 Updated by:         davey@php.net
 Reported by:        derick@php.net
 Summary:            mysqli_free_result leave the resource variable in a
                     messy state
-Status:             Re-Opened
+Status:             Closed
 Type:               Bug
 Package:            MySQLi related
 PHP Version:        5.4.8
 Assigned To:        mysql
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of jpauli
Revision: http://git.php.net/?p=php-src.git;a=commit;h=37ecfdad09767773dfacf478e0c5a66a01f66dca
Log: Fix #63486


Previous Comments:
------------------------------------------------------------------------
[2015-10-28 22:38:09] php dot net at mellesmoen dot com

I'm seeing this issue as well using:

PHP 5.6.14
Xdebug 2.3.3
MySQL 5.7.9

Though the work around posted by "[2015-01-16 08:57 UTC] hans dot puac at gmail dot com"
fixes the issue and allows me to move forward. ;-)

------------------------------------------------------------------------
[2015-06-04 15:47:02] loco at andrews dot lv

This issue is still there and is extremely annoying, as xdebug is practically unusable, as it's
often impossible to reach a breakpoint due to the state of mysqli_result:

"main(): Couldn't fetch mysqli_result in ...."

error is recorded into the fpm log when setting a breakpoint in PhpStorm, even before a breakpoint
could even be reached..

------------------------------------------------------------------------
[2015-03-10 02:55:31] laruence@php.net

test fails in all branches, and <jpauli> said, he still wait for someone in mysql to review it
then Stas merged it.

thanks

------------------------------------------------------------------------
[2015-03-09 18:10:11] stas@php.net

Fix reverted by Xinchen Hui, waiting for comments.

------------------------------------------------------------------------
[2015-03-09 09:25:54] laruence@php.net

Automatic comment on behalf of jpauli
Revision: http://git.php.net/?p=php-src.git;a=commit;h=f4c96ffcb565c1daa76aa58256e4df6f111f8803
Log: Fix #63486

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=63486


--
Edit this bug report at https://bugs.php.net/bug.php?id=63486&edit=1


Thread (24 messages)

« previous php.bugs (#202444) next »