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: Fixed
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;
+ }
}
----------------------------------------------------------------------
>Comment By: Richard Archer (richardarcher)
Date: 2001-08-13 16:03
Message:
Logged In: YES
user_id=279311
merged change from -devel to -stable.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=403611&aid=450359&group_id=31885
|