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:
unknown 2004-05-17 09:43:51 +02:00
parent c127a6be43
commit 485caee544

View File

@ -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);