From:             [EMAIL PROTECTED]
Operating system: i686-pc-linux-gnu
PHP version:      4.0.6
PHP Bug Type:     MySQL related
Bug description:  PHP warns if mysql have a special problem

Hi,

the follow 'wrong' MySQL statement produce not only a MySQL
error number, it also makes a php warning:

"MySQL: Unable to save result set"

<---snip--->
error_reporting(63);
$query="show table status from foo"; // instead of show table status from
foo like 'bar'
$result=mysql_query($query);
if ($result==false) echo "<br>".mysql_errno().": ".mysql_error()."<BR>";
<---snap--->


Regards,

-- 
Steve
-- 
Edit bug report at: http://bugs.php.net/?id=12146&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to