Commit 485caee5 authored by unknown's avatar unknown

flags should be sent as second arg to my_error


sql/handler.cc:
  Added the flag argument to my_error
parent c127a6be
......@@ -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);
......
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