flags should be sent as second arg to my_error

parent 4d7edeff
...@@ -1128,9 +1128,9 @@ void handler::print_error(int error, myf errflag) ...@@ -1128,9 +1128,9 @@ void handler::print_error(int error, myf errflag)
{ {
const char* engine= ha_get_storage_engine(table->db_type); const char* engine= ha_get_storage_engine(table->db_type);
if (temporary) if (temporary)
my_error(ER_GET_TEMPORARY_ERRMSG,error,msg,engine); my_error(ER_GET_TEMPORARY_ERRMSG,MYF(0),error,msg,engine);
else else
my_error(ER_GET_ERRMSG,error,msg,engine); my_error(ER_GET_ERRMSG,MYF(0),error,msg,engine);
} }
else else
my_error(ER_GET_ERRNO,errflag,error); my_error(ER_GET_ERRNO,errflag,error);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment