mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-4203 : fix maria SE repair functions (wrong operator precedence)
This commit is contained in:
parent
b3ad9de0c0
commit
65831bca6f
1 changed files with 4 additions and 4 deletions
|
@ -3960,8 +3960,8 @@ int maria_repair_by_sort(HA_CHECK *param, register MARIA_HA *info,
|
|||
|
||||
if (rep_quick && (param->testflag & T_FORCE_UNIQUENESS))
|
||||
{
|
||||
my_off_t skr= (share->state.state.data_file_length +
|
||||
(sort_info.org_data_file_type == COMPRESSED_RECORD) ?
|
||||
my_off_t skr= share->state.state.data_file_length +
|
||||
((sort_info.org_data_file_type == COMPRESSED_RECORD) ?
|
||||
MEMMAP_EXTRA_MARGIN : 0);
|
||||
#ifdef USE_RELOC
|
||||
if (sort_info.org_data_file_type == STATIC_RECORD &&
|
||||
|
@ -4482,8 +4482,8 @@ int maria_repair_parallel(HA_CHECK *param, register MARIA_HA *info,
|
|||
|
||||
if (rep_quick && (param->testflag & T_FORCE_UNIQUENESS))
|
||||
{
|
||||
my_off_t skr= (share->state.state.data_file_length +
|
||||
(sort_info.org_data_file_type == COMPRESSED_RECORD) ?
|
||||
my_off_t skr= share->state.state.data_file_length +
|
||||
((sort_info.org_data_file_type == COMPRESSED_RECORD) ?
|
||||
MEMMAP_EXTRA_MARGIN : 0);
|
||||
#ifdef USE_RELOC
|
||||
if (sort_info.org_data_file_type == STATIC_RECORD &&
|
||||
|
|
Loading…
Reference in a new issue