diff options
Diffstat (limited to 'storage/xtradb/include/log0online.h')
-rw-r--r-- | storage/xtradb/include/log0online.h | 6 |
1 files changed, 5 insertions, 1 deletions
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, |