Re: Re: svn: /php/php-src/ branches/PHP_5_4/ext/mysqli/tests/bug55582.phpt trunk/ext/mysqli/tests/bug55582.phpt

From: Date: Tue, 06 Sep 2011 16:55:29 +0000
Subject: Re: Re: svn: /php/php-src/ branches/PHP_5_4/ext/mysqli/tests/bug55582.phpt trunk/ext/mysqli/tests/bug55582.phpt
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi!

On 9/6/11 2:46 AM, Andrey Hristov wrote:
I've looked into mysqli_result_is_unbuffered_and_not_everything_is_fetched() and it looks like for libmysql it checks this: (((r)->handle&& (r)->handle->status == MYSQL_STATUS_USE_RESULT) || ((r)->data == NULL)) When I step through your code, r->data (which is result->data) is always NULL for me, which means warning is generated and 0 is returned. Is it a problem in libmysql?
what kind of a Problem?
Please read above. The above says php with libmysql does not return the result the tests expects - instead of returning number of rows after the last fetch it still returns 0. While mysqlnd does not return 0. I would like to know what is causing this and why php+libmysql result is different from what your test expects. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

Thread (8 messages)

« previous php.internals (#55250) next »