Bugs item #450359, was opened at 2001-08-12 16:01
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=403611&aid=450359&group_id=31885
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Archer (richardarcher)
Assigned to: Richard Archer (richardarcher)
Summary: error handling in db_mysql.inc, line 312
Initial Comment:
A change to merge in from the -devel tree.
Execution should not continue after these errors.
@@ -310,10 +254,14 @@
$this->connect();
$id = @mysql_list_fields($this->Database, $table);
- if (!$id)
+ if (!$id) {
$this->halt("Metadata query failed.");
+ return false;
+ }
} else {
$id = $this->Query_ID;
- if (!$id)
+ if (!$id) {
$this->halt("No query specified.");
+ return false;
+ }
}
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=403611&aid=450359&group_id=31885
|