flags should be sent as second arg to my_error
sql/handler.cc: Added the flag argument to my_error
This commit is contained in:
parent
c127a6be43
commit
485caee544
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user