1
0
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:
magnus@neptunus.(none)
2004-05-17 09:43:51 +02:00
parent 4d7edeff8e
commit ab78e4f4bc

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