Permalink
Browse files
make it clear the error message coming from mysql
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
PerlLib/Mysql_connect.pm
|
|
@@ -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