From 85a5e58d71d3e641b6d6911148a1a22bff779293 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 17 Jan 2018 17:28:33 +0100 Subject: 5.5.58-38.10 --- storage/xtradb/include/log0online.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'storage/xtradb/include/log0online.h') diff --git a/storage/xtradb/include/log0online.h b/storage/xtradb/include/log0online.h index 2462263dec2..ee06ec1951e 100644 --- a/storage/xtradb/include/log0online.h +++ b/storage/xtradb/include/log0online.h @@ -141,7 +141,11 @@ log_online_bitmap_iterator_next( /** Struct for single bitmap file information */ struct log_online_bitmap_file_struct { - char name[FN_REFLEN]; /*!< Name with full path */ + /** Name with full path + 61 is a nice magic constant for the extra space needed for the sprintf + template in the cc file + */ + char name[FN_REFLEN+61]; /*!< Name with full path */ os_file_t file; /*!< Handle to opened file */ ib_uint64_t size; /*!< Size of the file */ ib_uint64_t offset; /*!< Offset of the next read, -- cgit v1.2.1