Date: 07/13/01
- Next message: Thies C. Arntzen: "Re: [PHP-DEV] Bug #12091 Updated: zlib uncompress buffer error/ inflate failed"
- Previous message: alberty <email protected>: "[PHP-DEV] Bug #12091 Updated: zlib uncompress buffer error/ inflate failed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: alberty <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: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Thies C. Arntzen: "Re: [PHP-DEV] Bug #12091 Updated: zlib uncompress buffer error/ inflate failed"
- Previous message: alberty <email protected>: "[PHP-DEV] Bug #12091 Updated: zlib uncompress buffer error/ inflate failed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

