diff options
author | Bjorn Munch <Bjorn.Munch@sun.com> | 2010-03-03 11:19:06 +0100 |
---|---|---|
committer | Bjorn Munch <Bjorn.Munch@sun.com> | 2010-03-03 11:19:06 +0100 |
commit | aa29549050f97108dcaecf49be65b8df52407f1b (patch) | |
tree | 929d932600b6931b306df53408e1c97e8a66b1d8 /client | |
parent | 4c1f2b12ae91484730c00a679b3097f97f7877f9 (diff) | |
parent | 68297e3ece7383a79406840a406fecc573b0ac66 (diff) | |
download | mariadb-git-aa29549050f97108dcaecf49be65b8df52407f1b.tar.gz |
upmerge 51590
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.cc | 7 |
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; /* |