mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Whitespace correction to avoid compile warning
Introduced2f63e2e2a
Compiler error was: sql/log_event.cc: In function ‘size_t log_event_print_value(IO_CACHE*, const uchar*, uint, uint, char*, size_t)’: sql/log_event.cc:2897:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (!ptr) ^~ sql/log_event.cc:2900:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ int32 i32= uint2korr(ptr); ^~~~~ Added in950abd526
Error was: sql/item_sum.cc:3478:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if ((!args[i]->fixed && ^~ /sql/item_sum.cc:3482:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ with_subselect|= args[i]->with_subselect; ^~~~~~~~~~~~~~ Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
This commit is contained in:
parent
2d948ebd19
commit
8c3b98fe5a
2 changed files with 3 additions and 3 deletions
|
@ -3479,7 +3479,7 @@ Item_func_group_concat::fix_fields(THD *thd, Item **ref)
|
|||
args[i]->fix_fields(thd, args + i)) ||
|
||||
args[i]->check_cols(1))
|
||||
return TRUE;
|
||||
with_subselect|= args[i]->with_subselect;
|
||||
with_subselect|= args[i]->with_subselect;
|
||||
}
|
||||
|
||||
/* skip charset aggregation for order columns */
|
||||
|
|
|
@ -2894,8 +2894,8 @@ log_event_print_value(IO_CACHE *file, const uchar *ptr,
|
|||
case 2:
|
||||
{
|
||||
strmake(typestr, "ENUM(2 bytes)", typestr_length);
|
||||
if (!ptr)
|
||||
goto return_null;
|
||||
if (!ptr)
|
||||
goto return_null;
|
||||
|
||||
int32 i32= uint2korr(ptr);
|
||||
my_b_printf(file, "%d", i32);
|
||||
|
|
Loading…
Reference in a new issue