mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Post review coding style fixes.
This commit is contained in:
@ -2562,7 +2562,8 @@ static double ror_scan_selectivity(const ROR_INTERSECT_INFO *info,
|
||||
char *key_ptr= (char*) key_val;
|
||||
SEL_ARG *sel_arg, *tuple_arg= NULL;
|
||||
bool cur_covered;
|
||||
bool prev_covered= (bitmap_is_set(&info->covered_fields, key_part->fieldnr))? 1:0;
|
||||
bool prev_covered= (bitmap_is_set(&info->covered_fields,
|
||||
key_part->fieldnr))? 1 : 0;
|
||||
key_range min_range;
|
||||
key_range max_range;
|
||||
min_range.key= (byte*) key_val;
|
||||
@ -2576,7 +2577,8 @@ static double ror_scan_selectivity(const ROR_INTERSECT_INFO *info,
|
||||
i++, sel_arg= sel_arg->next_key_part)
|
||||
{
|
||||
DBUG_PRINT("info",("sel_arg step"));
|
||||
cur_covered= (bitmap_is_set(&info->covered_fields, (key_part + i)->fieldnr))? 1:0;
|
||||
cur_covered= (bitmap_is_set(&info->covered_fields,
|
||||
(key_part + i)->fieldnr))? 1 : 0;
|
||||
if (cur_covered != prev_covered)
|
||||
{
|
||||
/* create (part1val, ..., part{n-1}val) tuple. */
|
||||
|
Reference in New Issue
Block a user