fix merge bug

This commit is contained in:
gni@dev3-221.dev.cn.tlan 2007-08-08 19:23:12 +08:00
parent 8b2a5f66f1
commit 5096a9d274

View File

@ -246,6 +246,7 @@ static int ndb_to_mysql_error(const NdbError *ndberr)
- Used by replication to see if the error was temporary
*/
if (ndberr->status == NdbError::TemporaryError)
push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
ER_GET_TEMPORARY_ERRMSG, ER(ER_GET_TEMPORARY_ERRMSG),
ndberr->code, ndberr->message, "NDB");
else