Permalink
Browse files

make it clear the error message coming from mysql

  • Loading branch information...
1 parent 7309955 commit 9f73a9903c675fbb215417e1c0ae1effa3bcf0c0 @brianjohnhaas brianjohnhaas committed Feb 20, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 PerlLib/Mysql_connect.pm
View
@@ -136,7 +136,7 @@ sub do_sql_2D {
return (&do_sql_2D($dbproc, $query, @values));
}
else {
- print STDERR "failed query: <$query>\tvalues: @values\nErrors: $DBI::errstr\n";
+ print STDERR "\n\n====\nFailed query: <$query>\tvalues: @values\nErrors: $DBI::errstr\n====\n";
$QUERYFAIL = 1;
}
}

0 comments on commit 9f73a99

Please sign in to comment.