Commit 22996a19 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Okay, add a couple of other error conditions to keep stated from

croaking.
parent 9b9468b4
...@@ -2359,7 +2359,8 @@ sub DBQuery($) ...@@ -2359,7 +2359,8 @@ sub DBQuery($)
" Query: $query\n". " Query: $query\n".
" Error: " . $DB->errstr . " ($err)"; " Error: " . $DB->errstr . " ($err)";
} }
if (defined($result) || $DB->err != 2006) { if (defined($result) ||
($DB->err != 2006) && ($DB->err != 1053) && ($DB->err != 2013)) {
last; last;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment