mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +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
@@ -320,7 +320,7 @@ static inline int open_stat_table_for_ddl(THD *thd, TABLE_LIST *table,
|
||||
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
|
||||
ER_CHECK_NO_SUCH_TABLE,
|
||||
"Got error %d when trying to open statistics "
|
||||
"table %`s for updating statistics",
|
||||
"table %sQ for updating statistics",
|
||||
error_handler.got_error(), stat_table_name->str);
|
||||
}
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user