mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
flags should be sent as second arg to my_error
This commit is contained in:
@@ -1128,9 +1128,9 @@ void handler::print_error(int error, myf errflag)
|
||||
{
|
||||
const char* engine= ha_get_storage_engine(table->db_type);
|
||||
if (temporary)
|
||||
my_error(ER_GET_TEMPORARY_ERRMSG,error,msg,engine);
|
||||
my_error(ER_GET_TEMPORARY_ERRMSG,MYF(0),error,msg,engine);
|
||||
else
|
||||
my_error(ER_GET_ERRMSG,error,msg,engine);
|
||||
my_error(ER_GET_ERRMSG,MYF(0),error,msg,engine);
|
||||
}
|
||||
else
|
||||
my_error(ER_GET_ERRNO,errflag,error);
|
||||
|
||||
Reference in New Issue
Block a user