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/log/log0online.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'storage/xtradb/log') diff --git a/storage/xtradb/log/log0online.c b/storage/xtradb/log/log0online.c index 45739dffa5d..0354ef29ea8 100644 --- a/storage/xtradb/log/log0online.c +++ b/storage/xtradb/log/log0online.c @@ -501,9 +501,9 @@ log_online_make_bitmap_name( /*=========================*/ ib_uint64_t start_lsn) /*!< in: the start LSN name part */ { - ut_snprintf(log_bmp_sys->out.name, FN_REFLEN, bmp_file_name_template, - log_bmp_sys->bmp_file_home, bmp_file_name_stem, - log_bmp_sys->out_seq_num, start_lsn); + ut_snprintf(log_bmp_sys->out.name, sizeof(log_bmp_sys->out.name), + bmp_file_name_template, log_bmp_sys->bmp_file_home, + bmp_file_name_stem, log_bmp_sys->out_seq_num, start_lsn); } /*********************************************************************//** -- cgit v1.2.1