Comment 9 for bug 1641612

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote : Re: New compilation warnings with GCC 6 (-Wshift-negative-value, -Wdeprecated-declarations, -Wnonnull-compare, -Wc+11-compat)

/home/laurynas/mysql-server/sql/sql_update.cc: In function 'bool mysql_update(THD*, List<Item>&, List<Item>&, ha_rows, enum_duplicates, ha_rows*, ha_rows*)':
/home/laurynas/mysql-server/sql/sql_update.cc:814:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       if (fill_record_n_invoke_before_triggers(thd, fields, values,
       ^~
/home/laurynas/mysql-server/sql/sql_update.cc:819:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         found++;
         ^~~~~