summaryrefslogtreecommitdiff
path: root/extra/mariabackup/backup_copy.h
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mariabackup/backup_copy.h')
-rw-r--r--extra/mariabackup/backup_copy.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/mariabackup/backup_copy.h b/extra/mariabackup/backup_copy.h
index 62b2b1bc232..858182001ce 100644
--- a/extra/mariabackup/backup_copy.h
+++ b/extra/mariabackup/backup_copy.h
@@ -32,6 +32,13 @@ copy_file(ds_ctxt_t *datasink,
const char *dst_file_path,
uint thread_n);
+/************************************************************************
+Check to see if a file exists.
+Takes name of the file to check.
+@return true if file exists. */
+bool
+file_exists(const char *filename);
+
/** Start --backup */
bool backup_start(CorruptedPages &corrupted_pages);
/** Release resources after backup_start() */