mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
mysys: rename ME_xxx flags to match plugin api
This commit is contained in:
@ -1514,7 +1514,7 @@ static int mysql_test_select(Prepared_statement *stmt,
|
||||
|
||||
if (!lex->result && !(lex->result= new (stmt->mem_root) select_send(thd)))
|
||||
{
|
||||
my_error(ER_OUTOFMEMORY, MYF(ME_FATALERROR),
|
||||
my_error(ER_OUTOFMEMORY, MYF(ME_FATAL),
|
||||
static_cast<int>(sizeof(select_send)));
|
||||
goto error;
|
||||
}
|
||||
@ -2085,7 +2085,7 @@ static bool mysql_test_multidelete(Prepared_statement *stmt,
|
||||
if (add_item_to_list(thd, new (thd->mem_root)
|
||||
Item_null(thd)))
|
||||
{
|
||||
my_error(ER_OUTOFMEMORY, MYF(ME_FATALERROR), 0);
|
||||
my_error(ER_OUTOFMEMORY, MYF(ME_FATAL), 0);
|
||||
goto error;
|
||||
}
|
||||
|
||||
@ -4718,7 +4718,7 @@ bool Prepared_statement::execute(String *expanded_query, bool open_cursor)
|
||||
alloc_query(thd, (char*) expanded_query->ptr(),
|
||||
expanded_query->length()))
|
||||
{
|
||||
my_error(ER_OUTOFMEMORY, MYF(ME_FATALERROR), expanded_query->length());
|
||||
my_error(ER_OUTOFMEMORY, MYF(ME_FATAL), expanded_query->length());
|
||||
goto error;
|
||||
}
|
||||
/*
|
||||
|
Reference in New Issue
Block a user