Skip to content

Commit

Permalink
MDEV-29753 fixup: Silence bogus GCC -Og -Wmaybe-uninitialized
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Oct 18, 2022
1 parent 64f822c commit d6707ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/table.cc
Expand Up @@ -8170,7 +8170,7 @@ int TABLE::update_virtual_field(Field *vf, bool ignore_warnings)
Counting_error_handler count_errors;
Suppress_warnings_error_handler warning_handler;
in_use->push_internal_handler(&count_errors);
bool abort_on_warning;
bool abort_on_warning= ignore_warnings;
if (ignore_warnings)
{
abort_on_warning= in_use->abort_on_warning;
Expand Down

0 comments on commit d6707ab

Please sign in to comment.