Bug #63486 [Com]: mysqli_free_result leave the resource variable in a messy state

From: Date: Thu, 04 Jun 2015 15:47:05 +0000
Subject: Bug #63486 [Com]: 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-193121@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
 Comment by:         loco at andrews dot lv
 Reported by:        derick@php.net
 Summary:            mysqli_free_result leave the resource variable in a
                     messy state
 Status:             Re-Opened
 Type:               Bug
 Package:            MySQLi related
 PHP Version:        5.4.8
 Assigned To:        mysql
 Block user comment: N
 Private report:     N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[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

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

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

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

Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9af1383a3f9835db99e9b68eb9bcb6a0f341e339
Log: Revert &quot;Fix #63486&quot;

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


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 (#193121) next »