fix inaccurate error message of -4007 under oracle mode

This commit is contained in:
dimstars
2022-12-19 14:11:28 +00:00
committed by ob-robot
parent a6e31de130
commit cc7209f86d
2 changed files with 2 additions and 2 deletions

View File

@ -559,7 +559,7 @@ int ObSqlTransControl::stmt_sanity_check_(ObSQLSessionInfo *session,
ret = OB_NOT_SUPPORTED;
TRANS_LOG(ERROR, "statement of weak consistency is not allowed under SERIALIZABLE isolation",
KR(ret), "trans_id", session->get_tx_id(), "consistency_level", cl);
LOG_USER_ERROR(OB_NOT_SUPPORTED, "weak consistency under SERIALIZABLE isolation level");
LOG_USER_ERROR(OB_NOT_SUPPORTED, "weak consistency under SERIALIZABLE and REPEATABLE-READ isolation level");
}
}
return ret;