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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user