mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Tag push_warning_printf
with ATTRIBUTE_FORMAT
* Let GCC `-Wformat` check formats sent to these `my_vsnprintf_ex` users * Migrate them from the old extension specifiers to the new `-Wformat`-compatible suffixes
This commit is contained in:
committed by
Sergei Golubchik
parent
2047483417
commit
d5ba6f71b9
@@ -1884,7 +1884,7 @@ bool Sql_cmd_delete::prepare_inner(THD *thd)
|
||||
{
|
||||
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
|
||||
WARN_INDEX_HINTS_IGNORED,
|
||||
ER_THD(thd, WARN_INDEX_HINTS_IGNORED));
|
||||
"%s", ER_THD(thd, WARN_INDEX_HINTS_IGNORED));
|
||||
}
|
||||
}
|
||||
if (table_list->vers_conditions.is_set() && table_list->is_view_or_derived())
|
||||
|
Reference in New Issue
Block a user