ID: 12146
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: MySQL related
Operating System: i686-pc-linux-gnu
PHP Version: 4.0.6
New Comment:

Not a bug. Intended behaviour.

Previous Comments:
------------------------------------------------------------------------

[2001-07-13 13:36:03] [EMAIL PROTECTED]

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