summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorBjorn Munch <Bjorn.Munch@sun.com>2010-03-03 11:19:06 +0100
committerBjorn Munch <Bjorn.Munch@sun.com>2010-03-03 11:19:06 +0100
commitae676e85e6fec13a289b8878253160e39e5783ef (patch)
tree929d932600b6931b306df53408e1c97e8a66b1d8 /client
parent6e90fa4c888399d3fdc27d39ae281288fb020ba4 (diff)
parent1a6a540286e4a35e647a6802449d0e10baf2d90f (diff)
downloadmariadb-git-ae676e85e6fec13a289b8878253160e39e5783ef.tar.gz
upmerge 51590
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index 135fed782c3..603223f396c 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -7536,9 +7536,6 @@ void get_command_type(struct st_command* command)
sizeof(saved_expected_errors));
DBUG_PRINT("info", ("There are %d expected errors",
command->expected_errors.count));
- command->abort_on_error= (command->expected_errors.count == 0 &&
- abort_on_error);
-
DBUG_VOID_RETURN;
}
@@ -7886,6 +7883,10 @@ int main(int argc, char **argv)
command->type= Q_COMMENT;
}
+ /* (Re-)set abort_on_error for this command */
+ command->abort_on_error= (command->expected_errors.count == 0 &&
+ abort_on_error);
+
/* delimiter needs to be executed so we can continue to parse */
my_bool ok_to_do= cur_block->ok || command->type == Q_DELIMITER;
/*