summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2019-04-19 13:15:46 +0300
committerMonty <monty@mariadb.org>2019-04-19 13:17:14 +0300
commita024649081412c58039b19998a26937ade2796f8 (patch)
treeb6d7c0902a81d8efc5f4f2a9b9166e14ccc13325 /extra
parent4233b28489826ffeebcc828aa6eb171d6f57ccdb (diff)
downloadmariadb-git-a024649081412c58039b19998a26937ade2796f8.tar.gz
Fixed compiler warnings form gcc 7.3.1
Diffstat (limited to 'extra')
-rw-r--r--extra/mariabackup/xtrabackup.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc
index 35b69beea94..4dff907e3d0 100644
--- a/extra/mariabackup/xtrabackup.cc
+++ b/extra/mariabackup/xtrabackup.cc
@@ -5142,7 +5142,7 @@ xb_process_datadir(
handle_datadir_entry_func_t func) /*!<in: callback */
{
ulint ret;
- char dbpath[OS_FILE_MAX_PATH+1];
+ char dbpath[OS_FILE_MAX_PATH+2];
os_file_dir_t dir;
os_file_dir_t dbdir;
os_file_stat_t dbinfo;