Change the error code prefix from ORA to OBE in ob oracle mode

This commit is contained in:
obdev
2024-07-23 10:46:45 +00:00
committed by ob-robot
parent a47cff45c8
commit c82c2fbef7
39 changed files with 9583 additions and 2550 deletions

View File

@ -177,10 +177,10 @@ public:
constexpr int OB_MAX_SAME_ERROR_COUNT = 10;
constexpr int ORACLE_SPECIAL_ERROR_CODE = 600;
constexpr int ORACLE_MAX_ERROR_CODE = 65535;
constexpr int ORACLE_MSG_PREFIX = 11; // strlen("ORA-00000: ")
constexpr int ORACLE_MSG_PREFIX = 11; // strlen("OBE-00000: ")
constexpr float OB_ERROR_VERSION = 1.0;
static const char* facility_str[NONE] = {"ORA", "PLS", "MY"};
static const char* facility_str[NONE] = {"OBE", "PLS", "MY"};
class ObErrorInfoMgr {
public: