diff options
-rw-r--r-- | extra/mariabackup/xtrabackup.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc index d88833d37ff..ff169b18bfc 100644 --- a/extra/mariabackup/xtrabackup.cc +++ b/extra/mariabackup/xtrabackup.cc @@ -4211,10 +4211,8 @@ private: // too, use separate mysql connection per thread here DBUG_MARIABACKUP_EVENT("before_copy", node->space->name); /* copy the datafile */ - if(xtrabackup_copy_datafile(node, thread_num)) { - msg(thread_num, "mariabackup: Error: failed to copy datafile."); - exit(EXIT_FAILURE); - } + if(xtrabackup_copy_datafile(node, thread_num)) + die("mariabackup: Error: failed to copy datafile."); // TODO: this came from the old code, where it was not thread-safe // too, use separate mysql connection per thread here DBUG_MARIABACKUP_EVENT("after_copy", node->space->name); |