MCPcopy Create free account
hub / github.com/MariaDB/server / push_warning_vprintf

Function push_warning_vprintf

sql/sql_error.cc:805–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803*/
804
805void push_warning_vprintf(THD *thd, Sql_condition::enum_warning_level level,
806 uint code, const char *format, va_list args)
807{
808 char warning[MYSQL_ERRMSG_SIZE];
809
810 DBUG_ASSERT(code != 0);
811 DBUG_ASSERT(format != NULL);
812
813 my_vsnprintf_ex(&my_charset_utf8mb3_general_ci, warning,
814 sizeof(warning), format, args);
815 push_warning(thd, level, code, warning);
816}
817
818
819/*

Callers 2

push_warning_printfFunction · 0.85
push_warning_safeFunction · 0.85

Calls 2

my_vsnprintf_exFunction · 0.85
push_warningFunction · 0.85

Tested by

no test coverage detected