[plugin] placeholder of error num and virtual table
This commit is contained in:
parent
2d8317fdbb
commit
f0a728b62a
@ -15728,6 +15728,7 @@ def_table_schema(**gen_iterate_virtual_table_def(
|
||||
# 12512: __all_virtual_tablet_mds_info
|
||||
# 12513: __all_virtual_cs_replica_tablet_stats
|
||||
# 12514: __all_virtual_ddl_diagnose_info
|
||||
# 12515: __all_virtual_plugin_info
|
||||
|
||||
# 余留位置(此行之前占位)
|
||||
# 本区域占位建议:采用真实表名进行占位
|
||||
@ -39969,6 +39970,8 @@ def_table_schema(
|
||||
# 21632: V$OB_STANDBY_LOG_TRANSPORT_STAT
|
||||
# 21633: DBA_OB_CS_REPLICA_STATS
|
||||
# 21634: CDB_OB_CS_REPLICA_STATS
|
||||
# 21635: DBA_OB_PLUGINS
|
||||
# 21636: CDB_OB_PLUGINS
|
||||
|
||||
# 余留位置(此行之前占位)
|
||||
# 本区域占位建议:采用真实视图名进行占位
|
||||
|
File diff suppressed because one or more lines are too long
@ -2828,6 +2828,10 @@ DEFINE_ERROR_DEP(OB_JNI_JAVA_OPTS_NOT_FOUND_ERROR, -11072, -1, "HY000", "java op
|
||||
DEFINE_ERROR_DEP(OB_JNI_CONNECTOR_PATH_NOT_FOUND_ERROR, -11073, -1, "HY000", "connector path could not be found");
|
||||
DEFINE_ERROR_DEP(OB_JNI_NOT_ENABLE_JAVA_ENV_ERROR, -11074, -1, "HY000", "java env was not enabled");
|
||||
DEFINE_ERROR_EXT(OB_JNI_FORCE_CLOSE_JAVA_ENV_ERROR, -11075, -1, "HY000", "Forcefully close java env error", "Forcefully close java env with error: %.*s");
|
||||
DEFINE_ERROR(OB_PLUGIN_VERSION_INCOMPATIBLE, -11076, -1, "HY000", "The plugin's version is incompatible with current server");
|
||||
DEFINE_ERROR(OB_PLUGIN_DLOPEN_FAILED, -11077, -1, "HY000", "Failed to open library");
|
||||
DEFINE_ERROR(OB_PLUGIN_ERROR, -11078, -1, "HY000", "Plugin internal error");
|
||||
|
||||
// 余留位置
|
||||
////////////////////////////////////////////////////////////////
|
||||
// SQL扩展区段1:[-11000, -12000)
|
||||
|
@ -1954,6 +1954,9 @@ constexpr int OB_JNI_CREATE_JVM_ERROR = -11069;
|
||||
constexpr int OB_JNI_DESTORY_JVM_ERROR = -11070;
|
||||
constexpr int OB_JNI_PARAMS_ERROR = -11071;
|
||||
constexpr int OB_JNI_FORCE_CLOSE_JAVA_ENV_ERROR = -11075;
|
||||
constexpr int OB_PLUGIN_VERSION_INCOMPATIBLE = -11076;
|
||||
constexpr int OB_PLUGIN_DLOPEN_FAILED = -11077;
|
||||
constexpr int OB_PLUGIN_ERROR = -11078;
|
||||
constexpr int OB_SP_RAISE_APPLICATION_ERROR = -20000;
|
||||
constexpr int OB_SP_RAISE_APPLICATION_ERROR_NUM = -21000;
|
||||
constexpr int OB_CLOB_ONLY_SUPPORT_WITH_MULTIBYTE_FUN = -22998;
|
||||
@ -4346,6 +4349,9 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_JNI_CONNECTOR_PATH_NOT_FOUND_ERROR__USER_ERROR_MSG "connector path could not be found"
|
||||
#define OB_JNI_NOT_ENABLE_JAVA_ENV_ERROR__USER_ERROR_MSG "java env was not enabled"
|
||||
#define OB_JNI_FORCE_CLOSE_JAVA_ENV_ERROR__USER_ERROR_MSG "Forcefully close java env with error: %.*s"
|
||||
#define OB_PLUGIN_VERSION_INCOMPATIBLE__USER_ERROR_MSG "The plugin's version is incompatible with current server"
|
||||
#define OB_PLUGIN_DLOPEN_FAILED__USER_ERROR_MSG "Failed to open library"
|
||||
#define OB_PLUGIN_ERROR__USER_ERROR_MSG "Plugin internal error"
|
||||
#define OB_SP_RAISE_APPLICATION_ERROR__USER_ERROR_MSG "%.*s"
|
||||
#define OB_SP_RAISE_APPLICATION_ERROR_NUM__USER_ERROR_MSG "error number argument to raise_application_error of '%d' is out of range"
|
||||
#define OB_CLOB_ONLY_SUPPORT_WITH_MULTIBYTE_FUN__USER_ERROR_MSG "CLOB or NCLOB in multibyte character set not supported"
|
||||
@ -9119,6 +9125,12 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_JNI_NOT_ENABLE_JAVA_ENV_ERROR__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -11074, java env was not enabled"
|
||||
#define OB_JNI_FORCE_CLOSE_JAVA_ENV_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -11075, Forcefully close java env with error: %.*s"
|
||||
#define OB_JNI_FORCE_CLOSE_JAVA_ENV_ERROR__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -11075, Forcefully close java env with error: %.*s"
|
||||
#define OB_PLUGIN_VERSION_INCOMPATIBLE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -11076, The plugin's version is incompatible with current server"
|
||||
#define OB_PLUGIN_VERSION_INCOMPATIBLE__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -11076, The plugin's version is incompatible with current server"
|
||||
#define OB_PLUGIN_DLOPEN_FAILED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -11077, Failed to open library"
|
||||
#define OB_PLUGIN_DLOPEN_FAILED__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -11077, Failed to open library"
|
||||
#define OB_PLUGIN_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -11078, Plugin internal error"
|
||||
#define OB_PLUGIN_ERROR__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -11078, Plugin internal error"
|
||||
#define OB_SP_RAISE_APPLICATION_ERROR__ORA_USER_ERROR_MSG "ORA%06ld: %.*s"
|
||||
#define OB_SP_RAISE_APPLICATION_ERROR__OBE_USER_ERROR_MSG "ORA%06ld: %.*s"
|
||||
#define OB_SP_RAISE_APPLICATION_ERROR_NUM__ORA_USER_ERROR_MSG "ORA-21000: error number argument to raise_application_error of '%d' is out of range"
|
||||
@ -9138,7 +9150,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_INVALID_DATE_MSG_FMT_V2__ORA_USER_ERROR_MSG "ORA-01861: Incorrect datetime value for column '%.*s' at row %ld"
|
||||
#define OB_ERR_INVALID_DATE_MSG_FMT_V2__OBE_USER_ERROR_MSG "OBE-01861: Incorrect datetime value for column '%.*s' at row %ld"
|
||||
|
||||
extern int g_all_ob_errnos[2388];
|
||||
extern int g_all_ob_errnos[2391];
|
||||
|
||||
const char *ob_error_name(const int oberr);
|
||||
const char* ob_error_cause(const int oberr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user