mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
cleanup: use MYF() for mysys flags
This commit is contained in:
@ -1779,7 +1779,7 @@ bool Table_triggers_list::drop_all_triggers(THD *thd, char *db, char *name)
|
||||
DBUG_ENTER("drop_all_triggers");
|
||||
|
||||
bzero(&table, sizeof(table));
|
||||
init_sql_alloc(&table.mem_root, 8192, 0, 0);
|
||||
init_sql_alloc(&table.mem_root, 8192, 0, MYF(0));
|
||||
|
||||
if (Table_triggers_list::check_n_load(thd, db, name, &table, 1))
|
||||
{
|
||||
@ -1999,7 +1999,7 @@ bool Table_triggers_list::change_table_name(THD *thd, const char *db,
|
||||
DBUG_ENTER("change_table_name");
|
||||
|
||||
bzero(&table, sizeof(table));
|
||||
init_sql_alloc(&table.mem_root, 8192, 0, 0);
|
||||
init_sql_alloc(&table.mem_root, 8192, 0, MYF(0));
|
||||
|
||||
/*
|
||||
This method interfaces the mysql server code protected by
|
||||
|
Reference in New Issue
Block a user