Re: Re: mysql and unbuffered queries

From: Date: Mon, 07 May 2001 10:54:45 +0000
Subject: Re: Re: mysql and unbuffered queries
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-54203@lists.php.net to get a copy of this message
At 13:51 7/5/2001, Wez Furlong wrote:
On 2001-05-07 11:07:14, "Jani Taskinen" <sniper@iki.fi> wrote: Second question is: What is the use of mysql_query() function anymore then? Why not just exchange mysql_query() with mysql_unbuffered_query()? You didn't say anything about any disadvantages on using it. :) The disadvantage is that you have to retrieve all the rows before you can issue further SQL on that connection. It can be a real pain. Zeev, Does the extension take care of this case, or does it just return the errors that the mysql client would return?
It takes care of it automagically. It does spit out an E_NOTICE to warn you about that, though, that you're doing something you're not supposed to do. Zeev

« previous php.dev (#54203) next »