summaryrefslogtreecommitdiff
path: root/client/mysql.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysql.cc')
-rw-r--r--client/mysql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index f9da1a8737b..dfbe394d81c 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -4082,7 +4082,7 @@ static int com_source(String *buffer, char *line)
If we got an error during source operation, don't abort the client
if ignore_errors is set
*/
- if (error && !batch_abort_on_error && ignore_errors)
+ if (error && ignore_errors)
error= -1; // Ignore error
return error;
}