|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12146 PHP warns if mysql have a special problem
Submitted: 2001-07-13 13:36 UTC Modified: 2001-10-23 14:20 UTC
From: alberty at neptunlabs dot de Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.0.6 OS: i686-pc-linux-gnu
Private report: No CVE-ID: None
 [2001-07-13 13:36 UTC] alberty at neptunlabs dot de

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

"MySQL: Unable to save result set"

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




Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-23 14:20 UTC]
Not a bug. Intended behaviour.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Feb 05 05:05:50 2023 UTC