mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Tag the sql/log.h
family with ATTRIBUTE_FORMAT
Let GCC `-Wformat` check formats sent to these users of `my_vsnprintf_ex` users (heh)
This commit is contained in:
committed by
Sergei Golubchik
parent
21dfef474c
commit
2392bd02d8
@@ -932,7 +932,7 @@ int mariadb_fix_view(THD *thd, TABLE_LIST *view, bool wrong_checksum,
|
||||
view->db.str, view->table_name.str);
|
||||
DBUG_RETURN(HA_ADMIN_INTERNAL_ERROR);
|
||||
}
|
||||
sql_print_information("View %`s.%`s: the version is set to %llu%s%s",
|
||||
sql_print_information("View %sQ.%sQ: the version is set to %llu%s%s",
|
||||
view->db.str, view->table_name.str,
|
||||
view->mariadb_version,
|
||||
(wrong_checksum ? ", checksum corrected" : ""),
|
||||
|
Reference in New Issue
Block a user