1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Extract some of #3360 fixes to 10.5.x

That PR uncovered countless issues on `my_snprintf` uses.
This commit backports a squashed subset of their fixes.
This commit is contained in:
ParadoxV5
2024-11-14 17:42:43 -07:00
committed by Daniel Black
parent b414eca98d
commit cf2d49ddcf
24 changed files with 102 additions and 101 deletions

View File

@ -1838,10 +1838,8 @@ bool add_table_for_trigger(THD *thd,
{
if (if_exists)
{
push_warning_printf(thd,
Sql_condition::WARN_LEVEL_NOTE,
ER_TRG_DOES_NOT_EXIST,
ER_THD(thd, ER_TRG_DOES_NOT_EXIST));
push_warning(thd, Sql_condition::WARN_LEVEL_NOTE,
ER_TRG_DOES_NOT_EXIST, ER_THD(thd, ER_TRG_DOES_NOT_EXIST));
*table= NULL;