mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@@ -2494,7 +2494,7 @@ static int find_uniq_filename(char *name, ulong min_log_number_to_use,
|
||||
char buff[FN_REFLEN], ext_buf[FN_REFLEN];
|
||||
struct st_my_dir *dir_info;
|
||||
struct fileinfo *file_info;
|
||||
ulong max_found, next, UNINIT_VAR(number);
|
||||
ulong max_found= 0, next= 0, number= 0;
|
||||
size_t buf_length, length;
|
||||
char *start, *end;
|
||||
int error= 0;
|
||||
@@ -2530,7 +2530,7 @@ static int find_uniq_filename(char *name, ulong min_log_number_to_use,
|
||||
if (strncmp(file_info->name, start, length) == 0 &&
|
||||
test_if_number(file_info->name+length, &number,0))
|
||||
{
|
||||
set_if_bigger(max_found,(ulong) number);
|
||||
set_if_bigger(max_found, number);
|
||||
}
|
||||
}
|
||||
my_dirend(dir_info);
|
||||
|
Reference in New Issue
Block a user