Commit 794c7b04 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 57819 - change the size of the bit we print in the large error case. r=justdave.

parent 803291c0
...@@ -214,8 +214,8 @@ sub SendSQL { ...@@ -214,8 +214,8 @@ sub SendSQL {
if (!$::currentquery->execute) { if (!$::currentquery->execute) {
my $errstr = $::db->errstr; my $errstr = $::db->errstr;
# Cut down the error string to a reasonable.size # Cut down the error string to a reasonable.size
$errstr = substr($errstr, 0, 100) . ' ... ' . substr($errstr, -100) $errstr = substr($errstr, 0, 2000) . ' ... ' . substr($errstr, -2000)
if length($errstr) > 200; if length($errstr) > 4000;
die "$str: " . $errstr; die "$str: " . $errstr;
} }
SqlLog("Done"); SqlLog("Done");
......
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