Commit fafdac33 authored by Sergei Golubchik's avatar Sergei Golubchik

Merge branch 'merge/merge-xtradb-5.5' into 5.5

parents 2d52d3c1 85a5e58d
......@@ -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,
......
......@@ -64,10 +64,10 @@ component, i.e. we show M.N.P as M.N */
(INNODB_VERSION_MAJOR << 8 | INNODB_VERSION_MINOR)
#ifndef PERCONA_INNODB_VERSION
#define PERCONA_INNODB_VERSION 38.9
#define PERCONA_INNODB_VERSION 38.10
#endif
#define INNODB_VERSION_STR "5.5.55-MariaDB-" IB_TO_STR(PERCONA_INNODB_VERSION)
#define INNODB_VERSION_STR "5.5.58-MariaDB-" IB_TO_STR(PERCONA_INNODB_VERSION)
#define REFMAN "http://dev.mysql.com/doc/refman/" \
IB_TO_STR(MYSQL_MAJOR_VERSION) "." \
......
......@@ -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);
}
/*********************************************************************//**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment