Skip to content

Commit c23e0fe

Browse files
grooverdansvoj
authored andcommitted
whitespace - fix indenting after commit 7450cb7
This caused gcc-6.3.1 errors:7450cb7f6 mariadb-server/sql/sql_base.cc: In function ‘bool fix_all_session_vcol_exprs(THD*, TABLE_LIST*)’: mariadb-server/sql/sql_base.cc:4821:7: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (Field **df= t->default_field; df && *df; df++) ^~~ mariadb-server/sql/sql_base.cc:4826:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ for (Virtual_column_info **cc= t->check_constraints; cc && *cc; cc++) ^~~ It was obvious from 7450cb7 that the indenting should of been removed Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
1 parent 6cf29ab commit c23e0fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/sql_base.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4823,9 +4823,9 @@ static bool fix_all_session_vcol_exprs(THD *thd, TABLE_LIST *tables)
48234823
fix_session_vcol_expr(thd, (*df)->default_value))
48244824
goto err;
48254825

4826-
for (Virtual_column_info **cc= t->check_constraints; cc && *cc; cc++)
4827-
if (fix_session_vcol_expr(thd, (*cc)))
4828-
goto err;
4826+
for (Virtual_column_info **cc= t->check_constraints; cc && *cc; cc++)
4827+
if (fix_session_vcol_expr(thd, (*cc)))
4828+
goto err;
48294829

48304830
thd->security_ctx= save_security_ctx;
48314831
}

0 commit comments

Comments
 (0)