ob_errno.h 381.0 KB
Newer Older
O
oceanbase-admin 已提交
1 2 3 4 5 6 7 8 9 10 11 12
/**
 * Copyright (c) 2021 OceanBase
 * OceanBase CE is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */

13 14
// DO NOT EDIT. This file is automatically generated from `ob_errno.def'.

O
oceanbase-admin 已提交
15 16 17 18 19 20 21 22
#ifndef OCEANBASE_LIB_OB_ERRNO_H_
#define OCEANBASE_LIB_OB_ERRNO_H_
#include <stdint.h>
#include "share/mysql_errno.h"
#include "lib/ob_errno.h"

namespace oceanbase {
namespace common {
23

O
oceanbase-admin 已提交
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
constexpr int OB_LAST_ERROR_CODE = -38105;
constexpr int OB_ERR_SQL_START = -5000;
constexpr int OB_ERR_SQL_END = -5999;
constexpr int OB_PACKET_NOT_SENT = -4011;
constexpr int OB_PARTIAL_FAILED = -4025;
constexpr int OB_SCHEMA_ERROR = -4029;
constexpr int OB_TENANT_OUT_OF_MEM = -4030;
constexpr int OB_UNKNOWN_OBJ = -4031;
constexpr int OB_NO_MONITOR_DATA = -4032;
constexpr int OB_TOO_MANY_SSTABLE = -4037;
constexpr int OB_KILLED_BY_THROTTLING = -4039;
constexpr int OB_USER_NOT_EXIST = -4042;
constexpr int OB_PASSWORD_WRONG = -4043;
constexpr int OB_SKEY_VERSION_WRONG = -4044;
constexpr int OB_NOT_REGISTERED = -4048;
constexpr int OB_WAITQUEUE_TIMEOUT = -4049;
constexpr int OB_ALREADY_REGISTERED = -4051;
constexpr int OB_NO_CS_SELECTED = -4053;
constexpr int OB_NO_TABLETS_CREATED = -4054;
constexpr int OB_DECIMAL_UNLEGAL_ERROR = -4058;
constexpr int OB_OBJ_DIVIDE_ERROR = -4060;
constexpr int OB_NOT_A_DECIMAL = -4061;
constexpr int OB_DECIMAL_PRECISION_NOT_EQUAL = -4062;
constexpr int OB_SESSION_KILLED = -4064;
constexpr int OB_LOG_NOT_SYNC = -4065;
constexpr int OB_SESSION_NOT_FOUND = -4067;
constexpr int OB_INVALID_LOG = -4068;
constexpr int OB_ALREADY_DONE = -4071;
constexpr int OB_LOG_SRC_CHANGED = -4073;
constexpr int OB_LOG_MISSING = -4075;
constexpr int OB_NEED_WAIT = -4076;
constexpr int OB_RESULT_UNKNOWN = -4081;
constexpr int OB_NO_RESULT = -4084;
constexpr int OB_LOG_ID_RANGE_NOT_CONTINUOUS = -4090;
constexpr int OB_TERM_LAGGED = -4097;
constexpr int OB_TERM_NOT_MATCH = -4098;
constexpr int OB_PARTIAL_LOG = -4102;
constexpr int OB_NOT_ENOUGH_STORE = -4106;
constexpr int OB_BLOCK_SWITCHED = -4107;
constexpr int OB_READ_ZERO_LOG = -4110;
constexpr int OB_BLOCK_NEED_FREEZE = -4111;
constexpr int OB_BLOCK_FROZEN = -4112;
constexpr int OB_IN_FATAL_STATE = -4113;
constexpr int OB_UPS_MASTER_EXISTS = -4115;
constexpr int OB_NOT_FREE = -4125;
constexpr int OB_INIT_SQL_CONTEXT_ERROR = -4126;
constexpr int OB_SKIP_INVALID_ROW = -4127;
constexpr int OB_NO_TABLET = -4133;
constexpr int OB_SNAPSHOT_DISCARDED = -4138;
constexpr int OB_DATA_NOT_UPTODATE = -4139;
constexpr int OB_ROW_MODIFIED = -4142;
constexpr int OB_VERSION_NOT_MATCH = -4143;
constexpr int OB_ENQUEUE_FAILED = -4146;
constexpr int OB_INVALID_CONFIG = -4147;
constexpr int OB_STMT_EXPIRED = -4149;
constexpr int OB_META_TABLE_WITHOUT_USE_TABLE = -4155;
constexpr int OB_DISCARD_PACKET = -4156;
constexpr int OB_POOL_REGISTERED_FAILED = -4159;
constexpr int OB_POOL_UNREGISTERED_FAILED = -4160;
constexpr int OB_LEASE_NOT_ENOUGH = -4162;
constexpr int OB_LEASE_NOT_MATCH = -4163;
constexpr int OB_UPS_SWITCH_NOT_HAPPEN = -4164;
constexpr int OB_CACHE_NOT_HIT = -4166;
constexpr int OB_NESTED_LOOP_NOT_SUPPORT = -4167;
constexpr int OB_INDEX_OUT_OF_RANGE = -4172;
constexpr int OB_INT_UNDERFLOW = -4173;
constexpr int OB_CACHE_SHRINK_FAILED = -4176;
constexpr int OB_OLD_SCHEMA_VERSION = -4177;
constexpr int OB_RELEASE_SCHEMA_ERROR = -4178;
constexpr int OB_NO_EMPTY_ENTRY = -4180;
constexpr int OB_BEYOND_THE_RANGE = -4183;
constexpr int OB_CS_OUTOF_DISK_SPACE = -4184;
constexpr int OB_COLUMN_GROUP_NOT_FOUND = -4185;
constexpr int OB_CS_COMPRESS_LIB_ERROR = -4186;
constexpr int OB_SCHEDULER_TASK_CNT_MISMATCH = -4188;
constexpr int OB_INVALID_MACRO_BLOCK_TYPE = -4189;
constexpr int OB_PG_IS_REMOVED = -4191;
constexpr int OB_PACKET_PROCESSED = -4207;
constexpr int OB_LEADER_NOT_EXIST = -4209;
constexpr int OB_PREPARE_MAJOR_FREEZE_FAILED = -4210;
constexpr int OB_COMMIT_MAJOR_FREEZE_FAILED = -4211;
constexpr int OB_ABORT_MAJOR_FREEZE_FAILED = -4212;
constexpr int OB_MAJOR_FREEZE_NOT_FINISHED = -4213;
constexpr int OB_PARTITION_NOT_LEADER = -4214;
constexpr int OB_WAIT_MAJOR_FREEZE_RESPONSE_TIMEOUT = -4215;
constexpr int OB_CURL_ERROR = -4216;
constexpr int OB_MAJOR_FREEZE_NOT_ALLOW = -4217;
constexpr int OB_PREPARE_FREEZE_FAILED = -4218;
constexpr int OB_PARTITION_NOT_EXIST = -4225;
constexpr int OB_ERR_NO_DEFAULT_FOR_FIELD = -4227;
constexpr int OB_ERR_FIELD_SPECIFIED_TWICE = -4228;
constexpr int OB_ERR_TOO_LONG_TABLE_COMMENT = -4229;
constexpr int OB_ERR_TOO_LONG_FIELD_COMMENT = -4230;
constexpr int OB_ERR_TOO_LONG_INDEX_COMMENT = -4231;
constexpr int OB_NOT_FOLLOWER = -4232;
constexpr int OB_OBCONFIG_RETURN_ERROR = -4236;
constexpr int OB_OBCONFIG_APPNAME_MISMATCH = -4237;
constexpr int OB_ERR_VIEW_SELECT_DERIVED = -4238;
constexpr int OB_CANT_MJ_PATH = -4239;
constexpr int OB_ERR_NO_JOIN_ORDER_GENERATED = -4240;
constexpr int OB_ERR_NO_PATH_GENERATED = -4241;
constexpr int OB_ERR_WAIT_REMOTE_SCHEMA_REFRESH = -4242;
constexpr int OB_TIMER_TASK_HAS_SCHEDULED = -4244;
constexpr int OB_TIMER_TASK_HAS_NOT_SCHEDULED = -4245;
constexpr int OB_PARSE_DEBUG_SYNC_ERROR = -4246;
constexpr int OB_UNKNOWN_DEBUG_SYNC_POINT = -4247;
constexpr int OB_ERR_INTERRUPTED = -4248;
constexpr int OB_INVALID_PARTITION = -4251;
constexpr int OB_ERR_TIMEOUT_TRUNCATED = -4252;
constexpr int OB_ERR_TOO_LONG_TENANT_COMMENT = -4253;
constexpr int OB_ERR_NET_PACKET_TOO_LARGE = -4254;
constexpr int OB_TRACE_DESC_NOT_EXIST = -4255;
constexpr int OB_ERR_NO_DEFAULT = -4256;
constexpr int OB_IS_CHANGING_LEADER = -4260;
constexpr int OB_MINOR_FREEZE_NOT_ALLOW = -4263;
constexpr int OB_LOG_OUTOF_DISK_SPACE = -4264;
constexpr int OB_RPC_CONNECT_ERROR = -4265;
constexpr int OB_MINOR_MERGE_NOT_ALLOW = -4266;
constexpr int OB_CACHE_INVALID = -4267;
constexpr int OB_REACH_SERVER_DATA_COPY_IN_CONCURRENCY_LIMIT = -4268;
constexpr int OB_WORKING_PARTITION_EXIST = -4269;
constexpr int OB_WORKING_PARTITION_NOT_EXIST = -4270;
constexpr int OB_LIBEASY_REACH_MEM_LIMIT = -4271;
constexpr int OB_SYNC_WASH_MB_TIMEOUT = -4274;
constexpr int OB_NOT_ALLOW_MIGRATE_IN = -4275;
constexpr int OB_SCHEDULER_TASK_CNT_MISTACH = -4276;
constexpr int OB_MISS_ARGUMENT = -4277;
constexpr int OB_TABLE_IS_DELETED = -4279;
constexpr int OB_VERSION_RANGE_NOT_CONTINUES = -4280;
constexpr int OB_INVALID_IO_BUFFER = -4281;
constexpr int OB_PARTITION_IS_REMOVED = -4282;
constexpr int OB_GTS_NOT_READY = -4283;
constexpr int OB_MAJOR_SSTABLE_NOT_EXIST = -4284;
constexpr int OB_VERSION_RANGE_DISCARDED = -4285;
constexpr int OB_MAJOR_SSTABLE_HAS_MERGED = -4286;
constexpr int OB_MINOR_SSTABLE_RANGE_CROSS = -4287;
constexpr int OB_MEMTABLE_CANNOT_MINOR_MERGE = -4288;
constexpr int OB_TASK_EXIST = -4289;
constexpr int OB_ALLOCATE_DISK_SPACE_FAILED = -4290;
constexpr int OB_CANT_FIND_UDF = -4291;
constexpr int OB_CANT_INITIALIZE_UDF = -4292;
constexpr int OB_UDF_NO_PATHS = -4293;
constexpr int OB_UDF_EXISTS = -4294;
constexpr int OB_CANT_OPEN_LIBRARY = -4295;
constexpr int OB_CANT_FIND_DL_ENTRY = -4296;
constexpr int OB_OBJECT_NAME_EXIST = -4297;
constexpr int OB_OBJECT_NAME_NOT_EXIST = -4298;
constexpr int OB_ERR_DUP_ARGUMENT = -4299;
constexpr int OB_ERR_INVALID_SEQUENCE_NAME = -4300;
constexpr int OB_ERR_DUP_MAXVALUE_SPEC = -4301;
constexpr int OB_ERR_DUP_MINVALUE_SPEC = -4302;
constexpr int OB_ERR_DUP_CYCLE_SPEC = -4303;
constexpr int OB_ERR_DUP_CACHE_SPEC = -4304;
constexpr int OB_ERR_DUP_ORDER_SPEC = -4305;
constexpr int OB_ERR_CONFL_MAXVALUE_SPEC = -4306;
constexpr int OB_ERR_CONFL_MINVALUE_SPEC = -4307;
constexpr int OB_ERR_CONFL_CYCLE_SPEC = -4308;
constexpr int OB_ERR_CONFL_CACHE_SPEC = -4309;
constexpr int OB_ERR_CONFL_ORDER_SPEC = -4310;
constexpr int OB_ERR_ALTER_START_SEQ_NUMBER_NOT_ALLOWED = -4311;
constexpr int OB_ERR_DUP_INCREMENT_BY_SPEC = -4312;
constexpr int OB_ERR_DUP_START_WITH_SPEC = -4313;
constexpr int OB_ERR_REQUIRE_ALTER_SEQ_OPTION = -4314;
constexpr int OB_ERR_SEQ_NOT_ALLOWED_HERE = -4315;
constexpr int OB_ERR_SEQ_NOT_EXIST = -4316;
constexpr int OB_ERR_SEQ_OPTION_MUST_BE_INTEGER = -4317;
constexpr int OB_ERR_SEQ_INCREMENT_CAN_NOT_BE_ZERO = -4318;
constexpr int OB_ERR_SEQ_OPTION_EXCEED_RANGE = -4319;
constexpr int OB_ERR_MINVALUE_LARGER_THAN_MAXVALUE = -4320;
constexpr int OB_ERR_SEQ_INCREMENT_TOO_LARGE = -4321;
constexpr int OB_ERR_START_WITH_LESS_THAN_MINVALUE = -4322;
constexpr int OB_ERR_MINVALUE_EXCEED_CURRVAL = -4323;
constexpr int OB_ERR_START_WITH_EXCEED_MAXVALUE = -4324;
constexpr int OB_ERR_MAXVALUE_EXCEED_CURRVAL = -4325;
constexpr int OB_ERR_SEQ_CACHE_TOO_SMALL = -4326;
constexpr int OB_ERR_SEQ_OPTION_OUT_OF_RANGE = -4327;
constexpr int OB_ERR_SEQ_CACHE_TOO_LARGE = -4328;
constexpr int OB_ERR_SEQ_REQUIRE_MINVALUE = -4329;
constexpr int OB_ERR_SEQ_REQUIRE_MAXVALUE = -4330;
constexpr int OB_ERR_SEQ_NO_LONGER_EXIST = -4331;
constexpr int OB_ERR_SEQ_VALUE_EXCEED_LIMIT = -4332;
constexpr int OB_ERR_DIVISOR_IS_ZERO = -4333;
constexpr int OB_ERR_AES_IV_LENGTH = -4336;
constexpr int OB_STORE_DIR_ERROR = -4337;
constexpr int OB_OPEN_TWICE = -4338;
209
constexpr int OB_RAID_SUPER_BLOCK_NOT_MATCH = -4339;
O
oceanbase-admin 已提交
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381
constexpr int OB_NOT_OPEN = -4340;
constexpr int OB_NOT_IN_SERVICE = -4341;
constexpr int OB_RAID_DISK_NOT_NORMAL = -4342;
constexpr int OB_TENANT_SCHEMA_NOT_FULL = -4343;
constexpr int OB_INVALID_QUERY_TIMESTAMP = -4344;
constexpr int OB_DIR_NOT_EMPTY = -4345;
constexpr int OB_SCHEMA_NOT_UPTODATE = -4346;
constexpr int OB_ROLE_NOT_EXIST = -4347;
constexpr int OB_ROLE_EXIST = -4348;
constexpr int OB_PRIV_DUP = -4349;
constexpr int OB_KEYSTORE_EXIST = -4350;
constexpr int OB_KEYSTORE_NOT_EXIST = -4351;
constexpr int OB_KEYSTORE_WRONG_PASSWORD = -4352;
constexpr int OB_TABLESPACE_EXIST = -4353;
constexpr int OB_TABLESPACE_NOT_EXIST = -4354;
constexpr int OB_TABLESPACE_DELETE_NOT_EMPTY = -4355;
constexpr int OB_FLOAT_PRECISION_OUT_RANGE = -4356;
constexpr int OB_NUMERIC_PRECISION_OUT_RANGE = -4357;
constexpr int OB_NUMERIC_SCALE_OUT_RANGE = -4358;
constexpr int OB_KEYSTORE_NOT_OPEN = -4359;
constexpr int OB_KEYSTORE_OPEN_NO_MASTER_KEY = -4360;
constexpr int OB_SLOG_REACH_MAX_CONCURRENCY = -4361;
constexpr int OB_ERR_NOT_VALID_PASSWORD = -4365;
constexpr int OB_ERR_MUST_CHANGE_PASSWORD = -4366;
constexpr int OB_OVERSIZE_NEED_RETRY = -4367;
constexpr int OB_OBCONFIG_CLUSTER_NOT_EXIST = -4368;
constexpr int OB_ERR_VALUE_LARGER_THAN_ALLOWED = -4374;
constexpr int OB_DISK_ERROR = -4375;
constexpr int OB_UNIMPLEMENTED_FEATURE = -4376;
constexpr int OB_IMPORT_NOT_IN_SERVER = -4505;
constexpr int OB_CONVERT_ERROR = -4507;
constexpr int OB_BYPASS_TIMEOUT = -4510;
constexpr int OB_RS_STATE_NOT_ALLOW = -4512;
constexpr int OB_NO_REPLICA_VALID = -4515;
constexpr int OB_NO_NEED_UPDATE = -4517;
constexpr int OB_CACHE_TIMEOUT = -4518;
constexpr int OB_ITER_STOP = -4519;
constexpr int OB_ZONE_ALREADY_MASTER = -4523;
constexpr int OB_IP_PORT_IS_NOT_SLAVE_ZONE = -4524;
constexpr int OB_ZONE_IS_NOT_SLAVE = -4525;
constexpr int OB_ZONE_IS_NOT_MASTER = -4526;
constexpr int OB_CONFIG_NOT_SYNC = -4527;
constexpr int OB_IP_PORT_IS_NOT_ZONE = -4528;
constexpr int OB_MASTER_ZONE_NOT_EXIST = -4529;
constexpr int OB_ZONE_INFO_NOT_EXIST = -4530;
constexpr int OB_GET_ZONE_MASTER_UPS_FAILED = -4531;
constexpr int OB_MULTIPLE_MASTER_ZONES_EXIST = -4532;
constexpr int OB_INDEXING_ZONE_INVALID = -4533;
constexpr int OB_ROOT_TABLE_RANGE_NOT_EXIST = -4537;
constexpr int OB_ROOT_MIGRATE_CONCURRENCY_FULL = -4538;
constexpr int OB_ROOT_MIGRATE_INFO_NOT_FOUND = -4539;
constexpr int OB_NOT_DATA_LOAD_TABLE = -4540;
constexpr int OB_DATA_LOAD_TABLE_DUPLICATED = -4541;
constexpr int OB_ROOT_TABLE_ID_EXIST = -4542;
constexpr int OB_INDEX_TIMEOUT = -4543;
constexpr int OB_ROOT_NOT_INTEGRATED = -4544;
constexpr int OB_INDEX_INELIGIBLE = -4545;
constexpr int OB_REBALANCE_EXEC_TIMEOUT = -4546;
constexpr int OB_MERGE_NOT_STARTED = -4547;
constexpr int OB_MERGE_ALREADY_STARTED = -4548;
constexpr int OB_ROOTSERVICE_EXIST = -4549;
constexpr int OB_RS_SHUTDOWN = -4550;
constexpr int OB_SERVER_MIGRATE_IN_DENIED = -4551;
constexpr int OB_REBALANCE_TASK_CANT_EXEC = -4552;
constexpr int OB_PARTITION_CNT_REACH_ROOTSERVER_LIMIT = -4553;
constexpr int OB_REBALANCE_TASK_NOT_IN_PROGRESS = -4554;
constexpr int OB_DATA_SOURCE_NOT_EXIST = -4600;
constexpr int OB_DATA_SOURCE_TABLE_NOT_EXIST = -4601;
constexpr int OB_DATA_SOURCE_RANGE_NOT_EXIST = -4602;
constexpr int OB_DATA_SOURCE_DATA_NOT_EXIST = -4603;
constexpr int OB_DATA_SOURCE_SYS_ERROR = -4604;
constexpr int OB_DATA_SOURCE_TIMEOUT = -4605;
constexpr int OB_DATA_SOURCE_CONCURRENCY_FULL = -4606;
constexpr int OB_DATA_SOURCE_WRONG_URI_FORMAT = -4607;
constexpr int OB_SSTABLE_VERSION_UNEQUAL = -4608;
constexpr int OB_UPS_RENEW_LEASE_NOT_ALLOWED = -4609;
constexpr int OB_UPS_COUNT_OVER_LIMIT = -4610;
constexpr int OB_NO_UPS_MAJORITY = -4611;
constexpr int OB_INDEX_COUNT_REACH_THE_LIMIT = -4613;
constexpr int OB_TASK_EXPIRED = -4614;
constexpr int OB_TABLEGROUP_NOT_EMPTY = -4615;
constexpr int OB_INVALID_SERVER_STATUS = -4620;
constexpr int OB_WAIT_ELEC_LEADER_TIMEOUT = -4621;
constexpr int OB_WAIT_ALL_RS_ONLINE_TIMEOUT = -4622;
constexpr int OB_ALL_REPLICAS_ON_MERGE_ZONE = -4623;
constexpr int OB_MACHINE_RESOURCE_NOT_ENOUGH = -4624;
constexpr int OB_NOT_SERVER_CAN_HOLD_SOFTLY = -4625;
constexpr int OB_RESOURCE_POOL_ALREADY_GRANTED = -4626;
constexpr int OB_SERVER_ALREADY_DELETED = -4628;
constexpr int OB_SERVER_NOT_DELETING = -4629;
constexpr int OB_SERVER_NOT_IN_WHITE_LIST = -4630;
constexpr int OB_SERVER_ZONE_NOT_MATCH = -4631;
constexpr int OB_OVER_ZONE_NUM_LIMIT = -4632;
constexpr int OB_ZONE_STATUS_NOT_MATCH = -4633;
constexpr int OB_RESOURCE_UNIT_IS_REFERENCED = -4634;
constexpr int OB_DIFFERENT_PRIMARY_ZONE = -4636;
constexpr int OB_SERVER_NOT_ACTIVE = -4637;
constexpr int OB_RS_NOT_MASTER = -4638;
constexpr int OB_CANDIDATE_LIST_ERROR = -4639;
constexpr int OB_PARTITION_ZONE_DUPLICATED = -4640;
constexpr int OB_ZONE_DUPLICATED = -4641;
constexpr int OB_NOT_ALL_ZONE_ACTIVE = -4642;
constexpr int OB_PRIMARY_ZONE_NOT_IN_ZONE_LIST = -4643;
constexpr int OB_REPLICA_NUM_NOT_MATCH = -4644;
constexpr int OB_ZONE_LIST_POOL_LIST_NOT_MATCH = -4645;
constexpr int OB_INVALID_TENANT_NAME = -4646;
constexpr int OB_EMPTY_RESOURCE_POOL_LIST = -4647;
constexpr int OB_RESOURCE_UNIT_NOT_EXIST = -4648;
constexpr int OB_RESOURCE_UNIT_EXIST = -4649;
constexpr int OB_RESOURCE_POOL_NOT_EXIST = -4650;
constexpr int OB_RESOURCE_POOL_EXIST = -4651;
constexpr int OB_WAIT_LEADER_SWITCH_TIMEOUT = -4652;
constexpr int OB_LOCATION_NOT_EXIST = -4653;
constexpr int OB_LOCATION_LEADER_NOT_EXIST = -4654;
constexpr int OB_ZONE_NOT_ACTIVE = -4655;
constexpr int OB_UNIT_NUM_OVER_SERVER_COUNT = -4656;
constexpr int OB_POOL_SERVER_INTERSECT = -4657;
constexpr int OB_NOT_SINGLE_RESOURCE_POOL = -4658;
constexpr int OB_INVALID_RESOURCE_UNIT = -4659;
constexpr int OB_STOP_SERVER_IN_MULTIPLE_ZONES = -4660;
constexpr int OB_SESSION_ENTRY_EXIST = -4661;
constexpr int OB_GOT_SIGNAL_ABORTING = -4662;
constexpr int OB_SERVER_NOT_ALIVE = -4663;
constexpr int OB_GET_LOCATION_TIME_OUT = -4664;
constexpr int OB_UNIT_IS_MIGRATING = -4665;
constexpr int OB_CLUSTER_NO_MATCH = -4666;
constexpr int OB_CHECK_ZONE_MERGE_ORDER = -4667;
constexpr int OB_ERR_ZONE_NOT_EMPTY = -4668;
constexpr int OB_DIFFERENT_LOCALITY = -4669;
constexpr int OB_EMPTY_LOCALITY = -4670;
constexpr int OB_FULL_REPLICA_NUM_NOT_ENOUGH = -4671;
constexpr int OB_REPLICA_NUM_NOT_ENOUGH = -4672;
constexpr int OB_DATA_SOURCE_NOT_VALID = -4673;
constexpr int OB_RUN_JOB_NOT_SUCCESS = -4674;
constexpr int OB_NO_NEED_REBUILD = -4675;
constexpr int OB_NEED_REMOVE_UNNEED_TABLE = -4676;
constexpr int OB_NO_NEED_MERGE = -4677;
constexpr int OB_CONFLICT_OPTION = -4678;
constexpr int OB_DUPLICATE_OPTION = -4679;
constexpr int OB_INVALID_OPTION = -4680;
constexpr int OB_RPC_NEED_RECONNECT = -4681;
constexpr int OB_CANNOT_COPY_MAJOR_SSTABLE = -4682;
constexpr int OB_SRC_DO_NOT_ALLOWED_MIGRATE = -4683;
constexpr int OB_TOO_MANY_TENANT_PARTITIONS_ERROR = -4684;
constexpr int OB_ACTIVE_MEMTBALE_NOT_EXSIT = -4685;
constexpr int OB_USE_DUP_FOLLOW_AFTER_DML = -4686;
constexpr int OB_NO_DISK_NEED_REBUILD = -4687;
constexpr int OB_STANDBY_WEAK_READ_ONLY = -4688;
constexpr int OB_INVALD_WEB_SERVICE_CONTENT = -4689;
constexpr int OB_PRIMARY_CLUSTER_EXIST = -4690;
constexpr int OB_ARRAY_BINDING_SWITCH_ITERATOR = -4691;
constexpr int OB_ERR_STANDBY_CLUSTER_NOT_EMPTY = -4692;
constexpr int OB_NOT_PRIMARY_CLUSTER = -4693;
constexpr int OB_ERR_CHECK_DROP_COLUMN_FAILED = -4694;
constexpr int OB_NOT_STANDBY_CLUSTER = -4695;
constexpr int OB_CLUSTER_VERSION_NOT_COMPATIBLE = -4696;
constexpr int OB_WAIT_TRANS_TABLE_MERGE_TIMEOUT = -4697;
constexpr int OB_SKIP_RENEW_LOCATION_BY_RPC = -4698;
constexpr int OB_RENEW_LOCATION_BY_RPC_FAILED = -4699;
constexpr int OB_CLUSTER_ID_NO_MATCH = -4700;
constexpr int OB_ERR_PARAM_INVALID = -4701;
constexpr int OB_ERR_RES_OBJ_ALREADY_EXIST = -4702;
constexpr int OB_ERR_RES_PLAN_NOT_EXIST = -4703;
constexpr int OB_ERR_PERCENTAGE_OUT_OF_RANGE = -4704;
constexpr int OB_ERR_PLAN_DIRECTIVE_NOT_EXIST = -4705;
constexpr int OB_ERR_PLAN_DIRECTIVE_ALREADY_EXIST = -4706;
constexpr int OB_ERR_INVALID_PLAN_DIRECTIVE_NAME = -4707;
constexpr int OB_FAILOVER_NOT_ALLOW = -4708;
constexpr int OB_ADD_CLUSTER_NOT_ALLOWED = -4709;
constexpr int OB_ERR_CONSUMER_GROUP_NOT_EXIST = -4710;
constexpr int OB_CLUSTER_NOT_ACCESSIBLE = -4711;
constexpr int OB_TENANT_RESOURCE_UNIT_EXIST = -4712;
B
bz0 已提交
382 383
constexpr int OB_ERR_DROP_TRUNCATE_PARTITION_REBUILD_INDEX = -4713;
constexpr int OB_ERR_ATLER_TABLE_ILLEGAL_FK = -4714;
O
oceanbase-admin 已提交
384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031
constexpr int OB_ERR_PARSER_INIT = -5000;
constexpr int OB_ERR_PARSE_SQL = -5001;
constexpr int OB_ERR_RESOLVE_SQL = -5002;
constexpr int OB_ERR_GEN_PLAN = -5003;
constexpr int OB_ERR_COLUMN_SIZE = -5007;
constexpr int OB_ERR_COLUMN_DUPLICATE = -5008;
constexpr int OB_ERR_OPERATOR_UNKNOWN = -5010;
constexpr int OB_ERR_STAR_DUPLICATE = -5011;
constexpr int OB_ERR_ILLEGAL_ID = -5012;
constexpr int OB_ERR_ILLEGAL_VALUE = -5014;
constexpr int OB_ERR_COLUMN_AMBIGUOUS = -5015;
constexpr int OB_ERR_LOGICAL_PLAN_FAILD = -5016;
constexpr int OB_ERR_SCHEMA_UNSET = -5017;
constexpr int OB_ERR_ILLEGAL_NAME = -5018;
constexpr int OB_TABLE_NOT_EXIST = -5019;
constexpr int OB_ERR_TABLE_EXIST = -5020;
constexpr int OB_ERR_EXPR_UNKNOWN = -5022;
constexpr int OB_ERR_ILLEGAL_TYPE = -5023;
constexpr int OB_ERR_PRIMARY_KEY_DUPLICATE = -5024;
constexpr int OB_ERR_KEY_NAME_DUPLICATE = -5025;
constexpr int OB_ERR_CREATETIME_DUPLICATE = -5026;
constexpr int OB_ERR_MODIFYTIME_DUPLICATE = -5027;
constexpr int OB_ERR_ILLEGAL_INDEX = -5028;
constexpr int OB_ERR_INVALID_SCHEMA = -5029;
constexpr int OB_ERR_INSERT_NULL_ROWKEY = -5030;
constexpr int OB_ERR_DELETE_NULL_ROWKEY = -5032;
constexpr int OB_ERR_USER_EMPTY = -5034;
constexpr int OB_ERR_USER_NOT_EXIST = -5035;
constexpr int OB_ERR_NO_PRIVILEGE = -5036;
constexpr int OB_ERR_NO_AVAILABLE_PRIVILEGE_ENTRY = -5037;
constexpr int OB_ERR_WRONG_PASSWORD = -5038;
constexpr int OB_ERR_USER_IS_LOCKED = -5039;
constexpr int OB_ERR_UPDATE_ROWKEY_COLUMN = -5040;
constexpr int OB_ERR_UPDATE_JOIN_COLUMN = -5041;
constexpr int OB_ERR_INVALID_COLUMN_NUM = -5042;
constexpr int OB_ERR_PREPARE_STMT_NOT_FOUND = -5043;
constexpr int OB_ERR_OLDER_PRIVILEGE_VERSION = -5046;
constexpr int OB_ERR_LACK_OF_ROWKEY_COL = -5047;
constexpr int OB_ERR_USER_EXIST = -5050;
constexpr int OB_ERR_PASSWORD_EMPTY = -5051;
constexpr int OB_ERR_GRANT_PRIVILEGES_TO_CREATE_TABLE = -5052;
constexpr int OB_ERR_WRONG_DYNAMIC_PARAM = -5053;
constexpr int OB_ERR_PARAM_SIZE = -5054;
constexpr int OB_ERR_FUNCTION_UNKNOWN = -5055;
constexpr int OB_ERR_CREAT_MODIFY_TIME_COLUMN = -5056;
constexpr int OB_ERR_MODIFY_PRIMARY_KEY = -5057;
constexpr int OB_ERR_PARAM_DUPLICATE = -5058;
constexpr int OB_ERR_TOO_MANY_SESSIONS = -5059;
constexpr int OB_ERR_TOO_MANY_PS = -5061;
constexpr int OB_ERR_HINT_UNKNOWN = -5063;
constexpr int OB_ERR_WHEN_UNSATISFIED = -5064;
constexpr int OB_ERR_QUERY_INTERRUPTED = -5065;
constexpr int OB_ERR_SESSION_INTERRUPTED = -5066;
constexpr int OB_ERR_UNKNOWN_SESSION_ID = -5067;
constexpr int OB_ERR_PROTOCOL_NOT_RECOGNIZE = -5068;
constexpr int OB_ERR_WRITE_AUTH_ERROR = -5069;
constexpr int OB_ERR_PARSE_JOIN_INFO = -5070;
constexpr int OB_ERR_ALTER_INDEX_COLUMN = -5071;
constexpr int OB_ERR_MODIFY_INDEX_TABLE = -5072;
constexpr int OB_ERR_INDEX_UNAVAILABLE = -5073;
constexpr int OB_ERR_NOP_VALUE = -5074;
constexpr int OB_ERR_PS_TOO_MANY_PARAM = -5080;
constexpr int OB_ERR_INVALID_TYPE_FOR_OP = -5083;
constexpr int OB_ERR_CAST_VARCHAR_TO_BOOL = -5084;
constexpr int OB_ERR_CAST_VARCHAR_TO_NUMBER = -5085;
constexpr int OB_ERR_CAST_VARCHAR_TO_TIME = -5086;
constexpr int OB_ERR_CAST_NUMBER_OVERFLOW = -5087;
constexpr int OB_SCHEMA_NUMBER_PRECISION_OVERFLOW = -5090;
constexpr int OB_SCHEMA_NUMBER_SCALE_OVERFLOW = -5091;
constexpr int OB_ERR_INDEX_UNKNOWN = -5092;
constexpr int OB_ERR_TOO_MANY_JOIN_TABLES = -5094;
constexpr int OB_ERR_VARCHAR_TOO_LONG = -5098;
constexpr int OB_ERR_LOCAL_VARIABLE = -5100;
constexpr int OB_ERR_GLOBAL_VARIABLE = -5101;
constexpr int OB_ERR_VARIABLE_IS_READONLY = -5102;
constexpr int OB_ERR_INCORRECT_GLOBAL_LOCAL_VAR = -5103;
constexpr int OB_ERR_EXPIRE_INFO_TOO_LONG = -5104;
constexpr int OB_ERR_EXPIRE_COND_TOO_LONG = -5105;
constexpr int OB_ERR_USER_VARIABLE_UNKNOWN = -5112;
constexpr int OB_ILLEGAL_USAGE_OF_MERGING_FROZEN_TIME = -5113;
constexpr int OB_SQL_LOG_OP_SETCHILD_OVERFLOW = -5116;
constexpr int OB_SQL_EXPLAIN_FAILED = -5117;
constexpr int OB_SQL_OPT_COPY_OP_FAILED = -5118;
constexpr int OB_SQL_OPT_GEN_PLAN_FALIED = -5119;
constexpr int OB_SQL_OPT_CREATE_RAWEXPR_FAILED = -5120;
constexpr int OB_SQL_OPT_JOIN_ORDER_FAILED = -5121;
constexpr int OB_SQL_OPT_ERROR = -5122;
constexpr int OB_SQL_RESOLVER_NO_MEMORY = -5130;
constexpr int OB_SQL_DML_ONLY = -5131;
constexpr int OB_ERR_NO_GRANT = -5133;
constexpr int OB_ERR_NO_DB_SELECTED = -5134;
constexpr int OB_SQL_PC_OVERFLOW = -5135;
constexpr int OB_SQL_PC_PLAN_DUPLICATE = -5136;
constexpr int OB_SQL_PC_PLAN_EXPIRE = -5137;
constexpr int OB_SQL_PC_NOT_EXIST = -5138;
constexpr int OB_SQL_PARAMS_LIMIT = -5139;
constexpr int OB_SQL_PC_PLAN_SIZE_LIMIT = -5140;
constexpr int OB_UNKNOWN_PARTITION = -5146;
constexpr int OB_PARTITION_NOT_MATCH = -5147;
constexpr int OB_ER_PASSWD_LENGTH = -5148;
constexpr int OB_ERR_INSERT_INNER_JOIN_COLUMN = -5149;
constexpr int OB_TABLEGROUP_NOT_EXIST = -5151;
constexpr int OB_SUBQUERY_TOO_MANY_ROW = -5153;
constexpr int OB_ERR_BAD_DATABASE = -5154;
constexpr int OB_CANNOT_USER = -5155;
constexpr int OB_TENANT_EXIST = -5156;
constexpr int OB_DATABASE_EXIST = -5158;
constexpr int OB_TABLEGROUP_EXIST = -5159;
constexpr int OB_ERR_INVALID_TENANT_NAME = -5160;
constexpr int OB_EMPTY_TENANT = -5161;
constexpr int OB_WRONG_DB_NAME = -5162;
constexpr int OB_WRONG_TABLE_NAME = -5163;
constexpr int OB_WRONG_COLUMN_NAME = -5164;
constexpr int OB_ERR_COLUMN_SPEC = -5165;
constexpr int OB_ERR_DB_DROP_EXISTS = -5166;
constexpr int OB_ERR_CREATE_USER_WITH_GRANT = -5169;
constexpr int OB_ERR_NO_DB_PRIVILEGE = -5170;
constexpr int OB_ERR_NO_TABLE_PRIVILEGE = -5171;
constexpr int OB_INVALID_ON_UPDATE = -5172;
constexpr int OB_INVALID_DEFAULT = -5173;
constexpr int OB_ERR_UPDATE_TABLE_USED = -5174;
constexpr int OB_ERR_COULUMN_VALUE_NOT_MATCH = -5175;
constexpr int OB_ERR_INVALID_GROUP_FUNC_USE = -5176;
constexpr int OB_ERR_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD = -5178;
constexpr int OB_ERR_TOO_LONG_IDENT = -5179;
constexpr int OB_ERR_WRONG_TYPE_FOR_VAR = -5180;
constexpr int OB_WRONG_USER_NAME_LENGTH = -5181;
constexpr int OB_ERR_PRIV_USAGE = -5182;
constexpr int OB_ILLEGAL_GRANT_FOR_TABLE = -5183;
constexpr int OB_ERR_REACH_AUTOINC_MAX = -5184;
constexpr int OB_ERR_NO_TABLES_USED = -5185;
constexpr int OB_CANT_REMOVE_ALL_FIELDS = -5187;
constexpr int OB_TOO_MANY_PARTITIONS_ERROR = -5188;
constexpr int OB_NO_PARTS_ERROR = -5189;
constexpr int OB_WRONG_SUB_KEY = -5190;
constexpr int OB_KEY_PART_0 = -5191;
constexpr int OB_ERR_WRONG_AUTO_KEY = -5193;
constexpr int OB_ERR_TOO_MANY_KEYS = -5194;
constexpr int OB_ERR_TOO_MANY_ROWKEY_COLUMNS = -5195;
constexpr int OB_ERR_TOO_LONG_KEY_LENGTH = -5196;
constexpr int OB_ERR_TOO_MANY_COLUMNS = -5197;
constexpr int OB_ERR_TOO_LONG_COLUMN_LENGTH = -5198;
constexpr int OB_ERR_TOO_BIG_ROWSIZE = -5199;
constexpr int OB_ERR_UNKNOWN_TABLE = -5200;
constexpr int OB_ERR_BAD_TABLE = -5201;
constexpr int OB_ERR_TOO_BIG_SCALE = -5202;
constexpr int OB_ERR_TOO_BIG_DISPLAYWIDTH = -5205;
constexpr int OB_WRONG_GROUP_FIELD = -5206;
constexpr int OB_NON_UNIQ_ERROR = -5207;
constexpr int OB_ERR_NONUNIQ_TABLE = -5208;
constexpr int OB_ERR_CANT_DROP_FIELD_OR_KEY = -5209;
constexpr int OB_ERR_MULTIPLE_PRI_KEY = -5210;
constexpr int OB_ERR_KEY_COLUMN_DOES_NOT_EXITS = -5211;
constexpr int OB_ERR_AUTO_PARTITION_KEY = -5212;
constexpr int OB_ERR_CANT_USE_OPTION_HERE = -5213;
constexpr int OB_ERR_WRONG_OBJECT = -5214;
constexpr int OB_ERR_ON_RENAME = -5215;
constexpr int OB_ERR_WRONG_KEY_COLUMN = -5216;
constexpr int OB_ERR_BAD_FIELD_ERROR = -5217;
constexpr int OB_ERR_WRONG_FIELD_WITH_GROUP = -5218;
constexpr int OB_ERR_CANT_CHANGE_TX_CHARACTERISTICS = -5219;
constexpr int OB_ERR_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION = -5220;
constexpr int OB_ERR_MIX_OF_GROUP_FUNC_AND_FIELDS = -5221;
constexpr int OB_ERR_WRONG_IDENT_NAME = -5223;
constexpr int OB_WRONG_NAME_FOR_INDEX = -5224;
constexpr int OB_ILLEGAL_REFERENCE = -5225;
constexpr int OB_REACH_MEMORY_LIMIT = -5226;
constexpr int OB_ERR_PASSWORD_FORMAT = -5227;
constexpr int OB_ERR_NON_UPDATABLE_TABLE = -5228;
constexpr int OB_ERR_WARN_DATA_OUT_OF_RANGE = -5229;
constexpr int OB_ERR_WRONG_EXPR_IN_PARTITION_FUNC_ERROR = -5230;
constexpr int OB_ERR_VIEW_INVALID = -5231;
constexpr int OB_ERR_OPTION_PREVENTS_STATEMENT = -5233;
constexpr int OB_ERR_DB_READ_ONLY = -5234;
constexpr int OB_ERR_TABLE_READ_ONLY = -5235;
constexpr int OB_ERR_LOCK_OR_ACTIVE_TRANSACTION = -5236;
constexpr int OB_ERR_SAME_NAME_PARTITION_FIELD = -5237;
constexpr int OB_ERR_TABLENAME_NOT_ALLOWED_HERE = -5238;
constexpr int OB_ERR_VIEW_RECURSIVE = -5239;
constexpr int OB_ERR_QUALIFIER = -5240;
constexpr int OB_ERR_VIEW_WRONG_LIST = -5242;
constexpr int OB_SYS_VARS_MAYBE_DIFF_VERSION = -5243;
constexpr int OB_ERR_AUTO_INCREMENT_CONFLICT = -5244;
constexpr int OB_ERR_TASK_SKIPPED = -5245;
constexpr int OB_ERR_NAME_BECOMES_EMPTY = -5246;
constexpr int OB_ERR_REMOVED_SPACES = -5247;
constexpr int OB_WARN_ADD_AUTOINCREMENT_COLUMN = -5248;
constexpr int OB_WARN_CHAMGE_NULL_ATTRIBUTE = -5249;
constexpr int OB_ERR_INVALID_CHARACTER_STRING = -5250;
constexpr int OB_ERR_KILL_DENIED = -5251;
constexpr int OB_ERR_COLUMN_DEFINITION_AMBIGUOUS = -5252;
constexpr int OB_ERR_EMPTY_QUERY = -5253;
constexpr int OB_ERR_CUT_VALUE_GROUP_CONCAT = -5254;
constexpr int OB_ERR_FIELD_NOT_FOUND_PART = -5255;
constexpr int OB_ERR_PRIMARY_CANT_HAVE_NULL = -5256;
constexpr int OB_ERR_PARTITION_FUNC_NOT_ALLOWED_ERROR = -5257;
constexpr int OB_ERR_INVALID_BLOCK_SIZE = -5258;
constexpr int OB_ERR_UNKNOWN_STORAGE_ENGINE = -5259;
constexpr int OB_ERR_TENANT_IS_LOCKED = -5260;
constexpr int OB_EER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF = -5261;
constexpr int OB_ERR_PARTITION_FUNCTION_IS_NOT_ALLOWED = -5262;
constexpr int OB_ERR_AGGREGATE_ORDER_FOR_UNION = -5263;
constexpr int OB_ERR_OUTLINE_EXIST = -5264;
constexpr int OB_OUTLINE_NOT_EXIST = -5265;
constexpr int OB_WARN_OPTION_BELOW_LIMIT = -5266;
constexpr int OB_INVALID_OUTLINE = -5267;
constexpr int OB_REACH_MAX_CONCURRENT_NUM = -5268;
constexpr int OB_ERR_OPERATION_ON_RECYCLE_OBJECT = -5269;
constexpr int OB_ERR_OBJECT_NOT_IN_RECYCLEBIN = -5270;
constexpr int OB_ERR_CON_COUNT_ERROR = -5271;
constexpr int OB_ERR_OUTLINE_CONTENT_EXIST = -5272;
constexpr int OB_ERR_OUTLINE_MAX_CONCURRENT_EXIST = -5273;
constexpr int OB_ERR_VALUES_IS_NOT_INT_TYPE_ERROR = -5274;
constexpr int OB_ERR_WRONG_TYPE_COLUMN_VALUE_ERROR = -5275;
constexpr int OB_ERR_PARTITION_COLUMN_LIST_ERROR = -5276;
constexpr int OB_ERR_TOO_MANY_VALUES_ERROR = -5277;
constexpr int OB_ERR_PARTITION_VALUE_ERROR = -5278;
constexpr int OB_ERR_PARTITION_INTERVAL_ERROR = -5279;
constexpr int OB_ERR_SAME_NAME_PARTITION = -5280;
constexpr int OB_ERR_RANGE_NOT_INCREASING_ERROR = -5281;
constexpr int OB_ERR_PARSE_PARTITION_RANGE = -5282;
constexpr int OB_ERR_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF = -5283;
constexpr int OB_NO_PARTITION_FOR_GIVEN_VALUE = -5284;
constexpr int OB_EER_NULL_IN_VALUES_LESS_THAN = -5285;
constexpr int OB_ERR_PARTITION_CONST_DOMAIN_ERROR = -5286;
constexpr int OB_ERR_TOO_MANY_PARTITION_FUNC_FIELDS = -5287;
constexpr int OB_ERR_BAD_FT_COLUMN = -5288;
constexpr int OB_ERR_KEY_DOES_NOT_EXISTS = -5289;
constexpr int OB_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMN = -5290;
constexpr int OB_ERR_BAD_CTXCAT_COLUMN = -5291;
constexpr int OB_ERR_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN = -5292;
constexpr int OB_ERR_DEPENDENT_BY_GENERATED_COLUMN = -5293;
constexpr int OB_ERR_TOO_MANY_ROWS = -5294;
constexpr int OB_WRONG_FIELD_TERMINATORS = -5295;
constexpr int OB_NO_READABLE_REPLICA = -5296;
constexpr int OB_ERR_SYNONYM_EXIST = -5298;
constexpr int OB_SYNONYM_NOT_EXIST = -5299;
constexpr int OB_ERR_MISS_ORDER_BY_EXPR = -5300;
constexpr int OB_ERR_NOT_CONST_EXPR = -5301;
constexpr int OB_ERR_PARTITION_MGMT_ON_NONPARTITIONED = -5302;
constexpr int OB_ERR_DROP_PARTITION_NON_EXISTENT = -5303;
constexpr int OB_ERR_PARTITION_MGMT_ON_TWOPART_TABLE = -5304;
constexpr int OB_ERR_ONLY_ON_RANGE_LIST_PARTITION = -5305;
constexpr int OB_ERR_DROP_LAST_PARTITION = -5306;
constexpr int OB_ERR_SCHEDULER_THREAD_NOT_ENOUGH = -5307;
constexpr int OB_ERR_IGNORE_USER_HOST_NAME = -5308;
constexpr int OB_IGNORE_SQL_IN_RESTORE = -5309;
constexpr int OB_ERR_TEMPORARY_TABLE_WITH_PARTITION = -5310;
constexpr int OB_ERR_INVALID_COLUMN_ID = -5311;
constexpr int OB_SYNC_DDL_DUPLICATE = -5312;
constexpr int OB_SYNC_DDL_ERROR = -5313;
constexpr int OB_ERR_ROW_IS_REFERENCED = -5314;
constexpr int OB_ERR_NO_REFERENCED_ROW = -5315;
constexpr int OB_ERR_FUNC_RESULT_TOO_LARGE = -5316;
constexpr int OB_ERR_CANNOT_ADD_FOREIGN = -5317;
constexpr int OB_ERR_WRONG_FK_DEF = -5318;
constexpr int OB_ERR_INVALID_CHILD_COLUMN_LENGTH_FK = -5319;
constexpr int OB_ERR_ALTER_COLUMN_FK = -5320;
constexpr int OB_ERR_CONNECT_BY_REQUIRED = -5321;
constexpr int OB_ERR_INVALID_PSEUDO_COLUMN_PLACE = -5322;
constexpr int OB_ERR_NOCYCLE_REQUIRED = -5323;
constexpr int OB_ERR_CONNECT_BY_LOOP = -5324;
constexpr int OB_ERR_INVALID_SIBLINGS = -5325;
constexpr int OB_ERR_INVALID_SEPARATOR = -5326;
constexpr int OB_ERR_INVALID_SYNONYM_NAME = -5327;
constexpr int OB_ERR_LOOP_OF_SYNONYM = -5328;
constexpr int OB_ERR_SYNONYM_SAME_AS_OBJECT = -5329;
constexpr int OB_ERR_SYNONYM_TRANSLATION_INVALID = -5330;
constexpr int OB_ERR_EXIST_OBJECT = -5331;
constexpr int OB_ERR_ILLEGAL_VALUE_FOR_TYPE = -5332;
constexpr int OB_ER_TOO_LONG_SET_ENUM_VALUE = -5333;
constexpr int OB_ER_DUPLICATED_VALUE_IN_TYPE = -5334;
constexpr int OB_ER_TOO_BIG_ENUM = -5335;
constexpr int OB_ERR_TOO_BIG_SET = -5336;
constexpr int OB_ERR_WRONG_ROWID = -5337;
constexpr int OB_ERR_INVALID_WINDOW_FUNCTION_PLACE = -5338;
constexpr int OB_ERR_PARSE_PARTITION_LIST = -5339;
constexpr int OB_ERR_MULTIPLE_DEF_CONST_IN_LIST_PART = -5340;
constexpr int OB_ERR_WRONG_FUNC_ARGUMENTS_TYPE = -5343;
constexpr int OB_ERR_MULTI_UPDATE_KEY_CONFLICT = -5344;
constexpr int OB_ERR_INSUFFICIENT_PX_WORKER = -5345;
constexpr int OB_ERR_FOR_UPDATE_EXPR_NOT_ALLOWED = -5346;
constexpr int OB_ERR_WIN_FUNC_ARG_NOT_IN_PARTITION_BY = -5347;
constexpr int OB_ERR_TOO_LONG_STRING_IN_CONCAT = -5348;
constexpr int OB_ERR_WRONG_TIMESTAMP_LTZ_COLUMN_VALUE_ERROR = -5349;
constexpr int OB_ERR_UPD_CAUSE_PART_CHANGE = -5350;
constexpr int OB_ERR_INVALID_TYPE_FOR_ARGUMENT = -5351;
constexpr int OB_ERR_FIELD_NOT_FOUND_IN_DATETIME_OR_INTERVAL = -5352;
constexpr int OB_ERR_ADD_PART_BOUN_NOT_INC = -5353;
constexpr int OB_ERR_DATA_TOO_LONG_IN_PART_CHECK = -5354;
constexpr int OB_ERR_WRONG_TYPE_COLUMN_VALUE_V2_ERROR = -5355;
constexpr int OB_CANT_AGGREGATE_3COLLATIONS = -5356;
constexpr int OB_CANT_AGGREGATE_NCOLLATIONS = -5357;
constexpr int OB_ERR_NO_SYS_PRIVILEGE = -5360;
constexpr int OB_ERR_NO_LOGIN_PRIVILEGE = -5361;
constexpr int OB_ERR_CANNOT_REVOKE_PRIVILEGES_YOU_DID_NOT_GRANT = -5362;
constexpr int OB_ERR_SYSTEM_PRIVILEGES_NOT_GRANTED_TO = -5363;
constexpr int OB_ERR_ONLY_SELECT_AND_ALTER_PRIVILEGES_ARE_VALID_FOR_SEQUENCES = -5364;
constexpr int OB_ERR_EXECUTE_PRIVILEGE_NOT_ALLOWED_FOR_TABLES = -5365;
constexpr int OB_ERR_ONLY_EXECUTE_AND_DEBUG_PRIVILEGES_ARE_VALID_FOR_PROCEDURES = -5366;
constexpr int OB_ERR_ONLY_EXECUTE_DEBUG_AND_UNDER_PRIVILEGES_ARE_VALID_FOR_TYPES = -5367;
constexpr int OB_ERR_ADMIN_OPTION_NOT_GRANTED_FOR_ROLE = -5368;
constexpr int OB_ERR_USER_OR_ROLE_DOES_NOT_EXIST = -5369;
constexpr int OB_ERR_MISSING_ON_KEYWORD = -5370;
constexpr int OB_ERR_NO_GRANT_OPTION = -5371;
constexpr int OB_ERR_ALTER_INDEX_AND_EXECUTE_NOT_ALLOWED_FOR_VIEWS = -5372;
constexpr int OB_ERR_CIRCULAR_ROLE_GRANT_DETECTED = -5373;
constexpr int OB_ERR_INVALID_PRIVILEGE_ON_DIRECTORIES = -5374;
constexpr int OB_ERR_DIRECTORY_ACCESS_DENIED = -5375;
constexpr int OB_ERR_MISSING_OR_INVALID_ROLE_NAME = -5376;
constexpr int OB_ERR_ROLE_NOT_GRANTED_OR_DOES_NOT_EXIST = -5377;
constexpr int OB_ERR_DEFAULT_ROLE_NOT_GRANTED_TO_USER = -5378;
constexpr int OB_ERR_ROLE_NOT_GRANTED_TO = -5379;
constexpr int OB_ERR_CANNOT_GRANT_TO_A_ROLE_WITH_GRANT_OPTION = -5380;
constexpr int OB_ERR_DUPLICATE_USERNAME_IN_LIST = -5381;
constexpr int OB_ERR_CANNOT_GRANT_STRING_TO_A_ROLE = -5382;
constexpr int OB_ERR_CASCADE_CONSTRAINTS_MUST_BE_SPECIFIED_TO_PERFORM_THIS_REVOKE = -5383;
constexpr int OB_ERR_YOU_MAY_NOT_REVOKE_PRIVILEGES_FROM_YOURSELF = -5384;
constexpr int OB_ERR_SP_ALREADY_EXISTS = -5541;
constexpr int OB_ERR_SP_DOES_NOT_EXIST = -5542;
constexpr int OB_ERR_SP_UNDECLARED_VAR = -5543;
constexpr int OB_ERR_SP_UNDECLARED_TYPE = -5544;
constexpr int OB_ERR_SP_COND_MISMATCH = -5545;
constexpr int OB_ERR_SP_LILABEL_MISMATCH = -5546;
constexpr int OB_ERR_SP_CURSOR_MISMATCH = -5547;
constexpr int OB_ERR_SP_DUP_PARAM = -5548;
constexpr int OB_ERR_SP_DUP_VAR = -5549;
constexpr int OB_ERR_SP_DUP_TYPE = -5550;
constexpr int OB_ERR_SP_DUP_CONDITION = -5551;
constexpr int OB_ERR_SP_DUP_LABEL = -5552;
constexpr int OB_ERR_SP_DUP_CURSOR = -5553;
constexpr int OB_ERR_SP_INVALID_FETCH_ARG = -5554;
constexpr int OB_ERR_SP_WRONG_ARG_NUM = -5555;
constexpr int OB_ERR_SP_UNHANDLED_EXCEPTION = -5556;
constexpr int OB_ERR_SP_BAD_CONDITION_TYPE = -5557;
constexpr int OB_ERR_PACKAGE_ALREADY_EXISTS = -5558;
constexpr int OB_ERR_PACKAGE_DOSE_NOT_EXIST = -5559;
constexpr int OB_EER_UNKNOWN_STMT_HANDLER = -5560;
constexpr int OB_ERR_INVALID_WINDOW_FUNC_USE = -5561;
constexpr int OB_ERR_CONSTRAINT_DUPLICATE = -5562;
constexpr int OB_ERR_CONTRAINT_NOT_FOUND = -5563;
constexpr int OB_ERR_ALTER_TABLE_ALTER_DUPLICATED_INDEX = -5564;
constexpr int OB_EER_INVALID_ARGUMENT_FOR_LOGARITHM = -5565;
constexpr int OB_ERR_REORGANIZE_OUTSIDE_RANGE = -5566;
constexpr int OB_ER_SP_RECURSION_LIMIT = -5567;
constexpr int OB_ER_UNSUPPORTED_PS = -5568;
constexpr int OB_ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG = -5569;
constexpr int OB_ER_SP_NO_RECURSION = -5570;
constexpr int OB_ER_SP_CASE_NOT_FOUND = -5571;
constexpr int OB_ERR_INVALID_SPLIT_COUNT = -5572;
constexpr int OB_ERR_INVALID_SPLIT_GRAMMAR = -5573;
constexpr int OB_ERR_MISS_VALUES = -5574;
constexpr int OB_ERR_MISS_AT_VALUES = -5575;
constexpr int OB_ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG = -5576;
constexpr int OB_PC_GET_LOCATION_ERROR = -5577;
constexpr int OB_PC_LOCK_CONFLICT = -5578;
constexpr int OB_ER_SP_NO_RETSET = -5579;
constexpr int OB_ER_SP_NORETURNEND = -5580;
constexpr int OB_ERR_SP_DUP_HANDLER = -5581;
constexpr int OB_ER_SP_NO_RECURSIVE_CREATE = -5582;
constexpr int OB_ER_SP_BADRETURN = -5583;
constexpr int OB_ER_SP_BAD_CURSOR_SELECT = -5584;
constexpr int OB_ER_SP_BAD_SQLSTATE = -5585;
constexpr int OB_ER_SP_VARCOND_AFTER_CURSHNDLR = -5586;
constexpr int OB_ER_SP_CURSOR_AFTER_HANDLER = -5587;
constexpr int OB_ER_SP_WRONG_NAME = -5588;
constexpr int OB_ER_SP_CURSOR_ALREADY_OPEN = -5589;
constexpr int OB_ER_SP_CURSOR_NOT_OPEN = -5590;
constexpr int OB_ER_SP_CANT_SET_AUTOCOMMIT = -5591;
constexpr int OB_ER_SP_NOT_VAR_ARG = -5592;
constexpr int OB_ER_SP_LILABEL_MISMATCH = -5593;
constexpr int OB_ERR_TRUNCATE_ILLEGAL_FK = -5594;
constexpr int OB_ERR_DUP_KEY = -5595;
constexpr int OB_ER_INVALID_USE_OF_NULL = -5596;
constexpr int OB_ERR_SPLIT_LIST_LESS_VALUE = -5597;
constexpr int OB_ERR_ADD_PARTITION_TO_DEFAULT_LIST = -5598;
constexpr int OB_ERR_SPLIT_INTO_ONE_PARTITION = -5599;
constexpr int OB_ERR_NO_TENANT_PRIVILEGE = -5600;
constexpr int OB_ERR_INVALID_PERCENTAGE = -5601;
constexpr int OB_ERR_COLLECT_HISTOGRAM = -5602;
constexpr int OB_ER_TEMP_TABLE_IN_USE = -5603;
constexpr int OB_ERR_INVALID_NLS_PARAMETER_STRING = -5604;
constexpr int OB_ERR_DATETIME_INTERVAL_PRECISION_OUT_OF_RANGE = -5605;
constexpr int OB_ERR_CMD_NOT_PROPERLY_ENDED = -5607;
constexpr int OB_ERR_INVALID_NUMBER_FORMAT_MODEL = -5608;
constexpr int OB_WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED = -5609;
constexpr int OB_WARN_AMBIGUOUS_FIELD_TERM = -5610;
constexpr int OB_WARN_TOO_FEW_RECORDS = -5611;
constexpr int OB_WARN_TOO_MANY_RECORDS = -5612;
constexpr int OB_ERR_TOO_MANY_VALUES = -5613;
constexpr int OB_ERR_NOT_ENOUGH_VALUES = -5614;
constexpr int OB_ERR_MORE_THAN_ONE_ROW = -5615;
constexpr int OB_ERR_NOT_SUBQUERY = -5616;
constexpr int OB_INAPPROPRIATE_INTO = -5617;
constexpr int OB_ERR_TABLE_IS_REFERENCED = -5618;
constexpr int OB_ERR_QUALIFIER_EXISTS_FOR_USING_COLUMN = -5619;
constexpr int OB_ERR_OUTER_JOIN_NESTED = -5620;
constexpr int OB_ERR_MULTI_OUTER_JOIN_TABLE = -5621;
constexpr int OB_ERR_OUTER_JOIN_ON_CORRELATION_COLUMN = -5622;
constexpr int OB_ERR_OUTER_JOIN_AMBIGUOUS = -5623;
constexpr int OB_ERR_OUTER_JOIN_WITH_SUBQUERY = -5624;
constexpr int OB_ERR_OUTER_JOIN_WITH_ANSI_JOIN = -5625;
constexpr int OB_ERR_OUTER_JOIN_NOT_ALLOWED = -5626;
constexpr int OB_SCHEMA_EAGAIN = -5627;
constexpr int OB_ERR_ZERO_LEN_COL = -5628;
constexpr int OB_ERR_INVALID_CHAR_FOLLOWING_ESCAPE_CHAR = -5665;
constexpr int OB_ERR_INVALID_ESCAPE_CHAR_LENGTH = -5666;
constexpr int OB_ERR_NOT_SELECTED_EXPR = -5668;
constexpr int OB_ERR_UK_PK_DUPLICATE = -5671;
constexpr int OB_ERR_COLUMN_LIST_ALREADY_INDEXED = -5672;
constexpr int OB_ERR_BUSHY_TREE_NOT_SUPPORTED = -5673;
constexpr int OB_ERR_ORDER_BY_ITEM_NOT_IN_SELECT_LIST = -5675;
constexpr int OB_ERR_NUMERIC_OR_VALUE_ERROR = -5677;
constexpr int OB_ERR_CONSTRAINT_NAME_DUPLICATE = -5678;
constexpr int OB_ERR_ONLY_HAVE_INVISIBLE_COL_IN_TABLE = -5679;
constexpr int OB_ERR_INVISIBLE_COL_ON_UNSUPPORTED_TABLE_TYPE = -5680;
constexpr int OB_ERR_MODIFY_COL_VISIBILITY_COMBINED_WITH_OTHER_OPTION = -5681;
constexpr int OB_ERR_MODIFY_COL_VISIBILITY_BY_SYS_USER = -5682;
constexpr int OB_ERR_TOO_MANY_ARGS_FOR_FUN = -5683;
constexpr int OB_PX_SQL_NEED_RETRY = -5684;
constexpr int OB_TENANT_HAS_BEEN_DROPPED = -5685;
constexpr int OB_ERR_EXTRACT_FIELD_INVALID = -5686;
constexpr int OB_ERR_PACKAGE_COMPILE_ERROR = -5687;
constexpr int OB_ERR_SP_EMPTY_BLOCK = -5688;
constexpr int OB_ARRAY_BINDING_ROLLBACK = -5689;
constexpr int OB_ERR_INVALID_SUBQUERY_USE = -5690;
constexpr int OB_ERR_DATE_OR_SYS_VAR_CANNOT_IN_CHECK_CST = -5691;
constexpr int OB_ERR_NONEXISTENT_CONSTRAINT = -5692;
constexpr int OB_ERR_CHECK_CONSTRAINT_VIOLATED = -5693;
constexpr int OB_ERR_GROUP_FUNC_NOT_ALLOWED = -5694;
constexpr int OB_ERR_POLICY_STRING_NOT_FOUND = -5695;
constexpr int OB_ERR_INVALID_LABEL_STRING = -5696;
constexpr int OB_ERR_UNDEFINED_COMPARTMENT_STRING_FOR_POLICY_STRING = -5697;
constexpr int OB_ERR_UNDEFINED_LEVEL_STRING_FOR_POLICY_STRING = -5698;
constexpr int OB_ERR_UNDEFINED_GROUP_STRING_FOR_POLICY_STRING = -5699;
constexpr int OB_ERR_LBAC_ERROR = -5700;
constexpr int OB_ERR_POLICY_ROLE_ALREADY_EXISTS_FOR_POLICY_STRING = -5701;
constexpr int OB_ERR_NULL_OR_INVALID_USER_LABEL = -5702;
constexpr int OB_ERR_ADD_INDEX = -5703;
constexpr int OB_ERR_PROFILE_STRING_DOES_NOT_EXIST = -5704;
constexpr int OB_ERR_INVALID_RESOURCE_LIMIT = -5705;
constexpr int OB_ERR_PROFILE_STRING_ALREADY_EXISTS = -5706;
constexpr int OB_ERR_PROFILE_STRING_HAS_USERS_ASSIGNED = -5707;
constexpr int OB_ERR_ADD_CHECK_CONSTRAINT_VIOLATED = -5713;
constexpr int OB_ERR_ILLEGAL_VIEW_UPDATE = -5714;
constexpr int OB_ERR_VIRTUAL_COL_NOT_ALLOWED = -5715;
constexpr int OB_ERR_O_VIEW_MULTIUPDATE = -5716;
constexpr int OB_ERR_NON_INSERTABLE_TABLE = -5717;
constexpr int OB_ERR_VIEW_MULTIUPDATE = -5718;
constexpr int OB_ERR_NONUPDATEABLE_COLUMN = -5719;
constexpr int OB_ERR_VIEW_DELETE_MERGE_VIEW = -5720;
constexpr int OB_ERR_O_DELETE_VIEW_NON_KEY_PRESERVED = -5721;
constexpr int OB_ERR_O_UPDATE_VIEW_NON_KEY_PRESERVED = -5722;
constexpr int OB_ERR_MODIFY_READ_ONLY_VIEW = -5723;
constexpr int OB_ERR_INVALID_INITRANS_VALUE = -5724;
constexpr int OB_ERR_INVALID_MAXTRANS_VALUE = -5725;
constexpr int OB_ERR_INVALID_PCTFREE_OR_PCTUSED_VALUE = -5726;
constexpr int OB_ERR_PROXY_REROUTE = -5727;
constexpr int OB_ERR_ILLEGAL_ARGUMENT_FOR_FUNCTION = -5728;
constexpr int OB_ERR_INVALID_SAMPLING_RANGE = -5730;
constexpr int OB_ERR_SPECIFY_DATABASE_NOT_ALLOWED = -5731;
constexpr int OB_ERR_STMT_TRIGGER_WITH_WHEN_CLAUSE = -5732;
constexpr int OB_ERR_TRIGGER_NOT_EXIST = -5733;
constexpr int OB_ERR_TRIGGER_ALREADY_EXIST = -5734;
constexpr int OB_ERR_TRIGGER_EXIST_ON_OTHER_TABLE = -5735;
constexpr int OB_ERR_SIGNALED_IN_PARALLEL_QUERY_SERVER = -5736;
constexpr int OB_ERR_CTE_ILLEGAL_QUERY_NAME = -5737;
constexpr int OB_ERR_CTE_UNSUPPORTED_COLUMN_ALIASING = -5738;
constexpr int OB_ERR_UNSUPPORTED_USE_OF_CTE = -5739;
constexpr int OB_ERR_CTE_COLUMN_NUMBER_NOT_MATCH = -5740;
constexpr int OB_ERR_NEED_COLUMN_ALIAS_LIST_IN_RECURSIVE_CTE = -5741;
constexpr int OB_ERR_NEED_UNION_ALL_IN_RECURSIVE_CTE = -5742;
constexpr int OB_ERR_NEED_ONLY_TWO_BRANCH_IN_RECURSIVE_CTE = -5743;
constexpr int OB_ERR_NEED_REFERENCE_ITSELF_DIRECTLY_IN_RECURSIVE_CTE = -5744;
constexpr int OB_ERR_NEED_INIT_BRANCH_IN_RECURSIVE_CTE = -5745;
constexpr int OB_ERR_CYCLE_FOUND_IN_RECURSIVE_CTE = -5746;
constexpr int OB_ERR_CTE_REACH_MAX_LEVEL_RECURSION = -5747;
constexpr int OB_ERR_CTE_ILLEGAL_SEARCH_PSEUDO_NAME = -5748;
constexpr int OB_ERR_CTE_ILLEGAL_CYCLE_NON_CYCLE_VALUE = -5749;
constexpr int OB_ERR_CTE_ILLEGAL_CYCLE_PSEUDO_NAME = -5750;
constexpr int OB_ERR_CTE_COLUMN_ALIAS_DUPLICATE = -5751;
constexpr int OB_ERR_CTE_ILLEGAL_SEARCH_CYCLE_CLAUSE = -5752;
constexpr int OB_ERR_CTE_DUPLICATE_CYCLE_NON_CYCLE_VALUE = -5753;
constexpr int OB_ERR_CTE_DUPLICATE_SEQ_NAME_CYCLE_COLUMN = -5754;
constexpr int OB_ERR_CTE_DUPLICATE_NAME_IN_SEARCH_CLAUSE = -5755;
constexpr int OB_ERR_CTE_DUPLICATE_NAME_IN_CYCLE_CLAUSE = -5756;
constexpr int OB_ERR_CTE_ILLEGAL_COLUMN_IN_CYCLE_CLAUSE = -5757;
constexpr int OB_ERR_CTE_ILLEGAL_RECURSIVE_BRANCH = -5758;
constexpr int OB_ERR_ILLEGAL_JOIN_IN_RECURSIVE_CTE = -5759;
constexpr int OB_ERR_CTE_NEED_COLUMN_ALIAS_LIST = -5760;
constexpr int OB_ERR_CTE_ILLEGAL_COLUMN_IN_SERACH_CALUSE = -5761;
constexpr int OB_ERR_CTE_RECURSIVE_QUERY_NAME_REFERENCED_MORE_THAN_ONCE = -5762;
constexpr int OB_ERR_CBY_PSEUDO_COLUMN_NOT_ALLOWED = -5763;
constexpr int OB_ERR_CBY_LOOP = -5764;
constexpr int OB_ERR_CBY_JOIN_NOT_ALLOWED = -5765;
constexpr int OB_ERR_CBY_CONNECT_BY_REQUIRED = -5766;
constexpr int OB_ERR_CBY_CONNECT_BY_PATH_NOT_ALLOWED = -5768;
constexpr int OB_ERR_CBY_CONNECT_BY_PATH_ILLEGAL_PARAM = -5769;
constexpr int OB_ERR_CBY_CONNECT_BY_PATH_INVALID_SEPARATOR = -5770;
constexpr int OB_ERR_CBY_CONNECT_BY_ROOT_ILLEGAL_USED = -5771;
constexpr int OB_ERR_CBY_OREDER_SIBLINGS_BY_NOT_ALLOWED = -5772;
constexpr int OB_ERR_CBY_NOCYCLE_REQUIRED = -5773;
constexpr int OB_ERR_NOT_ENOUGH_ARGS_FOR_FUN = -5774;
constexpr int OB_ERR_PREPARE_STMT_CHECKSUM = -5777;
constexpr int OB_ERR_ENABLE_NONEXISTENT_CONSTRAINT = -5778;
constexpr int OB_ERR_DISABLE_NONEXISTENT_CONSTRAINT = -5779;
constexpr int OB_ERR_DOWNGRADE_DOP = -5780;
constexpr int OB_ERR_DOWNGRADE_PARALLEL_MAX_SERVERS = -5781;
constexpr int OB_ERR_ORPHANED_CHILD_RECORD_EXISTS = -5785;
constexpr int OB_ERR_COL_CHECK_CST_REFER_ANOTHER_COL = -5786;
constexpr int OB_BATCHED_MULTI_STMT_ROLLBACK = -5787;
constexpr int OB_ERR_FOR_UPDATE_SELECT_VIEW_CANNOT = -5788;
constexpr int OB_ERR_POLICY_WITH_CHECK_OPTION_VIOLATION = -5789;
constexpr int OB_ERR_POLICY_ALREADY_APPLIED_TO_TABLE = -5790;
constexpr int OB_ERR_MUTATING_TABLE_OPERATION = -5791;
constexpr int OB_ERR_MODIFY_OR_DROP_MULTI_COLUMN_CONSTRAINT = -5792;
constexpr int OB_ERR_DROP_PARENT_KEY_COLUMN = -5793;
constexpr int OB_AUTOINC_SERVICE_BUSY = -5794;
constexpr int OB_ERR_CONSTRAINT_CONSTRAINT_DISABLE_VALIDATE = -5795;
constexpr int OB_ERR_AUTONOMOUS_TRANSACTION_ROLLBACK = -5796;
constexpr int OB_ORDERBY_CLAUSE_NOT_ALLOWED = -5797;
constexpr int OB_DISTINCT_NOT_ALLOWED = -5798;
constexpr int OB_ERR_ASSIGN_USER_VARIABLE_NOT_ALLOWED = -5799;
constexpr int OB_ERR_MODIFY_NONEXISTENT_CONSTRAINT = -5800;
constexpr int OB_ERR_SP_EXCEPTION_HANDLE_ILLEGAL = -5801;
constexpr int OB_ERR_INVALID_INSERT_COLUMN = -5803;
constexpr int OB_INCORRECT_USE_OF_OPERATOR = -5804;
constexpr int OB_ERR_NON_CONST_EXPR_IS_NOT_ALLOWED_FOR_PIVOT_UNPIVOT_VALUES = -5805;
constexpr int OB_ERR_EXPECT_AGGREGATE_FUNCTION_INSIDE_PIVOT_OPERATION = -5806;
constexpr int OB_ERR_EXP_NEED_SAME_DATATYPE = -5807;
constexpr int OB_ERR_CHARACTER_SET_MISMATCH = -5808;
constexpr int OB_ERR_REGEXP_NOMATCH = -5809;
constexpr int OB_ERR_REGEXP_BADPAT = -5810;
constexpr int OB_ERR_REGEXP_EESCAPE = -5811;
constexpr int OB_ERR_REGEXP_EBRACK = -5812;
constexpr int OB_ERR_REGEXP_EPAREN = -5813;
constexpr int OB_ERR_REGEXP_ESUBREG = -5814;
constexpr int OB_ERR_REGEXP_ERANGE = -5815;
constexpr int OB_ERR_REGEXP_ECTYPE = -5816;
constexpr int OB_ERR_REGEXP_ECOLLATE = -5817;
constexpr int OB_ERR_REGEXP_EBRACE = -5818;
constexpr int OB_ERR_REGEXP_BADBR = -5819;
constexpr int OB_ERR_REGEXP_BADRPT = -5820;
constexpr int OB_ERR_REGEXP_ASSERT = -5821;
constexpr int OB_ERR_REGEXP_INVARG = -5822;
constexpr int OB_ERR_REGEXP_MIXED = -5823;
constexpr int OB_ERR_REGEXP_BADOPT = -5824;
constexpr int OB_ERR_REGEXP_ETOOBIG = -5825;
constexpr int OB_NOT_SUPPORTED_ROWID_TYPE = -5826;
constexpr int OB_ERR_PARALLEL_DDL_CONFLICT = -5827;
constexpr int OB_ERR_SUBSCRIPT_BEYOND_COUNT = -5828;
constexpr int OB_ERR_NOT_PARTITIONED = -5829;
constexpr int OB_UNKNOWN_SUBPARTITION = -5830;
constexpr int OB_ERR_INVALID_SQL_ROW_LIMITING = -5831;
constexpr int INCORRECT_ARGUMENTS_TO_ESCAPE = -5832;
constexpr int STATIC_ENG_NOT_IMPLEMENT = -5833;
constexpr int OB_OBJ_ALREADY_EXIST = -5834;
constexpr int OB_DBLINK_NOT_EXIST_TO_ACCESS = -5835;
constexpr int OB_DBLINK_NOT_EXIST_TO_DROP = -5836;
constexpr int OB_ERR_ACCESS_INTO_NULL = -5837;
constexpr int OB_ERR_COLLECION_NULL = -5838;
constexpr int OB_ERR_NO_DATA_NEEDED = -5839;
constexpr int OB_ERR_PROGRAM_ERROR = -5840;
constexpr int OB_ERR_ROWTYPE_MISMATCH = -5841;
constexpr int OB_ERR_STORAGE_ERROR = -5842;
constexpr int OB_ERR_SUBSCRIPT_OUTSIDE_LIMIT = -5843;
constexpr int OB_ERR_INVALID_CURSOR = -5844;
constexpr int OB_ERR_LOGIN_DENIED = -5845;
constexpr int OB_ERR_NOT_LOGGED_ON = -5846;
constexpr int OB_ERR_SELF_IS_NULL = -5847;
constexpr int OB_ERR_TIMEOUT_ON_RESOURCE = -5848;
constexpr int OB_COLUMN_CANT_CHANGE_TO_NOT_NULL = -5849;
constexpr int OB_COLUMN_CANT_CHANGE_TO_NULLALE = -5850;
constexpr int OB_ENABLE_NOT_NULL_CONSTRAINT_VIOLATED = -5851;
constexpr int OB_ERR_ARGUMENT_SHOULD_CONSTANT = -5852;
constexpr int OB_ERR_NOT_A_SINGLE_GROUP_FUNCTION = -5853;
constexpr int OB_ERR_ZERO_LENGTH_IDENTIFIER = -5854;
constexpr int OB_ERR_PARAM_VALUE_INVALID = -5855;
constexpr int OB_ERR_DBMS_SQL_CURSOR_NOT_EXIST = -5856;
constexpr int OB_ERR_DBMS_SQL_NOT_ALL_VAR_BIND = -5857;
constexpr int OB_ERR_CONFLICTING_DECLARATIONS = -5858;
constexpr int OB_ERR_DROP_COL_REFERENCED_MULTI_COLS_CONSTRAINT = -5859;
constexpr int OB_ERR_MODIFY_COL_DATATYEP_REFERENCED_CONSTRAINT = -5860;
constexpr int OB_ERR_PERCENTILE_VALUE_INVALID = -5861;
constexpr int OB_ERR_ARGUMENT_SHOULD_NUMERIC_DATE_DATETIME_TYPE = -5862;
constexpr int OB_ERR_ALTER_TABLE_RENAME_WITH_OPTION = -5863;
constexpr int OB_ERR_ONLY_SIMPLE_COLUMN_NAME_ALLOWED = -5864;
constexpr int OB_ERR_SAFE_UPDATE_MODE_NEED_WHERE_OR_LIMIT = -5865;
constexpr int OB_ERR_SPECIFIY_PARTITION_DESCRIPTION = -5866;
constexpr int OB_ERR_SAME_NAME_SUBPARTITION = -5867;
constexpr int OB_ERR_UPDATE_ORDER_BY = -5868;
constexpr int OB_ERR_UPDATE_LIMIT = -5869;
constexpr int OB_ROWID_TYPE_MISMATCH = -5870;
constexpr int OB_ROWID_NUM_MISMATCH = -5871;
constexpr int OB_NO_COLUMN_ALIAS = -5872;
constexpr int OB_ERR_INVALID_DATATYPE = -5874;
constexpr int OB_ERR_NOT_COMPOSITE_PARTITION = -5875;
constexpr int OB_ERR_SUBPARTITION_NOT_EXPECT_VALUES_IN = -5876;
constexpr int OB_ERR_SUBPARTITION_EXPECT_VALUES_IN = -5877;
constexpr int OB_ERR_PARTITION_NOT_EXPECT_VALUES_LESS_THAN = -5878;
constexpr int OB_ERR_PARTITION_EXPECT_VALUES_LESS_THAN = -5879;
constexpr int OB_ERR_PROGRAM_UNIT_NOT_EXIST = -5880;
constexpr int OB_ERR_INVALID_RESTORE_POINT_NAME = -5881;
constexpr int OB_ERR_INPUT_TIME_TYPE = -5882;
constexpr int OB_ERR_IN_ARRAY_DML = -5883;
constexpr int OB_ERR_TRIGGER_COMPILE_ERROR = -5884;
constexpr int OB_ERR_MISSING_OR_INVALID_PASSWORD = -5887;
constexpr int OB_ERR_NO_MATCHING_UK_PK_FOR_COL_LIST = -5889;
constexpr int OB_ERR_DUP_FK_IN_TABLE = -5890;
constexpr int OB_ERR_DUP_FK_EXISTS = -5891;
constexpr int OB_ERR_INVALID_VIRTUAL_COLUMN_TYPE = -5893;
constexpr int OB_ERR_REFERENCED_TABLE_HAS_NO_PK = -5894;
constexpr int OB_ERR_MODIFY_PART_COLUMN_TYPE = -5895;
constexpr int OB_ERR_MODIFY_SUBPART_COLUMN_TYPE = -5896;
constexpr int OB_ERR_DECREASE_COLUMN_LENGTH = -5897;
constexpr int OB_ERR_REMOTE_PART_ILLEGAL = -5899;
constexpr int OB_ERR_A_VIEW_NOT_APPROPRIATE_HERE = -5901;
constexpr int OB_ROWID_VIEW_NO_KEY_PRESERVED = -5902;
constexpr int OB_ROWID_VIEW_HAS_DISTINCT_ETC = -5903;
constexpr int OB_ERR_AT_LEAST_ONE_COLUMN_NOT_VIRTUAL = -5904;
constexpr int OB_ERR_ONLY_PURE_FUNC_CANBE_INDEXED = -5905;
constexpr int OB_ERR_ONLY_PURE_FUNC_CANBE_VIRTUAL_COLUMN_EXPRESSION = -5906;
constexpr int OB_ERR_UPDATE_OPERATION_ON_VIRTUAL_COLUMNS = -5907;
constexpr int OB_ERR_INVALID_COLUMN_EXPRESSION = -5908;
constexpr int OB_ERR_IDENTITY_COLUMN_COUNT_EXCE_LIMIT = -5909;
constexpr int OB_ERR_INVALID_NOT_NULL_CONSTRAINT_ON_IDENTITY_COLUMN = -5910;
constexpr int OB_ERR_CANNOT_MODIFY_NOT_NULL_CONSTRAINT_ON_IDENTITY_COLUMN = -5911;
constexpr int OB_ERR_CANNOT_DROP_NOT_NULL_CONSTRAINT_ON_IDENTITY_COLUMN = -5912;
constexpr int OB_ERR_COLUMN_MODIFY_TO_IDENTITY_COLUMN = -5913;
constexpr int OB_ERR_IDENTITY_COLUMN_CANNOT_HAVE_DEFAULT_VALUE = -5914;
constexpr int OB_ERR_IDENTITY_COLUMN_MUST_BE_NUMERIC_TYPE = -5915;
constexpr int OB_ERR_PREBUILT_TABLE_MANAGED_CANNOT_BE_IDENTITY_COLUMN = -5916;
constexpr int OB_ERR_CANNOT_ALTER_SYSTEM_GENERATED_SEQUENCE = -5917;
constexpr int OB_ERR_CANNOT_DROP_SYSTEM_GENERATED_SEQUENCE = -5918;
constexpr int OB_ERR_INSERT_INTO_GENERATED_ALWAYS_IDENTITY_COLUMN = -5919;
constexpr int OB_ERR_UPDATE_GENERATED_ALWAYS_IDENTITY_COLUMN = -5920;
constexpr int OB_ERR_IDENTITY_COLUMN_SEQUENCE_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION = -5921;
constexpr int OB_ERR_CANNOT_RENAME_SYSTEM_GENERATED_SEQUENCE = -5922;
constexpr int OB_ERR_REVOKE_BY_COLUMN = -5923;
constexpr int OB_ERR_TYPE_BODY_NOT_EXIST = -5924;
constexpr int OB_ERR_INVALID_ARGUMENT_FOR_WIDTH_BUCKET = -5925;
constexpr int OB_ERR_CBY_NO_MEMORY = -5926;
constexpr int OB_ERR_ILLEGAL_PARAM_FOR_CBY_PATH = -5927;
constexpr int OB_ERR_HOST_UNKNOWN = -5928;
constexpr int OB_ERR_WINDOW_NAME_IS_NOT_DEFINE = -5929;
constexpr int OB_ERR_OPEN_CURSORS_EXCEEDED = -5930;
constexpr int OB_ERR_ARG_INVALID = -5931;
constexpr int OB_ERR_ILL_NAME_STRING = -5932;
J
jg0 已提交
1032
constexpr int OB_ERR_INCORRECT_VALUE_FOR_FUNCTION = -5936;
O
oceanbase-admin 已提交
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531
constexpr int OB_TRANSACTION_SET_VIOLATION = -6001;
constexpr int OB_TRANS_ROLLBACKED = -6002;
constexpr int OB_ERR_EXCLUSIVE_LOCK_CONFLICT = -6003;
constexpr int OB_ERR_SHARED_LOCK_CONFLICT = -6004;
constexpr int OB_TRY_LOCK_ROW_CONFLICT = -6005;
constexpr int OB_ERR_EXCLUSIVE_LOCK_CONFLICT_NOWAIT = -6006;
constexpr int OB_CLOCK_OUT_OF_ORDER = -6201;
constexpr int OB_TRANS_HAS_DECIDED = -6204;
constexpr int OB_TRANS_INVALID_STATE = -6205;
constexpr int OB_TRANS_STATE_NOT_CHANGE = -6206;
constexpr int OB_TRANS_PROTOCOL_ERROR = -6207;
constexpr int OB_TRANS_INVALID_MESSAGE = -6208;
constexpr int OB_TRANS_INVALID_MESSAGE_TYPE = -6209;
constexpr int OB_PARTITION_IS_FROZEN = -6214;
constexpr int OB_PARTITION_IS_NOT_FROZEN = -6215;
constexpr int OB_TRANS_INVALID_LOG_TYPE = -6219;
constexpr int OB_TRANS_SQL_SEQUENCE_ILLEGAL = -6220;
constexpr int OB_TRANS_CANNOT_BE_KILLED = -6221;
constexpr int OB_TRANS_STATE_UNKNOWN = -6222;
constexpr int OB_TRANS_IS_EXITING = -6223;
constexpr int OB_TRANS_NEED_ROLLBACK = -6224;
constexpr int OB_PARTITION_IS_NOT_STOPPED = -6227;
constexpr int OB_PARTITION_IS_STOPPED = -6228;
constexpr int OB_PARTITION_IS_BLOCKED = -6229;
constexpr int OB_TRANS_RPC_TIMEOUT = -6230;
constexpr int OB_REPLICA_NOT_READABLE = -6231;
constexpr int OB_PARTITION_IS_SPLITTING = -6232;
constexpr int OB_TRANS_COMMITED = -6233;
constexpr int OB_TRANS_CTX_COUNT_REACH_LIMIT = -6234;
constexpr int OB_TRANS_CANNOT_SERIALIZE = -6235;
constexpr int OB_TRANS_WEAK_READ_VERSION_NOT_READY = -6236;
constexpr int OB_GTS_STANDBY_IS_INVALID = -6237;
constexpr int OB_GTS_UPDATE_FAILED = -6238;
constexpr int OB_GTS_IS_NOT_SERVING = -6239;
constexpr int OB_PG_PARTITION_NOT_EXIST = -6240;
constexpr int OB_TRANS_STMT_NEED_RETRY = -6241;
constexpr int OB_SAVEPOINT_NOT_EXIST = -6242;
constexpr int OB_TRANS_WAIT_SCHEMA_REFRESH = -6243;
constexpr int OB_TRANS_OUT_OF_THRESHOLD = -6244;
constexpr int OB_TRANS_XA_NOTA = -6245;
constexpr int OB_TRANS_XA_RMFAIL = -6246;
constexpr int OB_TRANS_XA_DUPID = -6247;
constexpr int OB_TRANS_XA_OUTSIDE = -6248;
constexpr int OB_TRANS_XA_INVAL = -6249;
constexpr int OB_TRANS_XA_RMERR = -6250;
constexpr int OB_TRANS_XA_PROTO = -6251;
constexpr int OB_TRANS_XA_RBROLLBACK = -6252;
constexpr int OB_TRANS_XA_RBTIMEOUT = -6253;
constexpr int OB_TRANS_XA_RDONLY = -6254;
constexpr int OB_TRANS_XA_RETRY = -6255;
constexpr int OB_ERR_ROW_NOT_LOCKED = -6256;
constexpr int OB_EMPTY_PG = -6257;
constexpr int OB_TRANS_XA_ERR_COMMIT = -6258;
constexpr int OB_ERR_RESTORE_POINT_EXIST = -6259;
constexpr int OB_ERR_RESTORE_POINT_NOT_EXIST = -6260;
constexpr int OB_ERR_BACKUP_POINT_EXIST = -6261;
constexpr int OB_ERR_BACKUP_POINT_NOT_EXIST = -6262;
constexpr int OB_ERR_RESTORE_POINT_TOO_MANY = -6263;
constexpr int OB_TRANS_XA_BRANCH_FAIL = -6264;
constexpr int OB_LOG_ID_NOT_FOUND = -6301;
constexpr int OB_LSR_THREAD_STOPPED = -6302;
constexpr int OB_NO_LOG = -6303;
constexpr int OB_LOG_ID_RANGE_ERROR = -6304;
constexpr int OB_LOG_ITER_ENOUGH = -6305;
constexpr int OB_CLOG_INVALID_ACK = -6306;
constexpr int OB_CLOG_CACHE_INVALID = -6307;
constexpr int OB_EXT_HANDLE_UNFINISH = -6308;
constexpr int OB_CURSOR_NOT_EXIST = -6309;
constexpr int OB_STREAM_NOT_EXIST = -6310;
constexpr int OB_STREAM_BUSY = -6311;
constexpr int OB_FILE_RECYCLED = -6312;
constexpr int OB_REPLAY_EAGAIN_TOO_MUCH_TIME = -6313;
constexpr int OB_MEMBER_CHANGE_FAILED = -6314;
constexpr int OB_NO_NEED_BATCH_CTX = -6315;
constexpr int OB_TOO_LARGE_LOG_ID = -6316;
constexpr int OB_ALLOC_LOG_ID_NEED_RETRY = -6317;
constexpr int OB_TRANS_ONE_PC_NOT_ALLOWED = -6318;
constexpr int OB_LOG_NEED_REBUILD = -6319;
constexpr int OB_TOO_MANY_LOG_TASK = -6320;
constexpr int OB_INVALID_BATCH_SIZE = -6321;
constexpr int OB_CLOG_SLIDE_TIMEOUT = -6322;
constexpr int OB_ELECTION_WARN_LOGBUF_FULL = -7000;
constexpr int OB_ELECTION_WARN_LOGBUF_EMPTY = -7001;
constexpr int OB_ELECTION_WARN_NOT_RUNNING = -7002;
constexpr int OB_ELECTION_WARN_IS_RUNNING = -7003;
constexpr int OB_ELECTION_WARN_NOT_REACH_MAJORITY = -7004;
constexpr int OB_ELECTION_WARN_INVALID_SERVER = -7005;
constexpr int OB_ELECTION_WARN_INVALID_LEADER = -7006;
constexpr int OB_ELECTION_WARN_LEADER_LEASE_EXPIRED = -7007;
constexpr int OB_ELECTION_WARN_INVALID_MESSAGE = -7010;
constexpr int OB_ELECTION_WARN_MESSAGE_NOT_INTIME = -7011;
constexpr int OB_ELECTION_WARN_NOT_CANDIDATE = -7012;
constexpr int OB_ELECTION_WARN_NOT_CANDIDATE_OR_VOTER = -7013;
constexpr int OB_ELECTION_WARN_PROTOCOL_ERROR = -7014;
constexpr int OB_ELECTION_WARN_RUNTIME_OUT_OF_RANGE = -7015;
constexpr int OB_ELECTION_WARN_LAST_OPERATION_NOT_DONE = -7021;
constexpr int OB_ELECTION_WARN_CURRENT_SERVER_NOT_LEADER = -7022;
constexpr int OB_ELECTION_WARN_NO_PREPARE_MESSAGE = -7024;
constexpr int OB_ELECTION_ERROR_MULTI_PREPARE_MESSAGE = -7025;
constexpr int OB_ELECTION_NOT_EXIST = -7026;
constexpr int OB_ELECTION_MGR_IS_RUNNING = -7027;
constexpr int OB_ELECTION_WARN_NO_MAJORITY_PREPARE_MESSAGE = -7029;
constexpr int OB_ELECTION_ASYNC_LOG_WARN_INIT = -7030;
constexpr int OB_ELECTION_WAIT_LEADER_MESSAGE = -7031;
constexpr int OB_ELECTION_GROUP_NOT_EXIST = -7032;
constexpr int OB_UNEXPECT_EG_VERSION = -7033;
constexpr int OB_ELECTION_GROUP_MGR_IS_RUNNING = -7034;
constexpr int OB_ELECTION_MGR_NOT_RUNNING = -7035;
constexpr int OB_ELECTION_ERROR_VOTE_MSG_CONFLICT = -7036;
constexpr int OB_ELECTION_ERROR_DUPLICATED_MSG = -7037;
constexpr int OB_ELECTION_WARN_T1_NOT_MATCH = -7038;
constexpr int OB_TRANSFER_TASK_COMPLETED = -7100;
constexpr int OB_TOO_MANY_TRANSFER_TASK = -7101;
constexpr int OB_TRANSFER_TASK_EXIST = -7102;
constexpr int OB_TRANSFER_TASK_NOT_EXIST = -7103;
constexpr int OB_NOT_ALLOW_TO_REMOVE = -7104;
constexpr int OB_RG_NOT_MATCH = -7105;
constexpr int OB_TRANSFER_TASK_ABORTED = -7106;
constexpr int OB_TRANSFER_INVALID_MESSAGE = -7107;
constexpr int OB_TRANSFER_CTX_TS_NOT_MATCH = -7108;
constexpr int OB_SERVER_IS_INIT = -8001;
constexpr int OB_SERVER_IS_STOPPING = -8002;
constexpr int OB_PACKET_CHECKSUM_ERROR = -8003;
constexpr int OB_NOT_READ_ALL_DATA = -9008;
constexpr int OB_BUILD_MD5_ERROR = -9009;
constexpr int OB_MD5_NOT_MATCH = -9010;
constexpr int OB_OSS_DATA_VERSION_NOT_MATCHED = -9012;
constexpr int OB_OSS_WRITE_ERROR = -9013;
constexpr int OB_RESTORE_IN_PROGRESS = -9014;
constexpr int OB_AGENT_INITING_BACKUP_COUNT_ERROR = -9015;
constexpr int OB_CLUSTER_NAME_NOT_EQUAL = -9016;
constexpr int OB_RS_LIST_INVAILD = -9017;
constexpr int OB_AGENT_HAS_FAILED_TASK = -9018;
constexpr int OB_RESTORE_PARTITION_IS_COMPELETE = -9019;
constexpr int OB_RESTORE_PARTITION_TWICE = -9020;
constexpr int OB_STOP_DROP_SCHEMA = -9022;
constexpr int OB_CANNOT_START_LOG_ARCHIVE_BACKUP = -9023;
constexpr int OB_ALREADY_NO_LOG_ARCHIVE_BACKUP = -9024;
constexpr int OB_LOG_ARCHIVE_BACKUP_INFO_NOT_EXIST = -9025;
constexpr int OB_LOG_ARCHIVE_INTERRUPTED = -9027;
constexpr int OB_LOG_ARCHIVE_STAT_NOT_MATCH = -9028;
constexpr int OB_LOG_ARCHIVE_NOT_RUNNING = -9029;
constexpr int OB_LOG_ARCHIVE_INVALID_ROUND = -9030;
constexpr int OB_REPLICA_CANNOT_BACKUP = -9031;
constexpr int OB_BACKUP_INFO_NOT_EXIST = -9032;
constexpr int OB_BACKUP_INFO_NOT_MATCH = -9033;
constexpr int OB_LOG_ARCHIVE_ALREADY_STOPPED = -9034;
constexpr int OB_RESTORE_INDEX_FAILED = -9035;
constexpr int OB_BACKUP_IN_PROGRESS = -9036;
constexpr int OB_INVALID_LOG_ARCHIVE_STATUS = -9037;
constexpr int OB_CANNOT_ADD_REPLICA_DURING_SET_MEMBER_LIST = -9038;
constexpr int OB_LOG_ARCHIVE_LEADER_CHANGED = -9039;
constexpr int OB_BACKUP_CAN_NOT_START = -9040;
constexpr int OB_CANCEL_BACKUP_NOT_ALLOWED = -9041;
constexpr int OB_BACKUP_DATA_VERSION_GAP_OVER_LIMIT = -9042;
constexpr int OB_PG_LOG_ARCHIVE_STATUS_NOT_INIT = -9043;
constexpr int OB_BACKUP_DELETE_DATA_IN_PROGRESS = -9044;
constexpr int OB_BACKUP_DELETE_BACKUP_SET_NOT_ALLOWED = -9045;
constexpr int OB_INVALID_BACKUP_SET_ID = -9046;
constexpr int OB_BACKUP_INVALID_PASSWORD = -9047;
constexpr int OB_ISOLATED_BACKUP_SET = -9048;
constexpr int OB_CANNOT_CANCEL_STOPPED_BACKUP = -9049;
constexpr int OB_BACKUP_BACKUP_CAN_NOT_START = -9050;
constexpr int OB_BACKUP_MOUNT_FILE_NOT_VALID = -9051;
constexpr int OB_BACKUP_CLEAN_INFO_NOT_MATCH = -9052;
constexpr int OB_CANCEL_DELETE_BACKUP_NOT_ALLOWED = -9053;
constexpr int OB_BACKUP_CLEAN_INFO_NOT_EXIST = -9054;
constexpr int OB_NO_SUCH_FILE_OR_DIRECTORY = -9100;
constexpr int OB_FILE_OR_DIRECTORY_EXIST = -9101;
constexpr int OB_ERR_DUPLICATE_HAVING_CLAUSE_IN_TABLE_EXPRESSION = -9501;
constexpr int OB_ERR_INOUT_PARAM_PLACEMENT_NOT_PROPERLY = -9502;
constexpr int OB_ERR_OBJECT_NOT_FOUND = -9503;
constexpr int OB_ERR_INVALID_INPUT_VALUE = -9504;
constexpr int OB_ERR_GOTO_BRANCH_ILLEGAL = -9505;
constexpr int OB_ERR_ONLY_SCHEMA_LEVEL_ALLOW = -9506;
constexpr int OB_ERR_DECL_MORE_THAN_ONCE = -9507;
constexpr int OB_ERR_DUPLICATE_FILED = -9508;
constexpr int OB_ERR_AUTONOMOUS_TRANSACTION_ILLEGAL = -9509;
constexpr int OB_ERR_EXIT_CONTINUE_ILLEGAL = -9510;
constexpr int OB_ERR_LABEL_ILLEGAL = -9512;
constexpr int OB_ERR_CURSOR_LEFT_ASSIGN = -9513;
constexpr int OB_ERR_INIT_NOTNULL_ILLEGAL = -9514;
constexpr int OB_ERR_INIT_CONST_ILLEGAL = -9515;
constexpr int OB_ERR_CURSOR_VAR_IN_PKG = -9516;
constexpr int OB_ERR_LIMIT_CLAUSE = -9518;
constexpr int OB_ERR_EXPRESSION_WRONG_TYPE = -9519;
constexpr int OB_ERR_TYPE_SPEC_NOT_EXIST = -9520;
constexpr int OB_ERR_TYPE_SPEC_NO_ROUTINE = -9521;
constexpr int OB_ERR_TYPE_BODY_NO_ROUTINE = -9522;
constexpr int OB_ERR_IDENTIFIER_TOO_LONG = -9523;
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;
constexpr int OB_ERR_UPDATE_TWICE = -30926;
constexpr int OB_ERR_FLASHBACK_QUERY_WITH_UPDATE = -32491;
constexpr int OB_ERR_UPDATE_ON_EXPR = -38104;
constexpr int OB_ERR_SPECIFIED_ROW_NO_LONGER_EXISTS = -38105;
constexpr int OB_ERR_DATA_TOO_LONG_MSG_FMT_V2 = -5167;
constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;

#define OB_SUCCESS__USER_ERROR_MSG "Success"
#define OB_ERROR__USER_ERROR_MSG "Common error"
#define OB_OBJ_TYPE_ERROR__USER_ERROR_MSG "Object type error"
#define OB_INVALID_ARGUMENT__USER_ERROR_MSG "Incorrect arguments to %s"
#define OB_ARRAY_OUT_OF_RANGE__USER_ERROR_MSG "Array index out of range"
#define OB_SERVER_LISTEN_ERROR__USER_ERROR_MSG "Failed to listen to the port"
#define OB_INIT_TWICE__USER_ERROR_MSG "The object is initialized twice"
#define OB_NOT_INIT__USER_ERROR_MSG "The object is not initialized"
#define OB_NOT_SUPPORTED__USER_ERROR_MSG "%s not supported"
#define OB_ITER_END__USER_ERROR_MSG "End of iteration"
#define OB_IO_ERROR__USER_ERROR_MSG "IO error"
#define OB_ERROR_FUNC_VERSION__USER_ERROR_MSG "Wrong RPC command version"
#define OB_PACKET_NOT_SENT__USER_ERROR_MSG "Can not send packet"
#define OB_TIMEOUT__USER_ERROR_MSG "Timeout"
#define OB_ALLOCATE_MEMORY_FAILED__USER_ERROR_MSG "No memory or reach tenant memory limit"
#define OB_INNER_STAT_ERROR__USER_ERROR_MSG "Inner state error"
#define OB_ERR_SYS__USER_ERROR_MSG "System error"
#define OB_ERR_UNEXPECTED__USER_ERROR_MSG "%s"
#define OB_ENTRY_EXIST__USER_ERROR_MSG "%s"
#define OB_ENTRY_NOT_EXIST__USER_ERROR_MSG "%s"
#define OB_SIZE_OVERFLOW__USER_ERROR_MSG "Size overflow"
#define OB_REF_NUM_NOT_ZERO__USER_ERROR_MSG "Reference count is not zero"
#define OB_CONFLICT_VALUE__USER_ERROR_MSG "Conflict value"
#define OB_ITEM_NOT_SETTED__USER_ERROR_MSG "Item not set"
#define OB_EAGAIN__USER_ERROR_MSG "Try again"
#define OB_BUF_NOT_ENOUGH__USER_ERROR_MSG "Buffer not enough"
#define OB_PARTIAL_FAILED__USER_ERROR_MSG "Partial failed"
#define OB_READ_NOTHING__USER_ERROR_MSG "Nothing to read"
#define OB_FILE_NOT_EXIST__USER_ERROR_MSG "File not exist"
#define OB_DISCONTINUOUS_LOG__USER_ERROR_MSG "Log entry not continuous"
#define OB_SCHEMA_ERROR__USER_ERROR_MSG "Schema error"
#define OB_TENANT_OUT_OF_MEM__USER_ERROR_MSG "Over tenant memory limits"
#define OB_UNKNOWN_OBJ__USER_ERROR_MSG "Unknown object"
#define OB_NO_MONITOR_DATA__USER_ERROR_MSG "No monitor data"
#define OB_SERIALIZE_ERROR__USER_ERROR_MSG "Serialize error"
#define OB_DESERIALIZE_ERROR__USER_ERROR_MSG "Deserialize error"
#define OB_AIO_TIMEOUT__USER_ERROR_MSG "Asynchronous IO error"
#define OB_NEED_RETRY__USER_ERROR_MSG "Need retry"
#define OB_TOO_MANY_SSTABLE__USER_ERROR_MSG "Too many sstable"
#define OB_NOT_MASTER__USER_ERROR_MSG "The observer or zone is not the master"
#define OB_KILLED_BY_THROTTLING__USER_ERROR_MSG "Request has killed by sql throttle"
#define OB_DECRYPT_FAILED__USER_ERROR_MSG "Decrypt error"
#define OB_USER_NOT_EXIST__USER_ERROR_MSG "Can not find any matching row in the user table'%.*s'"
#define OB_PASSWORD_WRONG__USER_ERROR_MSG "Access denied for user '%.*s'@'%.*s' (using password: %s)"
#define OB_SKEY_VERSION_WRONG__USER_ERROR_MSG "Wrong skey version"
#define OB_NOT_REGISTERED__USER_ERROR_MSG "Not registered"
#define OB_WAITQUEUE_TIMEOUT__USER_ERROR_MSG "Task timeout and not executed"
#define OB_NOT_THE_OBJECT__USER_ERROR_MSG "Not the object"
#define OB_ALREADY_REGISTERED__USER_ERROR_MSG "Already registered"
#define OB_LAST_LOG_RUINNED__USER_ERROR_MSG "Corrupted log entry"
#define OB_NO_CS_SELECTED__USER_ERROR_MSG "No ChunkServer selected"
#define OB_NO_TABLETS_CREATED__USER_ERROR_MSG "No tablets created"
#define OB_INVALID_ERROR__USER_ERROR_MSG "Invalid entry"
#define OB_DECIMAL_OVERFLOW_WARN__USER_ERROR_MSG "Decimal overflow warning"
#define OB_DECIMAL_UNLEGAL_ERROR__USER_ERROR_MSG "Decimal overflow error"
#define OB_OBJ_DIVIDE_ERROR__USER_ERROR_MSG "Divide error"
#define OB_NOT_A_DECIMAL__USER_ERROR_MSG "Not a decimal"
#define OB_DECIMAL_PRECISION_NOT_EQUAL__USER_ERROR_MSG "Decimal precision error"
#define OB_EMPTY_RANGE__USER_ERROR_MSG "Empty range"
#define OB_SESSION_KILLED__USER_ERROR_MSG "Session killed"
#define OB_LOG_NOT_SYNC__USER_ERROR_MSG "Log not sync"
#define OB_DIR_NOT_EXIST__USER_ERROR_MSG "Directory not exist"
#define OB_SESSION_NOT_FOUND__USER_ERROR_MSG "RPC session not found"
#define OB_INVALID_LOG__USER_ERROR_MSG "Invalid log"
#define OB_INVALID_DATA__USER_ERROR_MSG "Invalid data"
#define OB_ALREADY_DONE__USER_ERROR_MSG "Already done"
#define OB_CANCELED__USER_ERROR_MSG "Operation canceled"
#define OB_LOG_SRC_CHANGED__USER_ERROR_MSG "Log source changed"
#define OB_LOG_NOT_ALIGN__USER_ERROR_MSG "Log not aligned"
#define OB_LOG_MISSING__USER_ERROR_MSG "Log entry missed"
#define OB_NEED_WAIT__USER_ERROR_MSG "Need wait"
#define OB_NOT_IMPLEMENT__USER_ERROR_MSG "Not implemented feature"
#define OB_DIVISION_BY_ZERO__USER_ERROR_MSG "Divided by zero"
#define OB_EXCEED_MEM_LIMIT__USER_ERROR_MSG "exceed memory limit"
#define OB_RESULT_UNKNOWN__USER_ERROR_MSG "Unknown result"
#define OB_NO_RESULT__USER_ERROR_MSG "No result"
#define OB_QUEUE_OVERFLOW__USER_ERROR_MSG "Queue overflow"
#define OB_LOG_ID_RANGE_NOT_CONTINUOUS__USER_ERROR_MSG "Table log_id range no continuous"
#define OB_TERM_LAGGED__USER_ERROR_MSG "Term lagged"
#define OB_TERM_NOT_MATCH__USER_ERROR_MSG "Term not match"
#define OB_START_LOG_CURSOR_INVALID__USER_ERROR_MSG "Invalid log cursor"
#define OB_LOCK_NOT_MATCH__USER_ERROR_MSG "Lock not match"
#define OB_DEAD_LOCK__USER_ERROR_MSG "Deadlock"
#define OB_PARTIAL_LOG__USER_ERROR_MSG "Incomplete log entry"
#define OB_CHECKSUM_ERROR__USER_ERROR_MSG "Data checksum error"
#define OB_INIT_FAIL__USER_ERROR_MSG "Initialize error"
#define OB_ROWKEY_ORDER_ERROR__USER_ERROR_MSG "Rowkey order error"
#define OB_NOT_ENOUGH_STORE__USER_ERROR_MSG "not enough commitlog store"
#define OB_BLOCK_SWITCHED__USER_ERROR_MSG "block switched when fill commitlog"
#define OB_PHYSIC_CHECKSUM_ERROR__USER_ERROR_MSG "Physic data checksum error"
#define OB_STATE_NOT_MATCH__USER_ERROR_MSG "Server state or role not the same as expected"
#define OB_READ_ZERO_LOG__USER_ERROR_MSG "Read zero log"
#define OB_BLOCK_NEED_FREEZE__USER_ERROR_MSG "block need freeze"
#define OB_BLOCK_FROZEN__USER_ERROR_MSG "block frozen"
#define OB_IN_FATAL_STATE__USER_ERROR_MSG "In FATAL state"
#define OB_IN_STOP_STATE__USER_ERROR_MSG "In STOP state"
#define OB_UPS_MASTER_EXISTS__USER_ERROR_MSG "Master UpdateServer already exists"
#define OB_LOG_NOT_CLEAR__USER_ERROR_MSG "Log not clear"
#define OB_FILE_ALREADY_EXIST__USER_ERROR_MSG "File already exist"
#define OB_UNKNOWN_PACKET__USER_ERROR_MSG "Unknown packet"
#define OB_RPC_PACKET_TOO_LONG__USER_ERROR_MSG "RPC packet to send too long"
#define OB_LOG_TOO_LARGE__USER_ERROR_MSG "Log too large"
#define OB_RPC_SEND_ERROR__USER_ERROR_MSG "RPC send error"
#define OB_RPC_POST_ERROR__USER_ERROR_MSG "RPC post error"
#define OB_LIBEASY_ERROR__USER_ERROR_MSG "Libeasy error"
#define OB_CONNECT_ERROR__USER_ERROR_MSG "Connect error"
#define OB_NOT_FREE__USER_ERROR_MSG "Not free"
#define OB_INIT_SQL_CONTEXT_ERROR__USER_ERROR_MSG "Init SQL context error"
#define OB_SKIP_INVALID_ROW__USER_ERROR_MSG "Skip invalid row"
#define OB_RPC_PACKET_INVALID__USER_ERROR_MSG "RPC packet is invalid"
#define OB_NO_TABLET__USER_ERROR_MSG "No tablets"
#define OB_SNAPSHOT_DISCARDED__USER_ERROR_MSG "Request to read too old versioned data"
#define OB_DATA_NOT_UPTODATE__USER_ERROR_MSG "State is stale"
#define OB_ROW_MODIFIED__USER_ERROR_MSG "Row modified"
#define OB_VERSION_NOT_MATCH__USER_ERROR_MSG "Version not match"
#define OB_BAD_ADDRESS__USER_ERROR_MSG "Bad address"
#define OB_ENQUEUE_FAILED__USER_ERROR_MSG "Enqueue error"
#define OB_INVALID_CONFIG__USER_ERROR_MSG "%s"
#define OB_STMT_EXPIRED__USER_ERROR_MSG "Expired statement"
#define OB_ERR_MIN_VALUE__USER_ERROR_MSG "Min value"
#define OB_ERR_MAX_VALUE__USER_ERROR_MSG "Max value"
#define OB_ERR_NULL_VALUE__USER_ERROR_MSG "%s"
#define OB_RESOURCE_OUT__USER_ERROR_MSG "Out of resource"
#define OB_ERR_SQL_CLIENT__USER_ERROR_MSG "Internal SQL client error"
#define OB_META_TABLE_WITHOUT_USE_TABLE__USER_ERROR_MSG "Meta table without use table"
#define OB_DISCARD_PACKET__USER_ERROR_MSG "Discard packet"
#define OB_OPERATE_OVERFLOW__USER_ERROR_MSG "%s value is out of range in '%s'"
#define OB_INVALID_DATE_FORMAT__USER_ERROR_MSG "%s=%d must between %d and %d"
#define OB_POOL_REGISTERED_FAILED__USER_ERROR_MSG "register pool failed"
#define OB_POOL_UNREGISTERED_FAILED__USER_ERROR_MSG "unregister pool failed"
#define OB_INVALID_ARGUMENT_NUM__USER_ERROR_MSG "Invalid argument num"
#define OB_LEASE_NOT_ENOUGH__USER_ERROR_MSG "reserved lease not enough"
#define OB_LEASE_NOT_MATCH__USER_ERROR_MSG "ups lease not match with rs"
#define OB_UPS_SWITCH_NOT_HAPPEN__USER_ERROR_MSG "ups switch not happen"
#define OB_EMPTY_RESULT__USER_ERROR_MSG "Empty result"
#define OB_CACHE_NOT_HIT__USER_ERROR_MSG "Cache not hit"
#define OB_NESTED_LOOP_NOT_SUPPORT__USER_ERROR_MSG "Nested loop not support"
#define OB_LOG_INVALID_MOD_ID__USER_ERROR_MSG "Invalid log module id"
#define OB_LOG_MODULE_UNKNOWN__USER_ERROR_MSG \
  "Unknown module name. Invalid Setting:'%.*s'. Syntax:parMod.subMod:level, parMod.subMod:level"
#define OB_LOG_LEVEL_INVALID__USER_ERROR_MSG \
  "Invalid level. Invalid setting:'%.*s'. Syntax:parMod.subMod:level, parMod.subMod:level"
#define OB_LOG_PARSER_SYNTAX_ERR__USER_ERROR_MSG \
  "Syntax to set log_level error. Invalid setting:'%.*s'. Syntax:parMod.subMod:level, parMod.subMod:level"
#define OB_INDEX_OUT_OF_RANGE__USER_ERROR_MSG "Index out of range"
#define OB_INT_UNDERFLOW__USER_ERROR_MSG "Int underflow"
#define OB_UNKNOWN_CONNECTION__USER_ERROR_MSG "Unknown thread id: %lu"
#define OB_ERROR_OUT_OF_RANGE__USER_ERROR_MSG "Out of range"
#define OB_CACHE_SHRINK_FAILED__USER_ERROR_MSG "shrink cache failed, no available cache"
#define OB_OLD_SCHEMA_VERSION__USER_ERROR_MSG "Schema version too old"
#define OB_RELEASE_SCHEMA_ERROR__USER_ERROR_MSG "Release schema error"
#define OB_OP_NOT_ALLOW__USER_ERROR_MSG "%s not allowed"
#define OB_NO_EMPTY_ENTRY__USER_ERROR_MSG "No empty entry"
#define OB_ERR_ALREADY_EXISTS__USER_ERROR_MSG "Already exist"
#define OB_SEARCH_NOT_FOUND__USER_ERROR_MSG "Value not found"
#define OB_BEYOND_THE_RANGE__USER_ERROR_MSG "Key out of range"
#define OB_CS_OUTOF_DISK_SPACE__USER_ERROR_MSG "ChunkServer out of disk space"
#define OB_COLUMN_GROUP_NOT_FOUND__USER_ERROR_MSG "Column group not found"
#define OB_CS_COMPRESS_LIB_ERROR__USER_ERROR_MSG "ChunkServer failed to get compress library"
#define OB_ITEM_NOT_MATCH__USER_ERROR_MSG "Item not match"
#define OB_SCHEDULER_TASK_CNT_MISMATCH__USER_ERROR_MSG "Running task cnt and unfinished task cnt not consistent"
#define OB_INVALID_MACRO_BLOCK_TYPE__USER_ERROR_MSG "the macro block type does not exist"
#define OB_INVALID_DATE_FORMAT_END__USER_ERROR_MSG "Incorrect value"
#define OB_PG_IS_REMOVED__USER_ERROR_MSG "partition group is removed"
#define OB_HASH_EXIST__USER_ERROR_MSG "%s"
#define OB_HASH_NOT_EXIST__USER_ERROR_MSG "%s"
#define OB_HASH_GET_TIMEOUT__USER_ERROR_MSG "hash map/set get timeout"
#define OB_HASH_PLACEMENT_RETRY__USER_ERROR_MSG "hash map/set retry"
#define OB_HASH_FULL__USER_ERROR_MSG "hash map/set full"
#define OB_PACKET_PROCESSED__USER_ERROR_MSG "packet processed"
#define OB_WAIT_NEXT_TIMEOUT__USER_ERROR_MSG "wait next packet timeout"
#define OB_LEADER_NOT_EXIST__USER_ERROR_MSG "partition has not leader"
#define OB_PREPARE_MAJOR_FREEZE_FAILED__USER_ERROR_MSG "prepare major freeze failed"
#define OB_COMMIT_MAJOR_FREEZE_FAILED__USER_ERROR_MSG "commit major freeze failed"
#define OB_ABORT_MAJOR_FREEZE_FAILED__USER_ERROR_MSG "abort major freeze failed"
#define OB_MAJOR_FREEZE_NOT_FINISHED__USER_ERROR_MSG "last major freeze not finish"
#define OB_PARTITION_NOT_LEADER__USER_ERROR_MSG "partition is not leader partition"
#define OB_WAIT_MAJOR_FREEZE_RESPONSE_TIMEOUT__USER_ERROR_MSG "wait major freeze response timeout"
#define OB_CURL_ERROR__USER_ERROR_MSG "curl error"
#define OB_MAJOR_FREEZE_NOT_ALLOW__USER_ERROR_MSG "%s"
#define OB_PREPARE_FREEZE_FAILED__USER_ERROR_MSG "prepare freeze failed"
#define OB_INVALID_DATE_VALUE__USER_ERROR_MSG "Incorrect datetime value: '%s' for column '%s'"
#define OB_INACTIVE_SQL_CLIENT__USER_ERROR_MSG "Inactive sql client, only read allowed"
#define OB_INACTIVE_RPC_PROXY__USER_ERROR_MSG "Inactive rpc proxy, can not send RPC request"
#define OB_INTERVAL_WITH_MONTH__USER_ERROR_MSG "Interval with year or month can not be converted to microseconds"
#define OB_TOO_MANY_DATETIME_PARTS__USER_ERROR_MSG "Interval has too many datetime parts"
#define OB_DATA_OUT_OF_RANGE__USER_ERROR_MSG "Out of range value for column '%.*s' at row %ld"
#define OB_PARTITION_NOT_EXIST__USER_ERROR_MSG "Partition entry not exists"
#define OB_ERR_TRUNCATED_WRONG_VALUE_FOR_FIELD__USER_ERROR_MSG "Incorrect integer value: '%.*s'"
#define OB_ERR_NO_DEFAULT_FOR_FIELD__USER_ERROR_MSG "Field \'%s\' doesn't have a default value"
#define OB_ERR_FIELD_SPECIFIED_TWICE__USER_ERROR_MSG "Column \'%s\' specified twice"
#define OB_ERR_TOO_LONG_TABLE_COMMENT__USER_ERROR_MSG "Comment for table is too long (max = %ld)"
#define OB_ERR_TOO_LONG_FIELD_COMMENT__USER_ERROR_MSG "Comment for field is too long (max = %ld)"
#define OB_ERR_TOO_LONG_INDEX_COMMENT__USER_ERROR_MSG "Comment for index is too long (max = %ld)"
#define OB_NOT_FOLLOWER__USER_ERROR_MSG "The observer or zone is not a follower"
#define OB_ERR_OUT_OF_LOWER_BOUND__USER_ERROR_MSG "smaller than container lower bound"
#define OB_ERR_OUT_OF_UPPER_BOUND__USER_ERROR_MSG "bigger than container upper bound"
#define OB_BAD_NULL_ERROR__USER_ERROR_MSG "Column '%.*s' cannot be null"
#define OB_OBCONFIG_RETURN_ERROR__USER_ERROR_MSG "ObConfig return error code"
#define OB_OBCONFIG_APPNAME_MISMATCH__USER_ERROR_MSG "Appname mismatch with obconfig result"
#define OB_ERR_VIEW_SELECT_DERIVED__USER_ERROR_MSG "View's SELECT contains a subquery in the FROM clause"
#define OB_CANT_MJ_PATH__USER_ERROR_MSG "Can not use merge-join to join the tables without join conditions"
#define OB_ERR_NO_JOIN_ORDER_GENERATED__USER_ERROR_MSG "No join order generated"
#define OB_ERR_NO_PATH_GENERATED__USER_ERROR_MSG "No join path generated"
#define OB_ERR_WAIT_REMOTE_SCHEMA_REFRESH__USER_ERROR_MSG "Schema error"
#define OB_FILE_NOT_OPENED__USER_ERROR_MSG "file not opened"
#define OB_TIMER_TASK_HAS_SCHEDULED__USER_ERROR_MSG "Timer task has been scheduled"
#define OB_TIMER_TASK_HAS_NOT_SCHEDULED__USER_ERROR_MSG "Timer task has not been scheduled"
#define OB_PARSE_DEBUG_SYNC_ERROR__USER_ERROR_MSG "parse debug sync string error"
#define OB_UNKNOWN_DEBUG_SYNC_POINT__USER_ERROR_MSG "unknown debug sync point"
#define OB_ERR_INTERRUPTED__USER_ERROR_MSG "task is interrupted while running"
#define OB_ERR_DATA_TRUNCATED__USER_ERROR_MSG "Data truncated for column '%.*s' at row %ld"
#define OB_NOT_RUNNING__USER_ERROR_MSG "module is not running"
#define OB_INVALID_PARTITION__USER_ERROR_MSG "partition not valid"
#define OB_ERR_TIMEOUT_TRUNCATED__USER_ERROR_MSG "Timeout value truncated to 102 years"
#define OB_ERR_TOO_LONG_TENANT_COMMENT__USER_ERROR_MSG "Comment for tenant is too long (max = %ld)"
#define OB_ERR_NET_PACKET_TOO_LARGE__USER_ERROR_MSG "Got a packet bigger than \'max_allowed_packet\' bytes"
#define OB_TRACE_DESC_NOT_EXIST__USER_ERROR_MSG "trace log title or key not exist describle"
#define OB_ERR_NO_DEFAULT__USER_ERROR_MSG "Variable '%.*s' doesn't have a default value"
#define OB_ERR_COMPRESS_DECOMPRESS_DATA__USER_ERROR_MSG "compress data or decompress data failed"
#define OB_ERR_INCORRECT_STRING_VALUE__USER_ERROR_MSG "Incorrect string value for column '%.*s' at row %ld"
#define OB_ERR_DISTRIBUTED_NOT_SUPPORTED__USER_ERROR_MSG "%s not supported"
#define OB_IS_CHANGING_LEADER__USER_ERROR_MSG "the partition is changing leader"
#define OB_DATETIME_FUNCTION_OVERFLOW__USER_ERROR_MSG "Datetime overflow"
#define OB_ERR_DOUBLE_TRUNCATED__USER_ERROR_MSG "Truncated incorrect DOUBLE value: '%.*s'"
#define OB_MINOR_FREEZE_NOT_ALLOW__USER_ERROR_MSG "%s"
#define OB_LOG_OUTOF_DISK_SPACE__USER_ERROR_MSG "Log out of disk space"
#define OB_RPC_CONNECT_ERROR__USER_ERROR_MSG "Rpc connect error"
#define OB_MINOR_MERGE_NOT_ALLOW__USER_ERROR_MSG "minor merge not allow"
#define OB_CACHE_INVALID__USER_ERROR_MSG "Cache invalid"
#define OB_REACH_SERVER_DATA_COPY_IN_CONCURRENCY_LIMIT__USER_ERROR_MSG "reach server data copy in concurrency"
#define OB_WORKING_PARTITION_EXIST__USER_ERROR_MSG "Working partition entry already exists"
#define OB_WORKING_PARTITION_NOT_EXIST__USER_ERROR_MSG "Working partition entry does not exists"
#define OB_LIBEASY_REACH_MEM_LIMIT__USER_ERROR_MSG "LIBEASY reach memory limit"
#define OB_CACHE_FREE_BLOCK_NOT_ENOUGH__USER_ERROR_MSG "free memblock in cache is not enough"
#define OB_SYNC_WASH_MB_TIMEOUT__USER_ERROR_MSG "sync wash memblock timeout"
#define OB_NOT_ALLOW_MIGRATE_IN__USER_ERROR_MSG "not allow migrate in"
#define OB_SCHEDULER_TASK_CNT_MISTACH__USER_ERROR_MSG "Scheduler task cnt does not match"
#define OB_MISS_ARGUMENT__USER_ERROR_MSG "Miss argument for %s"
#define OB_LAST_LOG_NOT_COMPLETE__USER_ERROR_MSG "last log is not complete"
#define OB_TABLE_IS_DELETED__USER_ERROR_MSG "table is deleted"
#define OB_VERSION_RANGE_NOT_CONTINUES__USER_ERROR_MSG "version range not continues"
#define OB_INVALID_IO_BUFFER__USER_ERROR_MSG "io buffer is invalid"
#define OB_PARTITION_IS_REMOVED__USER_ERROR_MSG "partition is removed"
#define OB_GTS_NOT_READY__USER_ERROR_MSG "gts is not ready"
#define OB_MAJOR_SSTABLE_NOT_EXIST__USER_ERROR_MSG "major sstable not exist"
#define OB_VERSION_RANGE_DISCARDED__USER_ERROR_MSG "Request to read too old version range data"
#define OB_MAJOR_SSTABLE_HAS_MERGED__USER_ERROR_MSG "major sstable may has been merged"
#define OB_MINOR_SSTABLE_RANGE_CROSS__USER_ERROR_MSG "minor sstable version range cross"
#define OB_MEMTABLE_CANNOT_MINOR_MERGE__USER_ERROR_MSG "memtable cannot minor merge"
#define OB_TASK_EXIST__USER_ERROR_MSG "task exist"
#define OB_ALLOCATE_DISK_SPACE_FAILED__USER_ERROR_MSG "cannot allocate disk space"
#define OB_CANT_FIND_UDF__USER_ERROR_MSG "Can not load function %s"
#define OB_CANT_INITIALIZE_UDF__USER_ERROR_MSG "Can not initialize function '%.*s'"
#define OB_UDF_NO_PATHS__USER_ERROR_MSG "No paths allowed for shared library"
#define OB_UDF_EXISTS__USER_ERROR_MSG "Function %.*s already exists"
#define OB_CANT_OPEN_LIBRARY__USER_ERROR_MSG "Can not open shared library '%.*s'"
#define OB_CANT_FIND_DL_ENTRY__USER_ERROR_MSG "Can't find symbol %.*s in library"
#define OB_OBJECT_NAME_EXIST__USER_ERROR_MSG "name is already used by an existing object"
#define OB_OBJECT_NAME_NOT_EXIST__USER_ERROR_MSG "%s does not exist"
#define OB_ERR_DUP_ARGUMENT__USER_ERROR_MSG "Option '%s' used twice in statement"
#define OB_ERR_INVALID_SEQUENCE_NAME__USER_ERROR_MSG "invalid sequence name"
#define OB_ERR_DUP_MAXVALUE_SPEC__USER_ERROR_MSG "duplicate MAXVALUE/NOMAXVALUE specifications"
#define OB_ERR_DUP_MINVALUE_SPEC__USER_ERROR_MSG "duplicate MINVALUE/NOMINVALUE specifications"
#define OB_ERR_DUP_CYCLE_SPEC__USER_ERROR_MSG "duplicate CYCLE/NOCYCLE specifications"
#define OB_ERR_DUP_CACHE_SPEC__USER_ERROR_MSG "duplicate CACHE/NOCACHE specifications"
#define OB_ERR_DUP_ORDER_SPEC__USER_ERROR_MSG "duplicate ORDER/NOORDER specifications"
#define OB_ERR_CONFL_MAXVALUE_SPEC__USER_ERROR_MSG "conflicting MAXVALUE/NOMAXVALUE specifications"
#define OB_ERR_CONFL_MINVALUE_SPEC__USER_ERROR_MSG "conflicting MINVALUE/NOMINVALUE specifications"
#define OB_ERR_CONFL_CYCLE_SPEC__USER_ERROR_MSG "conflicting CYCLE/NOCYCLE specifications"
#define OB_ERR_CONFL_CACHE_SPEC__USER_ERROR_MSG "conflicting CACHE/NOCACHE specifications"
#define OB_ERR_CONFL_ORDER_SPEC__USER_ERROR_MSG "conflicting ORDER/NOORDER specifications"
#define OB_ERR_ALTER_START_SEQ_NUMBER_NOT_ALLOWED__USER_ERROR_MSG "cannot alter starting sequence number"
#define OB_ERR_DUP_INCREMENT_BY_SPEC__USER_ERROR_MSG "duplicate INCREMENT BY specifications"
#define OB_ERR_DUP_START_WITH_SPEC__USER_ERROR_MSG "duplicate START WITH specifications"
#define OB_ERR_REQUIRE_ALTER_SEQ_OPTION__USER_ERROR_MSG "no options specified for ALTER SEQUENCE"
#define OB_ERR_SEQ_NOT_ALLOWED_HERE__USER_ERROR_MSG "sequence number not allowed here"
#define OB_ERR_SEQ_NOT_EXIST__USER_ERROR_MSG "sequence does not exist"
#define OB_ERR_SEQ_OPTION_MUST_BE_INTEGER__USER_ERROR_MSG "sequence parameter %s must be an integer"
#define OB_ERR_SEQ_INCREMENT_CAN_NOT_BE_ZERO__USER_ERROR_MSG "INCREMENT must be a nonzero integer"
#define OB_ERR_SEQ_OPTION_EXCEED_RANGE__USER_ERROR_MSG "sequence parameter exceeds maximum size allowed"
#define OB_ERR_MINVALUE_LARGER_THAN_MAXVALUE__USER_ERROR_MSG "MINVALUE must be less than MAXVALUE"
#define OB_ERR_SEQ_INCREMENT_TOO_LARGE__USER_ERROR_MSG "INCREMENT must be less than MAXVALUE minus MINVALUE"
#define OB_ERR_START_WITH_LESS_THAN_MINVALUE__USER_ERROR_MSG "START WITH cannot be less than MINVALUE"
#define OB_ERR_MINVALUE_EXCEED_CURRVAL__USER_ERROR_MSG "MINVALUE cannot be made to exceed the current value"
#define OB_ERR_START_WITH_EXCEED_MAXVALUE__USER_ERROR_MSG "START WITH cannot be more than MAXVALUE"
#define OB_ERR_MAXVALUE_EXCEED_CURRVAL__USER_ERROR_MSG "MAXVALUE cannot be made to be less than the current value"
#define OB_ERR_SEQ_CACHE_TOO_SMALL__USER_ERROR_MSG "the number of values to CACHE must be greater than 1"
#define OB_ERR_SEQ_OPTION_OUT_OF_RANGE__USER_ERROR_MSG "sequence option value out of range"
#define OB_ERR_SEQ_CACHE_TOO_LARGE__USER_ERROR_MSG "number to CACHE must be less than one cycle"
#define OB_ERR_SEQ_REQUIRE_MINVALUE__USER_ERROR_MSG "descending sequences that CYCLE must specify MINVALUE"
#define OB_ERR_SEQ_REQUIRE_MAXVALUE__USER_ERROR_MSG "ascending sequences that CYCLE must specify MAXVALUE"
#define OB_ERR_SEQ_NO_LONGER_EXIST__USER_ERROR_MSG "sequence %s no longer exists"
#define OB_ERR_SEQ_VALUE_EXCEED_LIMIT__USER_ERROR_MSG "sequence exceeds %s and cannot be instantiated"
#define OB_ERR_DIVISOR_IS_ZERO__USER_ERROR_MSG "divisor is equal to zero"
#define OB_ERR_AES_IV_LENGTH__USER_ERROR_MSG \
  "The initialization vector supplied to aes_encrypt is too short. Must be at least 16 bytes long"
#define OB_STORE_DIR_ERROR__USER_ERROR_MSG "store directory structure error"
#define OB_OPEN_TWICE__USER_ERROR_MSG "open twice"
1532
#define OB_RAID_SUPER_BLOCK_NOT_MATCH__USER_ERROR_MSG "raid super block not match"
O
oceanbase-admin 已提交
1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711
#define OB_NOT_OPEN__USER_ERROR_MSG "not opened"
#define OB_NOT_IN_SERVICE__USER_ERROR_MSG "target module is not in service"
#define OB_RAID_DISK_NOT_NORMAL__USER_ERROR_MSG "raid disk not in normal status"
#define OB_TENANT_SCHEMA_NOT_FULL__USER_ERROR_MSG "tenant schema is not full"
#define OB_INVALID_QUERY_TIMESTAMP__USER_ERROR_MSG "invalid timestamp"
#define OB_DIR_NOT_EMPTY__USER_ERROR_MSG "dir not empty"
#define OB_SCHEMA_NOT_UPTODATE__USER_ERROR_MSG "schema is not up to date for read"
#define OB_ROLE_NOT_EXIST__USER_ERROR_MSG "role '%.*s' does not exist"
#define OB_ROLE_EXIST__USER_ERROR_MSG "role '%.*s' exists"
#define OB_PRIV_DUP__USER_ERROR_MSG "duplicate privilege listed"
#define OB_KEYSTORE_EXIST__USER_ERROR_MSG "the keystore already exists and each tenant can only have at most one"
#define OB_KEYSTORE_NOT_EXIST__USER_ERROR_MSG "the keystore is not exist"
#define OB_KEYSTORE_WRONG_PASSWORD__USER_ERROR_MSG "the password is wrong for keystore"
#define OB_TABLESPACE_EXIST__USER_ERROR_MSG "tablespace '%.*s' already exists"
#define OB_TABLESPACE_NOT_EXIST__USER_ERROR_MSG "tablespace '%.*s' does not exist"
#define OB_TABLESPACE_DELETE_NOT_EMPTY__USER_ERROR_MSG "cannot delete a tablespace which is not empty"
#define OB_FLOAT_PRECISION_OUT_RANGE__USER_ERROR_MSG "floating point precision is out of range (1 to 126)"
#define OB_NUMERIC_PRECISION_OUT_RANGE__USER_ERROR_MSG "numeric precision specifier is out of range (1 to 38)"
#define OB_NUMERIC_SCALE_OUT_RANGE__USER_ERROR_MSG "numeric scale specifier is out of range (-84 to 127)"
#define OB_KEYSTORE_NOT_OPEN__USER_ERROR_MSG "the keystore is not open"
#define OB_KEYSTORE_OPEN_NO_MASTER_KEY__USER_ERROR_MSG "the keystore opened with dont have a master key"
#define OB_SLOG_REACH_MAX_CONCURRENCY__USER_ERROR_MSG "slog active transaction entries reach maximum"
#define OB_ERR_NOT_VALID_PASSWORD__USER_ERROR_MSG "Your password does not satisfy the current policy requirements"
#define OB_ERR_MUST_CHANGE_PASSWORD__USER_ERROR_MSG \
  "You must reset your password using ALTER USER statement before executing this statement"
#define OB_OVERSIZE_NEED_RETRY__USER_ERROR_MSG "The data more than 64M(rpc limit), split into smaller task and retry"
#define OB_OBCONFIG_CLUSTER_NOT_EXIST__USER_ERROR_MSG "cluster not exists"
#define OB_ERR_VALUE_LARGER_THAN_ALLOWED__USER_ERROR_MSG "value larger than specified precision allowed for this column"
#define OB_DISK_ERROR__USER_ERROR_MSG "observer has disk error"
#define OB_UNIMPLEMENTED_FEATURE__USER_ERROR_MSG "unimplemented feature"
#define OB_IMPORT_NOT_IN_SERVER__USER_ERROR_MSG "Import not in service"
#define OB_CONVERT_ERROR__USER_ERROR_MSG "Convert error"
#define OB_BYPASS_TIMEOUT__USER_ERROR_MSG "Bypass timeout"
#define OB_RS_STATE_NOT_ALLOW__USER_ERROR_MSG "RootServer state error"
#define OB_NO_REPLICA_VALID__USER_ERROR_MSG "No replica is valid"
#define OB_NO_NEED_UPDATE__USER_ERROR_MSG "No need to update"
#define OB_CACHE_TIMEOUT__USER_ERROR_MSG "Cache timeout"
#define OB_ITER_STOP__USER_ERROR_MSG "Iteration was stopped"
#define OB_ZONE_ALREADY_MASTER__USER_ERROR_MSG "The zone is the master already"
#define OB_IP_PORT_IS_NOT_SLAVE_ZONE__USER_ERROR_MSG "Not slave zone"
#define OB_ZONE_IS_NOT_SLAVE__USER_ERROR_MSG "Not slave zone"
#define OB_ZONE_IS_NOT_MASTER__USER_ERROR_MSG "Not master zone"
#define OB_CONFIG_NOT_SYNC__USER_ERROR_MSG "Configuration not sync"
#define OB_IP_PORT_IS_NOT_ZONE__USER_ERROR_MSG "Not a zone address"
#define OB_MASTER_ZONE_NOT_EXIST__USER_ERROR_MSG "Master zone not exist"
#define OB_ZONE_INFO_NOT_EXIST__USER_ERROR_MSG "Zone info \'%s\' not exist"
#define OB_GET_ZONE_MASTER_UPS_FAILED__USER_ERROR_MSG "Failed to get master UpdateServer"
#define OB_MULTIPLE_MASTER_ZONES_EXIST__USER_ERROR_MSG "Multiple master zones"
#define OB_INDEXING_ZONE_INVALID__USER_ERROR_MSG "indexing zone is not exist anymore or not active"
#define OB_ROOT_TABLE_RANGE_NOT_EXIST__USER_ERROR_MSG "Tablet range not exist"
#define OB_ROOT_MIGRATE_CONCURRENCY_FULL__USER_ERROR_MSG "Migrate concurrency full"
#define OB_ROOT_MIGRATE_INFO_NOT_FOUND__USER_ERROR_MSG "Migrate info not found"
#define OB_NOT_DATA_LOAD_TABLE__USER_ERROR_MSG "No data to load"
#define OB_DATA_LOAD_TABLE_DUPLICATED__USER_ERROR_MSG "Duplicated table data to load"
#define OB_ROOT_TABLE_ID_EXIST__USER_ERROR_MSG "Table ID exist"
#define OB_INDEX_TIMEOUT__USER_ERROR_MSG "Building index timeout"
#define OB_ROOT_NOT_INTEGRATED__USER_ERROR_MSG "Root not integrated"
#define OB_INDEX_INELIGIBLE__USER_ERROR_MSG "index data not unique"
#define OB_REBALANCE_EXEC_TIMEOUT__USER_ERROR_MSG "execute replication or migration task timeout"
#define OB_MERGE_NOT_STARTED__USER_ERROR_MSG "global merge not started"
#define OB_MERGE_ALREADY_STARTED__USER_ERROR_MSG "merge already started"
#define OB_ROOTSERVICE_EXIST__USER_ERROR_MSG "rootservice already exist"
#define OB_RS_SHUTDOWN__USER_ERROR_MSG "rootservice is shutdown"
#define OB_SERVER_MIGRATE_IN_DENIED__USER_ERROR_MSG "server migrate in denied"
#define OB_REBALANCE_TASK_CANT_EXEC__USER_ERROR_MSG "rebalance task can not executing now"
#define OB_PARTITION_CNT_REACH_ROOTSERVER_LIMIT__USER_ERROR_MSG "rootserver can not hold more partition"
#define OB_REBALANCE_TASK_NOT_IN_PROGRESS__USER_ERROR_MSG "rebalance task not in progress on observer"
#define OB_DATA_SOURCE_NOT_EXIST__USER_ERROR_MSG "Data source not exist"
#define OB_DATA_SOURCE_TABLE_NOT_EXIST__USER_ERROR_MSG "Data source table not exist"
#define OB_DATA_SOURCE_RANGE_NOT_EXIST__USER_ERROR_MSG "Data source range not exist"
#define OB_DATA_SOURCE_DATA_NOT_EXIST__USER_ERROR_MSG "Data source data not exist"
#define OB_DATA_SOURCE_SYS_ERROR__USER_ERROR_MSG "Data source sys error"
#define OB_DATA_SOURCE_TIMEOUT__USER_ERROR_MSG "Data source timeout"
#define OB_DATA_SOURCE_CONCURRENCY_FULL__USER_ERROR_MSG "Data source concurrency full"
#define OB_DATA_SOURCE_WRONG_URI_FORMAT__USER_ERROR_MSG "Data source wrong URI format"
#define OB_SSTABLE_VERSION_UNEQUAL__USER_ERROR_MSG "SSTable version not equal"
#define OB_UPS_RENEW_LEASE_NOT_ALLOWED__USER_ERROR_MSG "ups should not renew its lease"
#define OB_UPS_COUNT_OVER_LIMIT__USER_ERROR_MSG "ups count over limit"
#define OB_NO_UPS_MAJORITY__USER_ERROR_MSG "ups not form a majority"
#define OB_INDEX_COUNT_REACH_THE_LIMIT__USER_ERROR_MSG "created index tables count has reach the limit:128"
#define OB_TASK_EXPIRED__USER_ERROR_MSG "task expired"
#define OB_TABLEGROUP_NOT_EMPTY__USER_ERROR_MSG "tablegroup is not empty"
#define OB_INVALID_SERVER_STATUS__USER_ERROR_MSG "server status is not valid"
#define OB_WAIT_ELEC_LEADER_TIMEOUT__USER_ERROR_MSG "wait elect partition leader timeout"
#define OB_WAIT_ALL_RS_ONLINE_TIMEOUT__USER_ERROR_MSG "wait all rs online timeout"
#define OB_ALL_REPLICAS_ON_MERGE_ZONE__USER_ERROR_MSG "all replicas of partition group are on zones to merge"
#define OB_MACHINE_RESOURCE_NOT_ENOUGH__USER_ERROR_MSG " machine resource \'%s\' is not enough to hold a new unit"
#define OB_NOT_SERVER_CAN_HOLD_SOFTLY__USER_ERROR_MSG "not server can hole the unit and not over soft limit"
#define OB_RESOURCE_POOL_ALREADY_GRANTED__USER_ERROR_MSG "resource pool \'%s\' has already been granted to a tenant"
#define OB_SERVER_ALREADY_DELETED__USER_ERROR_MSG "server has already been deleted"
#define OB_SERVER_NOT_DELETING__USER_ERROR_MSG "server is not in deleting status"
#define OB_SERVER_NOT_IN_WHITE_LIST__USER_ERROR_MSG "server not in server white list"
#define OB_SERVER_ZONE_NOT_MATCH__USER_ERROR_MSG "server zone not match"
#define OB_OVER_ZONE_NUM_LIMIT__USER_ERROR_MSG "zone num has reach max zone num"
#define OB_ZONE_STATUS_NOT_MATCH__USER_ERROR_MSG "zone status not match"
#define OB_RESOURCE_UNIT_IS_REFERENCED__USER_ERROR_MSG "resource unit \'%s\' is referenced by some resource pool"
#define OB_DIFFERENT_PRIMARY_ZONE__USER_ERROR_MSG \
  "table schema primary zone different with other table in sampe tablegroup"
#define OB_SERVER_NOT_ACTIVE__USER_ERROR_MSG "server is not active"
#define OB_RS_NOT_MASTER__USER_ERROR_MSG "The RootServer is not the master"
#define OB_CANDIDATE_LIST_ERROR__USER_ERROR_MSG "The candidate list is invalid"
#define OB_PARTITION_ZONE_DUPLICATED__USER_ERROR_MSG "The chosen partition servers belong to same zone."
#define OB_ZONE_DUPLICATED__USER_ERROR_MSG "Duplicated zone \'%s\' in zone list %s"
#define OB_NOT_ALL_ZONE_ACTIVE__USER_ERROR_MSG "Not all zone in zone list are active"
#define OB_PRIMARY_ZONE_NOT_IN_ZONE_LIST__USER_ERROR_MSG "primary zone \'%s\' not in zone list %s"
#define OB_REPLICA_NUM_NOT_MATCH__USER_ERROR_MSG "replica num not same with zone count"
#define OB_ZONE_LIST_POOL_LIST_NOT_MATCH__USER_ERROR_MSG "zone list %s not a subset of resource pool zone list %s"
#define OB_INVALID_TENANT_NAME__USER_ERROR_MSG "tenant name \'%s\' over max_tenant_name_length %ld"
#define OB_EMPTY_RESOURCE_POOL_LIST__USER_ERROR_MSG "resource pool list is empty"
#define OB_RESOURCE_UNIT_NOT_EXIST__USER_ERROR_MSG "resource unit \'%s\' not exist"
#define OB_RESOURCE_UNIT_EXIST__USER_ERROR_MSG "resource unit \'%s\' already exist"
#define OB_RESOURCE_POOL_NOT_EXIST__USER_ERROR_MSG "resource pool \'%s\' not exist"
#define OB_RESOURCE_POOL_EXIST__USER_ERROR_MSG "resource pool \'%s\' exist"
#define OB_WAIT_LEADER_SWITCH_TIMEOUT__USER_ERROR_MSG "wait leader switch timeout"
#define OB_LOCATION_NOT_EXIST__USER_ERROR_MSG "location not exist"
#define OB_LOCATION_LEADER_NOT_EXIST__USER_ERROR_MSG "location leader not exist"
#define OB_ZONE_NOT_ACTIVE__USER_ERROR_MSG "zone not active"
#define OB_UNIT_NUM_OVER_SERVER_COUNT__USER_ERROR_MSG "resource pool unit num is bigger than zone server count"
#define OB_POOL_SERVER_INTERSECT__USER_ERROR_MSG "resource pool list %s unit servers intersect"
#define OB_NOT_SINGLE_RESOURCE_POOL__USER_ERROR_MSG \
  "create tenant only support single resource pool now, but pool list is %s"
#define OB_INVALID_RESOURCE_UNIT__USER_ERROR_MSG "invalid resource unit, %s\'s min value is %s"
#define OB_STOP_SERVER_IN_MULTIPLE_ZONES__USER_ERROR_MSG "%s"
#define OB_SESSION_ENTRY_EXIST__USER_ERROR_MSG "Session already exist"
#define OB_GOT_SIGNAL_ABORTING__USER_ERROR_MSG "%s: Got signal %d. Aborting!"
#define OB_SERVER_NOT_ALIVE__USER_ERROR_MSG "server is not alive"
#define OB_GET_LOCATION_TIME_OUT__USER_ERROR_MSG "Timeout"
#define OB_UNIT_IS_MIGRATING__USER_ERROR_MSG "Unit is migrating, can not migrate again"
#define OB_CLUSTER_NO_MATCH__USER_ERROR_MSG "cluster name does not match to \'%s\'"
#define OB_CHECK_ZONE_MERGE_ORDER__USER_ERROR_MSG \
  "Please check new zone in zone_merge_order. You can show parameters like 'zone_merge_order'"
#define OB_ERR_ZONE_NOT_EMPTY__USER_ERROR_MSG                                                                       \
  "The zone is not empty and can not be deleted. You should delete the servers of the zone. There are %ld servers " \
  "alive and %ld not alive."
#define OB_DIFFERENT_LOCALITY__USER_ERROR_MSG "locality not match, check it"
#define OB_EMPTY_LOCALITY__USER_ERROR_MSG "locality is empty"
#define OB_FULL_REPLICA_NUM_NOT_ENOUGH__USER_ERROR_MSG "full replica num not enough"
#define OB_REPLICA_NUM_NOT_ENOUGH__USER_ERROR_MSG "replica num not enough"
#define OB_DATA_SOURCE_NOT_VALID__USER_ERROR_MSG "Data source not valid"
#define OB_RUN_JOB_NOT_SUCCESS__USER_ERROR_MSG "run job not success yet"
#define OB_NO_NEED_REBUILD__USER_ERROR_MSG "no need to rebuild"
#define OB_NEED_REMOVE_UNNEED_TABLE__USER_ERROR_MSG "need remove unneed table"
#define OB_NO_NEED_MERGE__USER_ERROR_MSG "no need to merge"
#define OB_CONFLICT_OPTION__USER_ERROR_MSG "conflicting %.*s specifications"
#define OB_DUPLICATE_OPTION__USER_ERROR_MSG "duplicate %.*s specifications"
#define OB_INVALID_OPTION__USER_ERROR_MSG "%s"
#define OB_RPC_NEED_RECONNECT__USER_ERROR_MSG "%s"
#define OB_CANNOT_COPY_MAJOR_SSTABLE__USER_ERROR_MSG "cannot copy major sstable now"
#define OB_SRC_DO_NOT_ALLOWED_MIGRATE__USER_ERROR_MSG "src do not allowed migrate"
#define OB_TOO_MANY_TENANT_PARTITIONS_ERROR__USER_ERROR_MSG "Too many partitions were defined for this tenant"
#define OB_ACTIVE_MEMTBALE_NOT_EXSIT__USER_ERROR_MSG "active memtable not exist"
#define OB_USE_DUP_FOLLOW_AFTER_DML__USER_ERROR_MSG "Should use leader replica for duplicate table after DML operator"
#define OB_NO_DISK_NEED_REBUILD__USER_ERROR_MSG "no disk need rebuild"
#define OB_STANDBY_WEAK_READ_ONLY__USER_ERROR_MSG "standby cluster support weak read only"
#define OB_INVALD_WEB_SERVICE_CONTENT__USER_ERROR_MSG "web service content not valid"
#define OB_PRIMARY_CLUSTER_EXIST__USER_ERROR_MSG "other primary cluster already exist, can not start as primary"
#define OB_ARRAY_BINDING_SWITCH_ITERATOR__USER_ERROR_MSG "array binding needs to switch iterator"
#define OB_ERR_STANDBY_CLUSTER_NOT_EMPTY__USER_ERROR_MSG "standby cluster not empty"
#define OB_NOT_PRIMARY_CLUSTER__USER_ERROR_MSG "not primary cluster"
#define OB_ERR_CHECK_DROP_COLUMN_FAILED__USER_ERROR_MSG "check drop column failed"
#define OB_NOT_STANDBY_CLUSTER__USER_ERROR_MSG "not standby cluster"
#define OB_CLUSTER_VERSION_NOT_COMPATIBLE__USER_ERROR_MSG "cluster version not compatible"
#define OB_WAIT_TRANS_TABLE_MERGE_TIMEOUT__USER_ERROR_MSG "wait trans table merge finish timeout"
#define OB_SKIP_RENEW_LOCATION_BY_RPC__USER_ERROR_MSG "skip renew location by rpc"
#define OB_RENEW_LOCATION_BY_RPC_FAILED__USER_ERROR_MSG "renew location by rpc failed"
#define OB_CLUSTER_ID_NO_MATCH__USER_ERROR_MSG "cluster id does not match"
#define OB_ERR_PARAM_INVALID__USER_ERROR_MSG "parameter cannot be modified because specified value is invalid"
#define OB_ERR_RES_OBJ_ALREADY_EXIST__USER_ERROR_MSG "%s %.*s already exists"
#define OB_ERR_RES_PLAN_NOT_EXIST__USER_ERROR_MSG "resource plan %.*s does not exist"
#define OB_ERR_PERCENTAGE_OUT_OF_RANGE__USER_ERROR_MSG "value %ld for %s is outside valid range of 0 to 100"
#define OB_ERR_PLAN_DIRECTIVE_NOT_EXIST__USER_ERROR_MSG "plan directive %.*s, %.*s does not exist"
#define OB_ERR_PLAN_DIRECTIVE_ALREADY_EXIST__USER_ERROR_MSG "plan directive %.*s, %.*s already exists"
#define OB_ERR_INVALID_PLAN_DIRECTIVE_NAME__USER_ERROR_MSG "plan directive name '%.*s' not supported."
#define OB_FAILOVER_NOT_ALLOW__USER_ERROR_MSG "%s"
#define OB_ADD_CLUSTER_NOT_ALLOWED__USER_ERROR_MSG "Add cluster not allowed. Actions: %s"
#define OB_ERR_CONSUMER_GROUP_NOT_EXIST__USER_ERROR_MSG "consumer group %.*s does not exist"
#define OB_CLUSTER_NOT_ACCESSIBLE__USER_ERROR_MSG "cluster is not accessible, cluster_id: %ld"
#define OB_TENANT_RESOURCE_UNIT_EXIST__USER_ERROR_MSG \
  "tenant already has resource unit configured, tenant_id: %ld, observer: \'%s\'"
B
bz0 已提交
1712 1713
#define OB_ERR_DROP_TRUNCATE_PARTITION_REBUILD_INDEX__USER_ERROR_MSG "rebuild global index:'%.*s' failed when drop/truncate partitions"
#define OB_ERR_ATLER_TABLE_ILLEGAL_FK__USER_ERROR_MSG "unique/primary keys in table referenced by enabled foreign keys"
O
oceanbase-admin 已提交
1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556
#define OB_ERR_PARSER_INIT__USER_ERROR_MSG "Failed to init SQL parser"
#define OB_ERR_PARSE_SQL__USER_ERROR_MSG "%s near \'%.*s\' at line %d"
#define OB_ERR_RESOLVE_SQL__USER_ERROR_MSG "Resolve error"
#define OB_ERR_GEN_PLAN__USER_ERROR_MSG "Generate plan error"
#define OB_ERR_PARSER_SYNTAX__USER_ERROR_MSG                                                                         \
  "You have an error in your SQL syntax; check the manual that corresponds to your OceanBase version for the right " \
  "syntax to use"
#define OB_ERR_COLUMN_SIZE__USER_ERROR_MSG "The used SELECT statements have a different number of columns"
#define OB_ERR_COLUMN_DUPLICATE__USER_ERROR_MSG "Duplicate column name '%.*s'"
#define OB_ERR_OPERATOR_UNKNOWN__USER_ERROR_MSG "Unknown operator"
#define OB_ERR_STAR_DUPLICATE__USER_ERROR_MSG "Duplicated star"
#define OB_ERR_ILLEGAL_ID__USER_ERROR_MSG "%s"
#define OB_ERR_ILLEGAL_VALUE__USER_ERROR_MSG "Illegal value"
#define OB_ERR_COLUMN_AMBIGUOUS__USER_ERROR_MSG "Ambiguous column"
#define OB_ERR_LOGICAL_PLAN_FAILD__USER_ERROR_MSG "Generate logical plan error"
#define OB_ERR_SCHEMA_UNSET__USER_ERROR_MSG "Schema not set"
#define OB_ERR_ILLEGAL_NAME__USER_ERROR_MSG "Illegal name"
#define OB_TABLE_NOT_EXIST__USER_ERROR_MSG "Table \'%s.%s\' doesn\'t exist"
#define OB_ERR_TABLE_EXIST__USER_ERROR_MSG "Table '%.*s' already exists"
#define OB_ERR_EXPR_UNKNOWN__USER_ERROR_MSG "Unknown expression"
#define OB_ERR_ILLEGAL_TYPE__USER_ERROR_MSG \
  "unsupport MySQL type %d. Maybe you should use java.sql.Timestamp instead of java.util.Date."
#define OB_ERR_PRIMARY_KEY_DUPLICATE__USER_ERROR_MSG "Duplicate entry \'%s\' for key \'%.*s\'"
#define OB_ERR_KEY_NAME_DUPLICATE__USER_ERROR_MSG "Duplicate key name \'%.*s\'"
#define OB_ERR_CREATETIME_DUPLICATE__USER_ERROR_MSG "Duplicated createtime"
#define OB_ERR_MODIFYTIME_DUPLICATE__USER_ERROR_MSG "Duplicated modifytime"
#define OB_ERR_ILLEGAL_INDEX__USER_ERROR_MSG "Illegal index"
#define OB_ERR_INVALID_SCHEMA__USER_ERROR_MSG "Invalid schema"
#define OB_ERR_INSERT_NULL_ROWKEY__USER_ERROR_MSG "Insert null into %.*s"
#define OB_ERR_COLUMN_NOT_FOUND__USER_ERROR_MSG "Column not found"
#define OB_ERR_DELETE_NULL_ROWKEY__USER_ERROR_MSG "Delete null rowkey"
#define OB_ERR_USER_EMPTY__USER_ERROR_MSG "No user"
#define OB_ERR_USER_NOT_EXIST__USER_ERROR_MSG "User not exist"
#define OB_ERR_NO_PRIVILEGE__USER_ERROR_MSG \
  "Access denied; you need (at least one of) the %s privilege(s) for this operation"
#define OB_ERR_NO_AVAILABLE_PRIVILEGE_ENTRY__USER_ERROR_MSG "No privilege entry"
#define OB_ERR_WRONG_PASSWORD__USER_ERROR_MSG "Incorrect password"
#define OB_ERR_USER_IS_LOCKED__USER_ERROR_MSG "User locked"
#define OB_ERR_UPDATE_ROWKEY_COLUMN__USER_ERROR_MSG "Can not update rowkey column"
#define OB_ERR_UPDATE_JOIN_COLUMN__USER_ERROR_MSG "Can not update join column"
#define OB_ERR_INVALID_COLUMN_NUM__USER_ERROR_MSG "Operand should contain %ld column(s)"
#define OB_ERR_PREPARE_STMT_NOT_FOUND__USER_ERROR_MSG "statement not prepared, stmt_id=%u"
#define OB_ERR_SYS_VARIABLE_UNKNOWN__USER_ERROR_MSG "Unknown system variable '%.*s'"
#define OB_ERR_OLDER_PRIVILEGE_VERSION__USER_ERROR_MSG "Older privilege version"
#define OB_ERR_LACK_OF_ROWKEY_COL__USER_ERROR_MSG "Primary key column(s) not specified in the WHERE clause"
#define OB_ERR_USER_EXIST__USER_ERROR_MSG "User exists"
#define OB_ERR_PASSWORD_EMPTY__USER_ERROR_MSG "Empty password"
#define OB_ERR_GRANT_PRIVILEGES_TO_CREATE_TABLE__USER_ERROR_MSG "Failed to grant privelege"
#define OB_ERR_WRONG_DYNAMIC_PARAM__USER_ERROR_MSG \
  "Incorrect arguments number to EXECUTE, need %ld arguments but give %ld"
#define OB_ERR_PARAM_SIZE__USER_ERROR_MSG "Incorrect parameter count in the call to native function '%.*s'"
#define OB_ERR_FUNCTION_UNKNOWN__USER_ERROR_MSG "FUNCTION %.*s does not exist"
#define OB_ERR_CREAT_MODIFY_TIME_COLUMN__USER_ERROR_MSG "CreateTime or ModifyTime column cannot be modified"
#define OB_ERR_MODIFY_PRIMARY_KEY__USER_ERROR_MSG "Primary key cannot be modified"
#define OB_ERR_PARAM_DUPLICATE__USER_ERROR_MSG "Duplicated parameters"
#define OB_ERR_TOO_MANY_SESSIONS__USER_ERROR_MSG "Too many sessions"
#define OB_ERR_TOO_MANY_PS__USER_ERROR_MSG "Too many prepared statements"
#define OB_ERR_HINT_UNKNOWN__USER_ERROR_MSG "Unknown hint"
#define OB_ERR_WHEN_UNSATISFIED__USER_ERROR_MSG "When condition not satisfied"
#define OB_ERR_QUERY_INTERRUPTED__USER_ERROR_MSG "Query execution was interrupted"
#define OB_ERR_SESSION_INTERRUPTED__USER_ERROR_MSG "Session interrupted"
#define OB_ERR_UNKNOWN_SESSION_ID__USER_ERROR_MSG "Unknown session ID"
#define OB_ERR_PROTOCOL_NOT_RECOGNIZE__USER_ERROR_MSG "Incorrect protocol"
#define OB_ERR_WRITE_AUTH_ERROR__USER_ERROR_MSG "Write auth packet error"
#define OB_ERR_PARSE_JOIN_INFO__USER_ERROR_MSG "Wrong join info"
#define OB_ERR_ALTER_INDEX_COLUMN__USER_ERROR_MSG "Cannot alter index column"
#define OB_ERR_MODIFY_INDEX_TABLE__USER_ERROR_MSG "Cannot modify index table"
#define OB_ERR_INDEX_UNAVAILABLE__USER_ERROR_MSG "Index unavailable"
#define OB_ERR_NOP_VALUE__USER_ERROR_MSG "NOP cannot be used here"
#define OB_ERR_PS_TOO_MANY_PARAM__USER_ERROR_MSG "Prepared statement contains too many placeholders"
#define OB_ERR_READ_ONLY__USER_ERROR_MSG "The server is read only now"
#define OB_ERR_INVALID_TYPE_FOR_OP__USER_ERROR_MSG "invalid obj type for type promotion: left_type=%s right_type=%s"
#define OB_ERR_CAST_VARCHAR_TO_BOOL__USER_ERROR_MSG "Can not cast varchar value to bool type"
#define OB_ERR_CAST_VARCHAR_TO_NUMBER__USER_ERROR_MSG "Not a number Can not cast varchar value to number type"
#define OB_ERR_CAST_VARCHAR_TO_TIME__USER_ERROR_MSG "Not timestamp Can not cast varchar value to timestamp type"
#define OB_ERR_CAST_NUMBER_OVERFLOW__USER_ERROR_MSG "Result value was out of range when cast to number"
#define OB_INTEGER_PRECISION_OVERFLOW__USER_ERROR_MSG \
  "value larger than specified precision(%ld,%ld) allowed for this column"
#define OB_DECIMAL_PRECISION_OVERFLOW__USER_ERROR_MSG \
  "value(%s) larger than specified precision(%ld,%ld) allowed for this column"
#define OB_SCHEMA_NUMBER_PRECISION_OVERFLOW__USER_ERROR_MSG "Precision was out of range"
#define OB_SCHEMA_NUMBER_SCALE_OVERFLOW__USER_ERROR_MSG "Scale value was out of range"
#define OB_ERR_INDEX_UNKNOWN__USER_ERROR_MSG "Unknown index"
#define OB_NUMERIC_OVERFLOW__USER_ERROR_MSG "Result value was out of range when casting varchar to number"
#define OB_ERR_TOO_MANY_JOIN_TABLES__USER_ERROR_MSG "too many joined tables"
#define OB_ERR_VARCHAR_TOO_LONG__USER_ERROR_MSG "Data too long(%d>%ld) for column '%s'"
#define OB_ERR_SYS_CONFIG_UNKNOWN__USER_ERROR_MSG "System config unknown"
#define OB_ERR_LOCAL_VARIABLE__USER_ERROR_MSG \
  "Variable \'%.*s\' is a SESSION variable and can't be used with SET GLOBAL"
#define OB_ERR_GLOBAL_VARIABLE__USER_ERROR_MSG \
  "Variable \'%.*s\' is a GLOBAL variable and should be set with SET GLOBAL"
#define OB_ERR_VARIABLE_IS_READONLY__USER_ERROR_MSG \
  "%.*s variable '%.*s' is read-only. Use SET %.*s to assign the value"
#define OB_ERR_INCORRECT_GLOBAL_LOCAL_VAR__USER_ERROR_MSG "Variable '%.*s' is a %.*s variable"
#define OB_ERR_EXPIRE_INFO_TOO_LONG__USER_ERROR_MSG "length(%d) of expire_info is larger than the max allowed(%ld)"
#define OB_ERR_EXPIRE_COND_TOO_LONG__USER_ERROR_MSG \
  "total length(%ld) of expire_info and its expression is larger than the max allowed(%ld)"
#define OB_INVALID_ARGUMENT_FOR_EXTRACT__USER_ERROR_MSG "EXTRACT() expected timestamp or a string as date argument"
#define OB_INVALID_ARGUMENT_FOR_IS__USER_ERROR_MSG "Invalid operand type for IS operator, lval=%s"
#define OB_INVALID_ARGUMENT_FOR_LENGTH__USER_ERROR_MSG "function LENGTH() expected a varchar argument"
#define OB_INVALID_ARGUMENT_FOR_SUBSTR__USER_ERROR_MSG "invalid input format. ret=%d text=%s start=%s length=%s"
#define OB_INVALID_ARGUMENT_FOR_TIME_TO_USEC__USER_ERROR_MSG \
  "TIME_TO_USEC() expected timestamp or a string as date argument"
#define OB_INVALID_ARGUMENT_FOR_USEC_TO_TIME__USER_ERROR_MSG "USEC_TO_TIME expected a interger number as usec argument"
#define OB_ERR_USER_VARIABLE_UNKNOWN__USER_ERROR_MSG "Variable %.*s does not exists"
#define OB_ILLEGAL_USAGE_OF_MERGING_FROZEN_TIME__USER_ERROR_MSG \
  "MERGING_FROZEN_TIME() system function only be used in daily merging."
#define OB_INVALID_NUMERIC__USER_ERROR_MSG "Invalid numeric char '%c'"
#define OB_ERR_REGEXP_ERROR__USER_ERROR_MSG "Got error 'empty (sub)expression' from regexp"
#define OB_SQL_LOG_OP_SETCHILD_OVERFLOW__USER_ERROR_MSG "Logical operator child index overflow"
#define OB_SQL_EXPLAIN_FAILED__USER_ERROR_MSG "fail to explain plan"
#define OB_SQL_OPT_COPY_OP_FAILED__USER_ERROR_MSG "fail to copy logical operator"
#define OB_SQL_OPT_GEN_PLAN_FALIED__USER_ERROR_MSG "fail to generate plan"
#define OB_SQL_OPT_CREATE_RAWEXPR_FAILED__USER_ERROR_MSG "fail to create raw expr"
#define OB_SQL_OPT_JOIN_ORDER_FAILED__USER_ERROR_MSG "fail to generate join order"
#define OB_SQL_OPT_ERROR__USER_ERROR_MSG "optimizer general error"
#define OB_SQL_RESOLVER_NO_MEMORY__USER_ERROR_MSG "sql resolver no memory"
#define OB_SQL_DML_ONLY__USER_ERROR_MSG "plan cache support dml only"
#define OB_ERR_NO_GRANT__USER_ERROR_MSG "No such grant defined"
#define OB_ERR_NO_DB_SELECTED__USER_ERROR_MSG "No database selected"
#define OB_SQL_PC_OVERFLOW__USER_ERROR_MSG "plan cache is overflow"
#define OB_SQL_PC_PLAN_DUPLICATE__USER_ERROR_MSG "plan exists in plan cache already"
#define OB_SQL_PC_PLAN_EXPIRE__USER_ERROR_MSG "plan is expired"
#define OB_SQL_PC_NOT_EXIST__USER_ERROR_MSG "no plan exist"
#define OB_SQL_PARAMS_LIMIT__USER_ERROR_MSG "too many params, plan cache not support"
#define OB_SQL_PC_PLAN_SIZE_LIMIT__USER_ERROR_MSG "plan is too big to add to plan cache"
#define OB_ERR_UNKNOWN_CHARSET__USER_ERROR_MSG "Unknown character set: '%.*s'"
#define OB_ERR_UNKNOWN_COLLATION__USER_ERROR_MSG "Unknown collation: '%.*s'"
#define OB_ERR_COLLATION_MISMATCH__USER_ERROR_MSG "COLLATION '%.*s' is not valid for CHARACTER SET '%.*s'"
#define OB_ERR_WRONG_VALUE_FOR_VAR__USER_ERROR_MSG "Variable \'%.*s\' can't be set to the value of \'%.*s\'"
#define OB_UNKNOWN_PARTITION__USER_ERROR_MSG "Unkown partition '%.*s' in table '%.*s'"
#define OB_PARTITION_NOT_MATCH__USER_ERROR_MSG "Found a row not matching the given partition set"
#define OB_ER_PASSWD_LENGTH__USER_ERROR_MSG " Password hash should be a 40-digit hexadecimal number"
#define OB_ERR_INSERT_INNER_JOIN_COLUMN__USER_ERROR_MSG "Insert inner join column error"
#define OB_TENANT_NOT_IN_SERVER__USER_ERROR_MSG "Tenant not in this server"
#define OB_TABLEGROUP_NOT_EXIST__USER_ERROR_MSG "tablegroup not exist"
#define OB_SUBQUERY_TOO_MANY_ROW__USER_ERROR_MSG "Subquery returns more than 1 row"
#define OB_ERR_BAD_DATABASE__USER_ERROR_MSG "Unknown database '%.*s'"
#define OB_CANNOT_USER__USER_ERROR_MSG "Operation %.*s failed for %.*s"
#define OB_TENANT_EXIST__USER_ERROR_MSG "tenant \'%s\' already exist"
#define OB_TENANT_NOT_EXIST__USER_ERROR_MSG "Unknown tenant '%.*s'"
#define OB_DATABASE_EXIST__USER_ERROR_MSG "Can't create database '%.*s'; database exists"
#define OB_TABLEGROUP_EXIST__USER_ERROR_MSG "tablegroup already exist"
#define OB_ERR_INVALID_TENANT_NAME__USER_ERROR_MSG "invalid tenant name specified in connection string"
#define OB_EMPTY_TENANT__USER_ERROR_MSG "tenant is empty"
#define OB_WRONG_DB_NAME__USER_ERROR_MSG "Incorrect database name '%.*s'"
#define OB_WRONG_TABLE_NAME__USER_ERROR_MSG "Incorrect table name '%.*s'"
#define OB_WRONG_COLUMN_NAME__USER_ERROR_MSG "Incorrect column name '%.*s'"
#define OB_ERR_COLUMN_SPEC__USER_ERROR_MSG "Incorrect column specifier for column '%.*s'"
#define OB_ERR_DB_DROP_EXISTS__USER_ERROR_MSG "Can't drop database '%.*s'; database doesn't exist"
#define OB_ERR_DATA_TOO_LONG__USER_ERROR_MSG "Data too long for column '%.*s' at row %ld"
#define OB_ERR_WRONG_VALUE_COUNT_ON_ROW__USER_ERROR_MSG "column count does not match value count at row '%d'"
#define OB_ERR_CREATE_USER_WITH_GRANT__USER_ERROR_MSG "You are not allowed to create a user with GRANT"
#define OB_ERR_NO_DB_PRIVILEGE__USER_ERROR_MSG "Access denied for user '%.*s'@'%.*s' to database '%.*s'"
#define OB_ERR_NO_TABLE_PRIVILEGE__USER_ERROR_MSG "%.*s command denied to user '%.*s'@'%.*s' for table '%.*s'"
#define OB_INVALID_ON_UPDATE__USER_ERROR_MSG "Invalid ON UPDATE clause for \'%s\' column"
#define OB_INVALID_DEFAULT__USER_ERROR_MSG "Invalid default value for \'%.*s\'"
#define OB_ERR_UPDATE_TABLE_USED__USER_ERROR_MSG "You can\'t specify target table \'%s\' for update in FROM clause"
#define OB_ERR_COULUMN_VALUE_NOT_MATCH__USER_ERROR_MSG "Column count doesn\'t match value count at row %ld"
#define OB_ERR_INVALID_GROUP_FUNC_USE__USER_ERROR_MSG "Invalid use of group function"
#define OB_CANT_AGGREGATE_2COLLATIONS__USER_ERROR_MSG "Illegal mix of collations"
#define OB_ERR_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD__USER_ERROR_MSG \
  "Field \'%.*s\' is of a not allowed type for this type of partitioning"
#define OB_ERR_TOO_LONG_IDENT__USER_ERROR_MSG "Identifier name \'%.*s\' is too long"
#define OB_ERR_WRONG_TYPE_FOR_VAR__USER_ERROR_MSG "Incorrect argument type to variable '%.*s'"
#define OB_WRONG_USER_NAME_LENGTH__USER_ERROR_MSG \
  "String '%.*s' is too long for user name (should be no longer than 16)"
#define OB_ERR_PRIV_USAGE__USER_ERROR_MSG "Incorrect usage of DB GRANT and GLOBAL PRIVILEGES"
#define OB_ILLEGAL_GRANT_FOR_TABLE__USER_ERROR_MSG \
  "Illegal GRANT/REVOKE command; please consult the manual to see which privileges can be used"
#define OB_ERR_REACH_AUTOINC_MAX__USER_ERROR_MSG "Failed to read auto-increment value from storage engine"
#define OB_ERR_NO_TABLES_USED__USER_ERROR_MSG "No tables used"
#define OB_CANT_REMOVE_ALL_FIELDS__USER_ERROR_MSG \
  "You can't delete all columns with ALTER TABLE; use DROP TABLE instead"
#define OB_TOO_MANY_PARTITIONS_ERROR__USER_ERROR_MSG "Too many partitions (including subpartitions) were defined"
#define OB_NO_PARTS_ERROR__USER_ERROR_MSG "Number of partitions = 0 is not an allowed value"
#define OB_WRONG_SUB_KEY__USER_ERROR_MSG                                                                         \
  "Incorrect prefix key; the used key part isn't a string, the used length is longer than the key part, or the " \
  "storage engine doesn't support unique prefix keys"
#define OB_KEY_PART_0__USER_ERROR_MSG "Key part \'%.*s\' length cannot be 0"
#define OB_ERR_UNKNOWN_TIME_ZONE__USER_ERROR_MSG "Unknown or incorrect time zone: \'%.*s\'"
#define OB_ERR_WRONG_AUTO_KEY__USER_ERROR_MSG "Incorrect table definition; there can be only one auto column"
#define OB_ERR_TOO_MANY_KEYS__USER_ERROR_MSG "Too many keys specified; max %ld keys allowed"
#define OB_ERR_TOO_MANY_ROWKEY_COLUMNS__USER_ERROR_MSG "Too many key parts specified; max %ld parts allowed"
#define OB_ERR_TOO_LONG_KEY_LENGTH__USER_ERROR_MSG "Specified key was too long; max key length is %ld bytes"
#define OB_ERR_TOO_MANY_COLUMNS__USER_ERROR_MSG "Too many columns"
#define OB_ERR_TOO_LONG_COLUMN_LENGTH__USER_ERROR_MSG "Column length too big for column '%s' (max = %d)"
#define OB_ERR_TOO_BIG_ROWSIZE__USER_ERROR_MSG "Row size too large"
#define OB_ERR_UNKNOWN_TABLE__USER_ERROR_MSG "Unknown table '%.*s' in %.*s"
#define OB_ERR_BAD_TABLE__USER_ERROR_MSG "Unknown table '%.*s'"
#define OB_ERR_TOO_BIG_SCALE__USER_ERROR_MSG "Too big scale %d specified for column '%s'. Maximum is %ld."
#define OB_ERR_TOO_BIG_PRECISION__USER_ERROR_MSG "Too big precision %d specified for column '%s'. Maximum is %ld."
#define OB_ERR_M_BIGGER_THAN_D__USER_ERROR_MSG \
  "For float(M,D), double(M,D) or decimal(M,D), M must be >= D (column '%s')."
#define OB_ERR_TOO_BIG_DISPLAYWIDTH__USER_ERROR_MSG "Display width out of range for column '%s' (max = %ld)"
#define OB_WRONG_GROUP_FIELD__USER_ERROR_MSG "Can't group on '%.*s'"
#define OB_NON_UNIQ_ERROR__USER_ERROR_MSG "Column '%.*s' in %.*s is ambiguous"
#define OB_ERR_NONUNIQ_TABLE__USER_ERROR_MSG "Not unique table/alias: \'%.*s\'"
#define OB_ERR_CANT_DROP_FIELD_OR_KEY__USER_ERROR_MSG "Can't DROP '%.*s'; check that column/key exists"
#define OB_ERR_MULTIPLE_PRI_KEY__USER_ERROR_MSG "Multiple primary key defined"
#define OB_ERR_KEY_COLUMN_DOES_NOT_EXITS__USER_ERROR_MSG "Key column '%.*s' doesn't exist in table"
#define OB_ERR_AUTO_PARTITION_KEY__USER_ERROR_MSG "auto-increment column '%.*s' should not be part of partition key"
#define OB_ERR_CANT_USE_OPTION_HERE__USER_ERROR_MSG "Incorrect usage/placement of '%s'"
#define OB_ERR_WRONG_OBJECT__USER_ERROR_MSG "\'%s.%s\' is not %s"
#define OB_ERR_ON_RENAME__USER_ERROR_MSG "Error on rename of \'%s.%s\' to \'%s.%s\'"
#define OB_ERR_WRONG_KEY_COLUMN__USER_ERROR_MSG "The used storage engine can't index column '%.*s'"
#define OB_ERR_BAD_FIELD_ERROR__USER_ERROR_MSG "Unknown column '%.*s' in '%.*s'"
#define OB_ERR_WRONG_FIELD_WITH_GROUP__USER_ERROR_MSG "\'%.*s\' is not in GROUP BY"
#define OB_ERR_CANT_CHANGE_TX_CHARACTERISTICS__USER_ERROR_MSG \
  "Transaction characteristics can't be changed while a transaction is in progress"
#define OB_ERR_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION__USER_ERROR_MSG \
  "Cannot execute statement in a READ ONLY transaction."
#define OB_ERR_MIX_OF_GROUP_FUNC_AND_FIELDS__USER_ERROR_MSG \
  "Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause"
#define OB_ERR_TRUNCATED_WRONG_VALUE__USER_ERROR_MSG "Truncated incorrect %.*s value: '%.*s'"
#define OB_ERR_WRONG_IDENT_NAME__USER_ERROR_MSG "wrong ident name"
#define OB_WRONG_NAME_FOR_INDEX__USER_ERROR_MSG "Incorrect index name '%.*s'"
#define OB_ILLEGAL_REFERENCE__USER_ERROR_MSG "Reference '%.*s' not supported (reference to group function)"
#define OB_REACH_MEMORY_LIMIT__USER_ERROR_MSG "plan cache memory used reach the high water mark."
#define OB_ERR_PASSWORD_FORMAT__USER_ERROR_MSG                                                                      \
  "The password hash doesn't have the expected format. Check if the correct password algorithm is being used with " \
  "the PASSWORD() function."
#define OB_ERR_NON_UPDATABLE_TABLE__USER_ERROR_MSG "The target table %.*s of the %.*s is not updatable"
#define OB_ERR_WARN_DATA_OUT_OF_RANGE__USER_ERROR_MSG "Out of range value for column '%.*s' at row %ld"
#define OB_ERR_WRONG_EXPR_IN_PARTITION_FUNC_ERROR__USER_ERROR_MSG \
  "Constant or random or timezone-dependent expressions in (sub)partitioning function are not allowed"
#define OB_ERR_VIEW_INVALID__USER_ERROR_MSG                                                                            \
  "View \'%.*s.%.*s\' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights " \
  "to use them"
#define OB_ERR_OPTION_PREVENTS_STATEMENT__USER_ERROR_MSG \
  "The MySQL server is running with the --read-only option so it cannot execute this statement"
#define OB_ERR_DB_READ_ONLY__USER_ERROR_MSG "The database \'%.*s\' is read only so it cannot execute this statement"
#define OB_ERR_TABLE_READ_ONLY__USER_ERROR_MSG \
  "The table \'%.*s.%.*s\' is read only so it cannot execute this statement"
#define OB_ERR_LOCK_OR_ACTIVE_TRANSACTION__USER_ERROR_MSG \
  "Can't execute the given command because you have active locked tables or an active transaction"
#define OB_ERR_SAME_NAME_PARTITION_FIELD__USER_ERROR_MSG "Duplicate partition field name '%.*s'"
#define OB_ERR_TABLENAME_NOT_ALLOWED_HERE__USER_ERROR_MSG \
  "Table \'%.*s\' from one of the SELECTs cannot be used in global ORDER clause"
#define OB_ERR_VIEW_RECURSIVE__USER_ERROR_MSG "\'%.*s.%.*s\' contains view recursion"
#define OB_ERR_QUALIFIER__USER_ERROR_MSG "Column part of USING clause cannot have qualifier"
#define OB_ERR_WRONG_VALUE__USER_ERROR_MSG "Incorrect %s value: '%s'"
#define OB_ERR_VIEW_WRONG_LIST__USER_ERROR_MSG "View's SELECT and view's field list have different column counts"
#define OB_SYS_VARS_MAYBE_DIFF_VERSION__USER_ERROR_MSG "system variables' version maybe different"
#define OB_ERR_AUTO_INCREMENT_CONFLICT__USER_ERROR_MSG \
  "Auto-increment value in UPDATE conflicts with internally generated values"
#define OB_ERR_TASK_SKIPPED__USER_ERROR_MSG \
  "some tasks are skipped, skipped server addr is '%s', the orginal error code is %d"
#define OB_ERR_NAME_BECOMES_EMPTY__USER_ERROR_MSG "Name \'%.*s\' has become ''"
#define OB_ERR_REMOVED_SPACES__USER_ERROR_MSG "Leading spaces are removed from name \'%.*s\'"
#define OB_WARN_ADD_AUTOINCREMENT_COLUMN__USER_ERROR_MSG \
  "Alter table add auto_increment column is dangerous, table_name=\'%.*s\', column_name=\'%s\'"
#define OB_WARN_CHAMGE_NULL_ATTRIBUTE__USER_ERROR_MSG \
  "Alter table change nullable column to not nullable is dangerous, table_name=\'%.*s\', column_name=\'%.*s\'"
#define OB_ERR_INVALID_CHARACTER_STRING__USER_ERROR_MSG "Invalid %.*s character string: \'%.*s\'"
#define OB_ERR_KILL_DENIED__USER_ERROR_MSG "You are not owner of thread %lu"
#define OB_ERR_COLUMN_DEFINITION_AMBIGUOUS__USER_ERROR_MSG \
  "Column \'%.*s\' definition is ambiguous. Column has both NULL and NOT NULL attributes"
#define OB_ERR_EMPTY_QUERY__USER_ERROR_MSG "Query was empty"
#define OB_ERR_CUT_VALUE_GROUP_CONCAT__USER_ERROR_MSG "Row %ld was cut by GROUP_CONCAT()"
#define OB_ERR_FIELD_NOT_FOUND_PART__USER_ERROR_MSG "Field in list of fields for partition function not found in table"
#define OB_ERR_PRIMARY_CANT_HAVE_NULL__USER_ERROR_MSG \
  "All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead"
#define OB_ERR_PARTITION_FUNC_NOT_ALLOWED_ERROR__USER_ERROR_MSG "The PARTITION function returns the wrong type"
#define OB_ERR_INVALID_BLOCK_SIZE__USER_ERROR_MSG "Invalid block size, block size should between 1024 and 1048576"
#define OB_ERR_UNKNOWN_STORAGE_ENGINE__USER_ERROR_MSG "Unknown storage engine \'%.*s\'"
#define OB_ERR_TENANT_IS_LOCKED__USER_ERROR_MSG "Tenant \'%.*s\' is locked"
#define OB_EER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF__USER_ERROR_MSG \
  "A %s must include all columns in the table's partitioning function"
#define OB_ERR_PARTITION_FUNCTION_IS_NOT_ALLOWED__USER_ERROR_MSG "This partition function is not allowed"
#define OB_ERR_AGGREGATE_ORDER_FOR_UNION__USER_ERROR_MSG \
  "Expression #%d of ORDER BY contains aggregate function and applies to a UNION"
#define OB_ERR_OUTLINE_EXIST__USER_ERROR_MSG "Outline '%.*s' already exists"
#define OB_OUTLINE_NOT_EXIST__USER_ERROR_MSG "Outline \'%.*s.%.*s\' doesn\'t exist"
#define OB_WARN_OPTION_BELOW_LIMIT__USER_ERROR_MSG "The value of \'%s\' should be no less than the value of \'%s\'"
#define OB_INVALID_OUTLINE__USER_ERROR_MSG "invalid outline ,error info:%s"
#define OB_REACH_MAX_CONCURRENT_NUM__USER_ERROR_MSG "SQL reach max concurrent num %ld"
#define OB_ERR_OPERATION_ON_RECYCLE_OBJECT__USER_ERROR_MSG "can not perform DDL/DML over objects in Recycle Bin"
#define OB_ERR_OBJECT_NOT_IN_RECYCLEBIN__USER_ERROR_MSG "object not in RECYCLE BIN"
#define OB_ERR_CON_COUNT_ERROR__USER_ERROR_MSG "Too many connections"
#define OB_ERR_OUTLINE_CONTENT_EXIST__USER_ERROR_MSG \
  "Outline content '%.*s' of outline '%.*s' already exists when added"
#define OB_ERR_OUTLINE_MAX_CONCURRENT_EXIST__USER_ERROR_MSG "Max concurrent in outline '%.*s' already exists when added"
#define OB_ERR_VALUES_IS_NOT_INT_TYPE_ERROR__USER_ERROR_MSG "VALUES value for partition \'%.*s\' must have type INT"
#define OB_ERR_WRONG_TYPE_COLUMN_VALUE_ERROR__USER_ERROR_MSG "Partition column values of incorrect type"
#define OB_ERR_PARTITION_COLUMN_LIST_ERROR__USER_ERROR_MSG "Inconsistency in usage of column lists for partitioning"
#define OB_ERR_TOO_MANY_VALUES_ERROR__USER_ERROR_MSG \
  "Cannot have more than one value for this type of RANGE partitioning"
#define OB_ERR_PARTITION_VALUE_ERROR__USER_ERROR_MSG "This partition value with incorrect charset type"
#define OB_ERR_PARTITION_INTERVAL_ERROR__USER_ERROR_MSG "Partition interval must have type INT"
#define OB_ERR_SAME_NAME_PARTITION__USER_ERROR_MSG "Duplicate partition name \'%.*s\'"
#define OB_ERR_RANGE_NOT_INCREASING_ERROR__USER_ERROR_MSG \
  "VALUES LESS THAN value must be strictly increasing for each partition%.*s"
#define OB_ERR_PARSE_PARTITION_RANGE__USER_ERROR_MSG \
  "Wrong number of partitions defined, mismatch with previous setting"
#define OB_ERR_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF__USER_ERROR_MSG \
  "A PRIMARY KEY must include all columns in the table\'s partitioning function"
#define OB_NO_PARTITION_FOR_GIVEN_VALUE__USER_ERROR_MSG "Table has no partition for value"
#define OB_EER_NULL_IN_VALUES_LESS_THAN__USER_ERROR_MSG "Not allowed to use NULL value in VALUES LESS THAN"
#define OB_ERR_PARTITION_CONST_DOMAIN_ERROR__USER_ERROR_MSG "Partition constant is out of partition function domain"
#define OB_ERR_TOO_MANY_PARTITION_FUNC_FIELDS__USER_ERROR_MSG "Too many fields in \'list of partition fields\'"
#define OB_ERR_BAD_FT_COLUMN__USER_ERROR_MSG "Column '%.*s' cannot be part of FULLTEXT index"
#define OB_ERR_KEY_DOES_NOT_EXISTS__USER_ERROR_MSG "Key '%.*s' doesn't exist in table '%.*s'"
#define OB_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMN__USER_ERROR_MSG \
  "The value specified for generated column '%.*s' in table '%.*s' is not allowed"
#define OB_ERR_BAD_CTXCAT_COLUMN__USER_ERROR_MSG "The CTXCAT column must be contiguous in the index column list"
#define OB_ERR_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN__USER_ERROR_MSG "'%s' is not supported for generated columns."
#define OB_ERR_DEPENDENT_BY_GENERATED_COLUMN__USER_ERROR_MSG "Column '%.*s' has a generated column dependency"
#define OB_ERR_TOO_MANY_ROWS__USER_ERROR_MSG "Result consisted of more than one row"
#define OB_WRONG_FIELD_TERMINATORS__USER_ERROR_MSG "Field separator argument is not what is expected; check the manual"
#define OB_NO_READABLE_REPLICA__USER_ERROR_MSG "there has no readable replica"
#define OB_ERR_UNEXPECTED_TZ_TRANSITION__USER_ERROR_MSG "unexpected time zone info transition"
#define OB_ERR_SYNONYM_EXIST__USER_ERROR_MSG "synonym '%.*s' already exists"
#define OB_SYNONYM_NOT_EXIST__USER_ERROR_MSG "synonym \'%.*s.%.*s\' doesn\'t exist"
#define OB_ERR_MISS_ORDER_BY_EXPR__USER_ERROR_MSG "missing ORDER BY expression in the window specification"
#define OB_ERR_NOT_CONST_EXPR__USER_ERROR_MSG "The argument of the window function should be a constant for a partition"
#define OB_ERR_PARTITION_MGMT_ON_NONPARTITIONED__USER_ERROR_MSG \
  "Partition management on a not partitioned table is not possible"
#define OB_ERR_DROP_PARTITION_NON_EXISTENT__USER_ERROR_MSG "Error in list of partitions to %s"
#define OB_ERR_PARTITION_MGMT_ON_TWOPART_TABLE__USER_ERROR_MSG \
  "Partition management on a two-part table is not possible"
#define OB_ERR_ONLY_ON_RANGE_LIST_PARTITION__USER_ERROR_MSG "%s PARTITION can only be used on RANGE/LIST partitions"
#define OB_ERR_DROP_LAST_PARTITION__USER_ERROR_MSG "Cannot remove all partitions, use DROP TABLE instead"
#define OB_ERR_SCHEDULER_THREAD_NOT_ENOUGH__USER_ERROR_MSG "Scheduler thread number is not enough"
#define OB_ERR_IGNORE_USER_HOST_NAME__USER_ERROR_MSG "Ignore the host name"
#define OB_IGNORE_SQL_IN_RESTORE__USER_ERROR_MSG "Ignore sql in restore process"
#define OB_ERR_TEMPORARY_TABLE_WITH_PARTITION__USER_ERROR_MSG "Cannot create temporary table with partitions"
#define OB_ERR_INVALID_COLUMN_ID__USER_ERROR_MSG "Invalid column id for %.*s"
#define OB_SYNC_DDL_DUPLICATE__USER_ERROR_MSG "Duplicated ddl id '%.*s'"
#define OB_SYNC_DDL_ERROR__USER_ERROR_MSG "Failed to sync ddl '%.*s'"
#define OB_ERR_ROW_IS_REFERENCED__USER_ERROR_MSG "Cannot delete or update a parent row: a foreign key constraint fails"
#define OB_ERR_NO_REFERENCED_ROW__USER_ERROR_MSG "Cannot add or update a child row: a foreign key constraint fails"
#define OB_ERR_FUNC_RESULT_TOO_LARGE__USER_ERROR_MSG \
  "Result of %s() was larger than max_allowed_packet (%d) - truncated"
#define OB_ERR_CANNOT_ADD_FOREIGN__USER_ERROR_MSG "Cannot add foreign key constraint"
#define OB_ERR_WRONG_FK_DEF__USER_ERROR_MSG \
  "Incorrect foreign key definition: Key reference and table reference don't match"
#define OB_ERR_INVALID_CHILD_COLUMN_LENGTH_FK__USER_ERROR_MSG \
  "Child column \'%.*s\' data length cannot be less than parent column \'%.*s\' data length"
#define OB_ERR_ALTER_COLUMN_FK__USER_ERROR_MSG "\'%.*s\': used in a foreign key constraint"
#define OB_ERR_CONNECT_BY_REQUIRED__USER_ERROR_MSG "CONNECT BY clause required in this query block"
#define OB_ERR_INVALID_PSEUDO_COLUMN_PLACE__USER_ERROR_MSG \
  "Specified pseudocolumn, operator or function not allowed here"
#define OB_ERR_NOCYCLE_REQUIRED__USER_ERROR_MSG "NOCYCLE keyword is required with CONNECT_BY_ISCYCLE pseudocolumn"
#define OB_ERR_CONNECT_BY_LOOP__USER_ERROR_MSG "CONNECT BY loop in user data"
#define OB_ERR_INVALID_SIBLINGS__USER_ERROR_MSG "ORDER SIBLINGS BY clause not allowed here"
#define OB_ERR_INVALID_SEPARATOR__USER_ERROR_MSG \
  "when using SYS_CONNECT_BY_PATH function, cannot have separator as part of column value"
#define OB_ERR_INVALID_SYNONYM_NAME__USER_ERROR_MSG "Database can not be specified in public synonym"
#define OB_ERR_LOOP_OF_SYNONYM__USER_ERROR_MSG "Looping chain of synonyms"
#define OB_ERR_SYNONYM_SAME_AS_OBJECT__USER_ERROR_MSG "Cannot create a synonym with same name as object"
#define OB_ERR_SYNONYM_TRANSLATION_INVALID__USER_ERROR_MSG "Synonym %s translation is no longer valid"
#define OB_ERR_EXIST_OBJECT__USER_ERROR_MSG "name is already used by an existing object"
#define OB_ERR_ILLEGAL_VALUE_FOR_TYPE__USER_ERROR_MSG "Illegal %s '%.*s' value found during parsing"
#define OB_ER_TOO_LONG_SET_ENUM_VALUE__USER_ERROR_MSG "Too long enumeration/set value for column %.*s."
#define OB_ER_DUPLICATED_VALUE_IN_TYPE__USER_ERROR_MSG "Column '%.*s' has duplicated value '%.*s' in %s "
#define OB_ER_TOO_BIG_ENUM__USER_ERROR_MSG "Too many enumeration values for column %.*s"
#define OB_ERR_TOO_BIG_SET__USER_ERROR_MSG "Too many strings for column %.*s and SET"
#define OB_ERR_WRONG_ROWID__USER_ERROR_MSG "rowid is wrong"
#define OB_ERR_INVALID_WINDOW_FUNCTION_PLACE__USER_ERROR_MSG "Window Function not allowed here"
#define OB_ERR_PARSE_PARTITION_LIST__USER_ERROR_MSG "Fail to parse list partition"
#define OB_ERR_MULTIPLE_DEF_CONST_IN_LIST_PART__USER_ERROR_MSG \
  "Multiple definition of same constant in list partitioning"
#define OB_ERR_INVALID_TIMEZONE_REGION_ID__USER_ERROR_MSG "timezone region ID is invalid"
#define OB_ERR_INVALID_HEX_NUMBER__USER_ERROR_MSG "invalid hex number"
#define OB_ERR_WRONG_FUNC_ARGUMENTS_TYPE__USER_ERROR_MSG "wrong number or types of arguments in call to '%.*s'"
#define OB_ERR_MULTI_UPDATE_KEY_CONFLICT__USER_ERROR_MSG \
  "Primary key/index key/partition key update is not allowed since the table is updated both as '%.*s' and '%.*s'"
#define OB_ERR_INSUFFICIENT_PX_WORKER__USER_ERROR_MSG "insufficient parallel query worker available"
#define OB_ERR_FOR_UPDATE_EXPR_NOT_ALLOWED__USER_ERROR_MSG "FOR UPDATE of this query expression is not allowed"
#define OB_ERR_WIN_FUNC_ARG_NOT_IN_PARTITION_BY__USER_ERROR_MSG \
  "argument should be a function of expressions in PARTITION BY"
#define OB_ERR_TOO_LONG_STRING_IN_CONCAT__USER_ERROR_MSG "result of string concatenation is too long"
#define OB_ERR_WRONG_TIMESTAMP_LTZ_COLUMN_VALUE_ERROR__USER_ERROR_MSG "Partition column values of incorrect type"
#define OB_ERR_UPD_CAUSE_PART_CHANGE__USER_ERROR_MSG "updating partition key column would cause a partition change"
#define OB_ERR_INVALID_TYPE_FOR_ARGUMENT__USER_ERROR_MSG "invalid type given for an argument"
#define OB_ERR_FIELD_NOT_FOUND_IN_DATETIME_OR_INTERVAL__USER_ERROR_MSG \
  "specified field not found in datetime or interval"
#define OB_ERR_ADD_PART_BOUN_NOT_INC__USER_ERROR_MSG \
  "VALUES LESS THAN value must be strictly increasing for each partition"
#define OB_ERR_DATA_TOO_LONG_IN_PART_CHECK__USER_ERROR_MSG "Data too long for column"
#define OB_ERR_WRONG_TYPE_COLUMN_VALUE_V2_ERROR__USER_ERROR_MSG "Partition column values of incorrect type"
#define OB_CANT_AGGREGATE_3COLLATIONS__USER_ERROR_MSG "Illegal mix of collations"
#define OB_CANT_AGGREGATE_NCOLLATIONS__USER_ERROR_MSG "Illegal mix of collations"
#define OB_ERR_NO_SYS_PRIVILEGE__USER_ERROR_MSG "insufficient privileges"
#define OB_ERR_NO_LOGIN_PRIVILEGE__USER_ERROR_MSG "user %.*s lacks CREATE SESSION privilege; logon denied"
#define OB_ERR_CANNOT_REVOKE_PRIVILEGES_YOU_DID_NOT_GRANT__USER_ERROR_MSG "No such grant defined"
#define OB_ERR_SYSTEM_PRIVILEGES_NOT_GRANTED_TO__USER_ERROR_MSG "system privileges not granted to '%.*s'"
#define OB_ERR_ONLY_SELECT_AND_ALTER_PRIVILEGES_ARE_VALID_FOR_SEQUENCES__USER_ERROR_MSG \
  "only SELECT and ALTER privileges are valid for sequences"
#define OB_ERR_EXECUTE_PRIVILEGE_NOT_ALLOWED_FOR_TABLES__USER_ERROR_MSG "EXECUTE privilege not allowed for tables"
#define OB_ERR_ONLY_EXECUTE_AND_DEBUG_PRIVILEGES_ARE_VALID_FOR_PROCEDURES__USER_ERROR_MSG \
  "only EXECUTE and DEBUG privileges are valid for procedures"
#define OB_ERR_ONLY_EXECUTE_DEBUG_AND_UNDER_PRIVILEGES_ARE_VALID_FOR_TYPES__USER_ERROR_MSG \
  "only EXECUTE, DEBUG, and UNDER privileges are valid for types"
#define OB_ERR_ADMIN_OPTION_NOT_GRANTED_FOR_ROLE__USER_ERROR_MSG "ADMIN option not granted for role '%.*s'"
#define OB_ERR_USER_OR_ROLE_DOES_NOT_EXIST__USER_ERROR_MSG "user or role '%.*s' does not exist"
#define OB_ERR_MISSING_ON_KEYWORD__USER_ERROR_MSG "missing ON keyword"
#define OB_ERR_NO_GRANT_OPTION__USER_ERROR_MSG "grant option does not exist for '%.*s.%.*s'"
#define OB_ERR_ALTER_INDEX_AND_EXECUTE_NOT_ALLOWED_FOR_VIEWS__USER_ERROR_MSG \
  "ALTER, INDEX and EXECUTE not allowed for views"
#define OB_ERR_CIRCULAR_ROLE_GRANT_DETECTED__USER_ERROR_MSG "circular role grant detected"
#define OB_ERR_INVALID_PRIVILEGE_ON_DIRECTORIES__USER_ERROR_MSG "invalid privilege on directories"
#define OB_ERR_DIRECTORY_ACCESS_DENIED__USER_ERROR_MSG "directory access denied"
#define OB_ERR_MISSING_OR_INVALID_ROLE_NAME__USER_ERROR_MSG "missing or invalid role name"
#define OB_ERR_ROLE_NOT_GRANTED_OR_DOES_NOT_EXIST__USER_ERROR_MSG "role '%.*s' not granted or does not exist"
#define OB_ERR_DEFAULT_ROLE_NOT_GRANTED_TO_USER__USER_ERROR_MSG "DEFAULT ROLE '%.*s' not granted to user"
#define OB_ERR_ROLE_NOT_GRANTED_TO__USER_ERROR_MSG "ROLE '%.*s' not granted to '%.*s'"
#define OB_ERR_CANNOT_GRANT_TO_A_ROLE_WITH_GRANT_OPTION__USER_ERROR_MSG "cannot GRANT to a role WITH GRANT OPTION"
#define OB_ERR_DUPLICATE_USERNAME_IN_LIST__USER_ERROR_MSG "duplicate username in list"
#define OB_ERR_CANNOT_GRANT_STRING_TO_A_ROLE__USER_ERROR_MSG "cannot grant %.*s to a role"
#define OB_ERR_CASCADE_CONSTRAINTS_MUST_BE_SPECIFIED_TO_PERFORM_THIS_REVOKE__USER_ERROR_MSG \
  "CASCADE CONSTRAINTS must be specified to perform this revoke"
#define OB_ERR_YOU_MAY_NOT_REVOKE_PRIVILEGES_FROM_YOURSELF__USER_ERROR_MSG \
  "you may not GRANT/REVOKE privileges to/from yourself"
#define OB_ERR_SP_ALREADY_EXISTS__USER_ERROR_MSG "%s %.*s already exists"
#define OB_ERR_SP_DOES_NOT_EXIST__USER_ERROR_MSG "%s %.*s.%.*s does not exist"
#define OB_ERR_SP_UNDECLARED_VAR__USER_ERROR_MSG "Undeclared variable: %.*s"
#define OB_ERR_SP_UNDECLARED_TYPE__USER_ERROR_MSG "Undeclared type: %.*s"
#define OB_ERR_SP_COND_MISMATCH__USER_ERROR_MSG "Undefined CONDITION: %.*s"
#define OB_ERR_SP_LILABEL_MISMATCH__USER_ERROR_MSG "no matching label: %.*s"
#define OB_ERR_SP_CURSOR_MISMATCH__USER_ERROR_MSG "Undefined CURSOR: %.*s"
#define OB_ERR_SP_DUP_PARAM__USER_ERROR_MSG "Duplicate parameter: %.*s"
#define OB_ERR_SP_DUP_VAR__USER_ERROR_MSG "Duplicate variable: %.*s"
#define OB_ERR_SP_DUP_TYPE__USER_ERROR_MSG "Duplicate type: %.*s"
#define OB_ERR_SP_DUP_CONDITION__USER_ERROR_MSG "Duplicate condition: %.*s"
#define OB_ERR_SP_DUP_LABEL__USER_ERROR_MSG "Duplicate label: %.*s"
#define OB_ERR_SP_DUP_CURSOR__USER_ERROR_MSG "Duplicate cursor: %.*s"
#define OB_ERR_SP_INVALID_FETCH_ARG__USER_ERROR_MSG "Incorrect number of FETCH variables"
#define OB_ERR_SP_WRONG_ARG_NUM__USER_ERROR_MSG "Incorrect number of arguments for %s %s; expected %u, got %u"
#define OB_ERR_SP_UNHANDLED_EXCEPTION__USER_ERROR_MSG "Unhandled user-defined exception condition"
#define OB_ERR_SP_BAD_CONDITION_TYPE__USER_ERROR_MSG "SIGNAL/RESIGNAL can only use a CONDITION defined with SQLSTATE"
#define OB_ERR_PACKAGE_ALREADY_EXISTS__USER_ERROR_MSG "%s \'%.*s.%.*s\' already exists"
#define OB_ERR_PACKAGE_DOSE_NOT_EXIST__USER_ERROR_MSG "%s \'%.*s.%.*s\' does not exist"
#define OB_EER_UNKNOWN_STMT_HANDLER__USER_ERROR_MSG "Unknown prepared statement handle"
#define OB_ERR_INVALID_WINDOW_FUNC_USE__USER_ERROR_MSG "Invalid use of window function"
#define OB_ERR_CONSTRAINT_DUPLICATE__USER_ERROR_MSG "Duplicate constraint name '%.*s'"
#define OB_ERR_CONTRAINT_NOT_FOUND__USER_ERROR_MSG "Constraint not found"
#define OB_ERR_ALTER_TABLE_ALTER_DUPLICATED_INDEX__USER_ERROR_MSG "Duplicate alter index operations on column \'%.*s\'"
#define OB_EER_INVALID_ARGUMENT_FOR_LOGARITHM__USER_ERROR_MSG "Invalid argument for logarithm"
#define OB_ERR_REORGANIZE_OUTSIDE_RANGE__USER_ERROR_MSG \
  "Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range"
#define OB_ER_SP_RECURSION_LIMIT__USER_ERROR_MSG \
  "Recursive limit %ld (as set by the max_sp_recursion_depth variable) was exceeded for routine"
#define OB_ER_UNSUPPORTED_PS__USER_ERROR_MSG "This command is not supported in the prepared statement protocol yet"
#define OB_ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG__USER_ERROR_MSG "%s is not allowed in stored function"
#define OB_ER_SP_NO_RECURSION__USER_ERROR_MSG "Recursive stored functions are not allowed."
#define OB_ER_SP_CASE_NOT_FOUND__USER_ERROR_MSG "Case not found for CASE statement"
#define OB_ERR_INVALID_SPLIT_COUNT__USER_ERROR_MSG "a partition may be split into exactly two new partitions"
#define OB_ERR_INVALID_SPLIT_GRAMMAR__USER_ERROR_MSG \
  "this physical attribute may not be specified for a table partition"
#define OB_ERR_MISS_VALUES__USER_ERROR_MSG "missing VALUES keyword"
#define OB_ERR_MISS_AT_VALUES__USER_ERROR_MSG "missing AT or VALUES keyword"
#define OB_ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG__USER_ERROR_MSG \
  "Explicit or implicit commit is not allowed in stored function."
#define OB_PC_GET_LOCATION_ERROR__USER_ERROR_MSG "Plan cache get location failed"
#define OB_PC_LOCK_CONFLICT__USER_ERROR_MSG "Plan cache lock conflict"
#define OB_ER_SP_NO_RETSET__USER_ERROR_MSG "Not allowed to return a result set in pl function"
#define OB_ER_SP_NORETURNEND__USER_ERROR_MSG "FUNCTION %s ended without RETURN"
#define OB_ERR_SP_DUP_HANDLER__USER_ERROR_MSG "Duplicate handler declared in the same block"
#define OB_ER_SP_NO_RECURSIVE_CREATE__USER_ERROR_MSG "Can\'t create a routine from within another routine"
#define OB_ER_SP_BADRETURN__USER_ERROR_MSG "RETURN is only allowed in a FUNCTION"
#define OB_ER_SP_BAD_CURSOR_SELECT__USER_ERROR_MSG "Cursor SELECT must not have INTO"
#define OB_ER_SP_BAD_SQLSTATE__USER_ERROR_MSG "Bad SQLSTATE: \'%.*s\'"
#define OB_ER_SP_VARCOND_AFTER_CURSHNDLR__USER_ERROR_MSG \
  "Variable or condition declaration after cursor or handler declaration"
#define OB_ER_SP_CURSOR_AFTER_HANDLER__USER_ERROR_MSG "Cursor declaration after handler declaration"
#define OB_ER_SP_WRONG_NAME__USER_ERROR_MSG "Incorrect routine name \'%.*s\'"
#define OB_ER_SP_CURSOR_ALREADY_OPEN__USER_ERROR_MSG "Cursor is already open"
#define OB_ER_SP_CURSOR_NOT_OPEN__USER_ERROR_MSG "Cursor is not open"
#define OB_ER_SP_CANT_SET_AUTOCOMMIT__USER_ERROR_MSG "Not allowed to set autocommit from a stored function"
#define OB_ER_SP_NOT_VAR_ARG__USER_ERROR_MSG "OUT or INOUT argument %d for routine %.*s is not a variable"
#define OB_ER_SP_LILABEL_MISMATCH__USER_ERROR_MSG "%s with no matching label: %s"
#define OB_ERR_TRUNCATE_ILLEGAL_FK__USER_ERROR_MSG "Cannot truncate a table referenced in a foreign key constraint %.*s"
#define OB_ERR_DUP_KEY__USER_ERROR_MSG "Can't write; duplicate key in table \'%.*s\'"
#define OB_ER_INVALID_USE_OF_NULL__USER_ERROR_MSG "Invalid use of NULL value"
#define OB_ERR_SPLIT_LIST_LESS_VALUE__USER_ERROR_MSG "last resulting partition cannot contain bounds"
#define OB_ERR_ADD_PARTITION_TO_DEFAULT_LIST__USER_ERROR_MSG "cannot add partition when DEFAULT partition exists"
#define OB_ERR_SPLIT_INTO_ONE_PARTITION__USER_ERROR_MSG "cannot split partition into one partition, use rename instead"
#define OB_ERR_NO_TENANT_PRIVILEGE__USER_ERROR_MSG "can not create user %s in sys tenant, name %.*s"
#define OB_ERR_INVALID_PERCENTAGE__USER_ERROR_MSG "Percentage should between 1 and 99"
#define OB_ERR_COLLECT_HISTOGRAM__USER_ERROR_MSG "Should collect histogram after major freeze"
#define OB_ER_TEMP_TABLE_IN_USE__USER_ERROR_MSG \
  "Attempt to create, alter or drop an index on temporary table already in use"
#define OB_ERR_INVALID_NLS_PARAMETER_STRING__USER_ERROR_MSG "invalid NLS parameter string used in SQL function"
#define OB_ERR_DATETIME_INTERVAL_PRECISION_OUT_OF_RANGE__USER_ERROR_MSG "datetime/interval precision is out of range"
#define OB_ERR_CMD_NOT_PROPERLY_ENDED__USER_ERROR_MSG "SQL command not properly ended"
#define OB_ERR_INVALID_NUMBER_FORMAT_MODEL__USER_ERROR_MSG "invalid number format model"
#define OB_WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED__USER_ERROR_MSG \
  "Non-ASCII separator arguments are not fully supported"
#define OB_WARN_AMBIGUOUS_FIELD_TERM__USER_ERROR_MSG                                                            \
  "First character of the FIELDS TERMINATED string is ambiguous; please use non-optional and non-empty FIELDS " \
  "ENCLOSED BY"
#define OB_WARN_TOO_FEW_RECORDS__USER_ERROR_MSG "Row %ld doesn't contain data for all columns"
#define OB_WARN_TOO_MANY_RECORDS__USER_ERROR_MSG \
  "Row %ld was truncated; it contained more data than there were input columns"
#define OB_ERR_TOO_MANY_VALUES__USER_ERROR_MSG "too many values"
#define OB_ERR_NOT_ENOUGH_VALUES__USER_ERROR_MSG "not enough values"
#define OB_ERR_MORE_THAN_ONE_ROW__USER_ERROR_MSG "single-row subquery returns more than one row"
#define OB_ERR_NOT_SUBQUERY__USER_ERROR_MSG "UPDATE ... SET expression must be a subquery"
#define OB_INAPPROPRIATE_INTO__USER_ERROR_MSG "inappropriate INTO"
#define OB_ERR_TABLE_IS_REFERENCED__USER_ERROR_MSG \
  "Cannot delete or update a parent row: a foreign key constraint fails"
#define OB_ERR_QUALIFIER_EXISTS_FOR_USING_COLUMN__USER_ERROR_MSG "Column part of using clause can not have qualifier"
#define OB_ERR_OUTER_JOIN_NESTED__USER_ERROR_MSG "two tables cannot be outer-joined to each other"
#define OB_ERR_MULTI_OUTER_JOIN_TABLE__USER_ERROR_MSG "a predicate may reference only one outer-joined table"
#define OB_ERR_OUTER_JOIN_ON_CORRELATION_COLUMN__USER_ERROR_MSG \
  "an outer join cannot be specified on a correlation column"
#define OB_ERR_OUTER_JOIN_AMBIGUOUS__USER_ERROR_MSG "outer join operator (+) not allowed in operand of OR or IN"
#define OB_ERR_OUTER_JOIN_WITH_SUBQUERY__USER_ERROR_MSG "a column may not be outer-joined to a subquery"
#define OB_ERR_OUTER_JOIN_WITH_ANSI_JOIN__USER_ERROR_MSG "old style outer join (+) cannot be used with ANSI joins"
#define OB_ERR_OUTER_JOIN_NOT_ALLOWED__USER_ERROR_MSG "outer join operator (+) is not allowed here"
#define OB_SCHEMA_EAGAIN__USER_ERROR_MSG "Schema try again"
#define OB_ERR_ZERO_LEN_COL__USER_ERROR_MSG "zero-length columns are not allowed"
#define OB_ERR_YEAR_CONFLICTS_WITH_JULIAN_DATE__USER_ERROR_MSG "year conflicts with Julian date"
#define OB_ERR_DAY_OF_YEAR_CONFLICTS_WITH_JULIAN_DATE__USER_ERROR_MSG "day of year conflicts with Julian date"
#define OB_ERR_MONTH_CONFLICTS_WITH_JULIAN_DATE__USER_ERROR_MSG "month conflicts with Julian date"
#define OB_ERR_DAY_OF_MONTH_CONFLICTS_WITH_JULIAN_DATE__USER_ERROR_MSG "day of month conflicts with Julian date"
#define OB_ERR_DAY_OF_WEEK_CONFLICTS_WITH_JULIAN_DATE__USER_ERROR_MSG "day of week conflicts with Julian date"
#define OB_ERR_HOUR_CONFLICTS_WITH_SECONDS_IN_DAY__USER_ERROR_MSG "hour conflicts with seconds in day"
#define OB_ERR_MINUTES_OF_HOUR_CONFLICTS_WITH_SECONDS_IN_DAY__USER_ERROR_MSG \
  "minutes of hour conflicts with seconds in day"
#define OB_ERR_SECONDS_OF_MINUTE_CONFLICTS_WITH_SECONDS_IN_DAY__USER_ERROR_MSG \
  "seconds of minute conflicts with seconds in day"
#define OB_ERR_DATE_NOT_VALID_FOR_MONTH_SPECIFIED__USER_ERROR_MSG "date not valid for month specified"
#define OB_ERR_INPUT_VALUE_NOT_LONG_ENOUGH__USER_ERROR_MSG "input value not long enough for date format"
#define OB_ERR_INVALID_QUARTER_VALUE__USER_ERROR_MSG "quarter must be between 1 and 4"
#define OB_ERR_INVALID_MONTH__USER_ERROR_MSG "not a valid month"
#define OB_ERR_INVALID_DAY_OF_THE_WEEK__USER_ERROR_MSG "not a valid day of the week"
#define OB_ERR_INVALID_DAY_OF_YEAR_VALUE__USER_ERROR_MSG "day of year must be between 1 and 365 (366 for leap year)"
#define OB_ERR_INVALID_HOUR12_VALUE__USER_ERROR_MSG "hour must be between 1 and 12"
#define OB_ERR_INVALID_HOUR24_VALUE__USER_ERROR_MSG "hour must be between 0 and 23"
#define OB_ERR_INVALID_MINUTES_VALUE__USER_ERROR_MSG "minutes must be between 0 and 59"
#define OB_ERR_INVALID_SECONDS_VALUE__USER_ERROR_MSG "seconds must be between 0 and 59"
#define OB_ERR_INVALID_SECONDS_IN_DAY_VALUE__USER_ERROR_MSG "seconds in day must be between 0 and 86399"
#define OB_ERR_INVALID_JULIAN_DATE_VALUE__USER_ERROR_MSG "julian date must be between 1 and 5373484"
#define OB_ERR_AM_OR_PM_REQUIRED__USER_ERROR_MSG "AM/A.M. or PM/P.M. required"
#define OB_ERR_BC_OR_AD_REQUIRED__USER_ERROR_MSG "BC/B.C. or AD/A.D. required"
#define OB_ERR_FORMAT_CODE_APPEARS_TWICE__USER_ERROR_MSG "format code appears twice"
#define OB_ERR_DAY_OF_WEEK_SPECIFIED_MORE_THAN_ONCE__USER_ERROR_MSG "day of week may only be specified once"
#define OB_ERR_SIGNED_YEAR_PRECLUDES_USE_OF_BC_AD__USER_ERROR_MSG "signed year precludes use of BC/AD"
#define OB_ERR_JULIAN_DATE_PRECLUDES_USE_OF_DAY_OF_YEAR__USER_ERROR_MSG "Julian date precludes use of day of year"
#define OB_ERR_YEAR_MAY_ONLY_BE_SPECIFIED_ONCE__USER_ERROR_MSG "year may only be specified once"
#define OB_ERR_HOUR_MAY_ONLY_BE_SPECIFIED_ONCE__USER_ERROR_MSG "hour may only be specified once"
#define OB_ERR_AM_PM_CONFLICTS_WITH_USE_OF_AM_DOT_PM_DOT__USER_ERROR_MSG "AM/PM conflicts with use of A.M./P.M."
#define OB_ERR_BC_AD_CONFLICT_WITH_USE_OF_BC_DOT_AD_DOT__USER_ERROR_MSG "BC/AD conflicts with use of B.C./A.D."
#define OB_ERR_MONTH_MAY_ONLY_BE_SPECIFIED_ONCE__USER_ERROR_MSG "month may only be specified once"
#define OB_ERR_DAY_OF_WEEK_MAY_ONLY_BE_SPECIFIED_ONCE__USER_ERROR_MSG "day of week may only be specified once"
#define OB_ERR_FORMAT_CODE_CANNOT_APPEAR__USER_ERROR_MSG "format code cannot appear in date input format"
#define OB_ERR_NON_NUMERIC_CHARACTER_VALUE__USER_ERROR_MSG \
  "a non-numeric character was found where a numeric was expected"
#define OB_INVALID_MERIDIAN_INDICATOR_USE__USER_ERROR_MSG "'HH24' precludes use of meridian indicator"
#define OB_ERR_INVALID_CHAR_FOLLOWING_ESCAPE_CHAR__USER_ERROR_MSG \
  "missing or illegal character following the escape character"
#define OB_ERR_INVALID_ESCAPE_CHAR_LENGTH__USER_ERROR_MSG "escape character must be character string of length 1"
#define OB_ERR_DAY_OF_MONTH_RANGE__USER_ERROR_MSG "day of month must be between 1 and last day of month"
#define OB_ERR_NOT_SELECTED_EXPR__USER_ERROR_MSG "not a SELECTed expression"
#define OB_ERR_INVALID_YEAR_VALUE__USER_ERROR_MSG "(full) year must be between -4713 and +9999, and not be 0"
#define OB_ERR_UK_PK_DUPLICATE__USER_ERROR_MSG "such unique or primary key already exists in the table"
#define OB_ERR_COLUMN_LIST_ALREADY_INDEXED__USER_ERROR_MSG "such column list already indexed"
#define OB_ERR_BUSHY_TREE_NOT_SUPPORTED__USER_ERROR_MSG "PX does not support processing a bushy tree"
#define OB_ERR_ARGUMENT_OUT_OF_RANGE__USER_ERROR_MSG "argument '%ld' is out of range"
#define OB_ERR_ORDER_BY_ITEM_NOT_IN_SELECT_LIST__USER_ERROR_MSG \
  "ORDER BY item must be the number of a SELECT-list expression"
#define OB_ERR_INTERVAL_INVALID__USER_ERROR_MSG "the interval is invalid"
#define OB_ERR_NUMERIC_OR_VALUE_ERROR__USER_ERROR_MSG "PL/SQL: numeric or value error: %.*s"
#define OB_ERR_CONSTRAINT_NAME_DUPLICATE__USER_ERROR_MSG "name already used by an existing constraint"
#define OB_ERR_ONLY_HAVE_INVISIBLE_COL_IN_TABLE__USER_ERROR_MSG \
  "table must have at least one column that is not invisible"
#define OB_ERR_INVISIBLE_COL_ON_UNSUPPORTED_TABLE_TYPE__USER_ERROR_MSG \
  "Invisible column is not supported on this type of table."
#define OB_ERR_MODIFY_COL_VISIBILITY_COMBINED_WITH_OTHER_OPTION__USER_ERROR_MSG \
  "Column visibility modifications cannot be combined with any other modified column DDL option."
#define OB_ERR_MODIFY_COL_VISIBILITY_BY_SYS_USER__USER_ERROR_MSG \
  "The visibility of a column from a table owned by a SYS user cannot be changed."
#define OB_ERR_TOO_MANY_ARGS_FOR_FUN__USER_ERROR_MSG "too many arguments for function"
#define OB_PX_SQL_NEED_RETRY__USER_ERROR_MSG "PX sql need retry"
#define OB_TENANT_HAS_BEEN_DROPPED__USER_ERROR_MSG "Tenant '%.*s' has been dropped"
#define OB_ERR_EXTRACT_FIELD_INVALID__USER_ERROR_MSG "invalid extract field for extract source"
#define OB_ERR_PACKAGE_COMPILE_ERROR__USER_ERROR_MSG "%s \'%.*s.%.*s\' compile error"
#define OB_ERR_SP_EMPTY_BLOCK__USER_ERROR_MSG "Empty block prohibited in Oracle"
#define OB_ARRAY_BINDING_ROLLBACK__USER_ERROR_MSG "array binding need rollback"
#define OB_ERR_INVALID_SUBQUERY_USE__USER_ERROR_MSG "subquery not allowed here"
#define OB_ERR_DATE_OR_SYS_VAR_CANNOT_IN_CHECK_CST__USER_ERROR_MSG \
  "date or system variable wrongly specified in CHECK constraint"
#define OB_ERR_NONEXISTENT_CONSTRAINT__USER_ERROR_MSG "Cannot drop constraint  - nonexistent constraint"
#define OB_ERR_CHECK_CONSTRAINT_VIOLATED__USER_ERROR_MSG "check constraint violated"
#define OB_ERR_GROUP_FUNC_NOT_ALLOWED__USER_ERROR_MSG "group function is not allowed here"
#define OB_ERR_POLICY_STRING_NOT_FOUND__USER_ERROR_MSG "policy string not found"
#define OB_ERR_INVALID_LABEL_STRING__USER_ERROR_MSG "invalid label string"
#define OB_ERR_UNDEFINED_COMPARTMENT_STRING_FOR_POLICY_STRING__USER_ERROR_MSG \
  "undefined compartment string for policy string"
#define OB_ERR_UNDEFINED_LEVEL_STRING_FOR_POLICY_STRING__USER_ERROR_MSG "undefined level string for policy string"
#define OB_ERR_UNDEFINED_GROUP_STRING_FOR_POLICY_STRING__USER_ERROR_MSG "undefined group string for policy string"
#define OB_ERR_LBAC_ERROR__USER_ERROR_MSG "LBAC error: %s"
#define OB_ERR_POLICY_ROLE_ALREADY_EXISTS_FOR_POLICY_STRING__USER_ERROR_MSG \
  "policy role already exists for policy string"
#define OB_ERR_NULL_OR_INVALID_USER_LABEL__USER_ERROR_MSG "NULL or invalid user label: %s"
#define OB_ERR_ADD_INDEX__USER_ERROR_MSG "Add index failed"
#define OB_ERR_PROFILE_STRING_DOES_NOT_EXIST__USER_ERROR_MSG "profile %.*s does not exist"
#define OB_ERR_INVALID_RESOURCE_LIMIT__USER_ERROR_MSG "invalid resource limit %s"
#define OB_ERR_PROFILE_STRING_ALREADY_EXISTS__USER_ERROR_MSG "profile %.*s already exists"
#define OB_ERR_PROFILE_STRING_HAS_USERS_ASSIGNED__USER_ERROR_MSG \
  "profile %.*s has users assigned, cannot drop without CASCADE"
#define OB_ERR_THE_LEADING_PRECISION_OF_THE_INTERVAL_IS_TOO_SMALL__USER_ERROR_MSG \
  "the leading precision of the interval is too small"
#define OB_ERR_INVALID_TIME_ZONE_HOUR__USER_ERROR_MSG "time zone hour must be between -12 and 14"
#define OB_ERR_INVALID_TIME_ZONE_MINUTE__USER_ERROR_MSG "time zone minute must be between -59 and 59"
#define OB_ERR_NOT_A_VALID_TIME_ZONE__USER_ERROR_MSG "not a valid time zone"
#define OB_ERR_DATE_FORMAT_IS_TOO_LONG_FOR_INTERNAL_BUFFER__USER_ERROR_MSG "date format is too long for internal buffer"
#define OB_ERR_ADD_CHECK_CONSTRAINT_VIOLATED__USER_ERROR_MSG "cannot validate (%.*s.%.*s) - check constraint violated"
#define OB_ERR_ILLEGAL_VIEW_UPDATE__USER_ERROR_MSG "data manipulation operation not legal on this view"
#define OB_ERR_VIRTUAL_COL_NOT_ALLOWED__USER_ERROR_MSG "virtual column not allowed here"
#define OB_ERR_O_VIEW_MULTIUPDATE__USER_ERROR_MSG "cannot modify more than one base table through a join view"
#define OB_ERR_NON_INSERTABLE_TABLE__USER_ERROR_MSG "The target table %.*s of the INSERT is not insertable-into"
#define OB_ERR_VIEW_MULTIUPDATE__USER_ERROR_MSG \
  "Can not modify more than one base table through a join view '%.*s.%.*s'"
#define OB_ERR_NONUPDATEABLE_COLUMN__USER_ERROR_MSG "Column '%.*s' is not updatable"
#define OB_ERR_VIEW_DELETE_MERGE_VIEW__USER_ERROR_MSG "Can not delete from join view '%.*s.%.*s'"
#define OB_ERR_O_DELETE_VIEW_NON_KEY_PRESERVED__USER_ERROR_MSG \
  "cannot delete from view without exactly one key-preserved table"
#define OB_ERR_O_UPDATE_VIEW_NON_KEY_PRESERVED__USER_ERROR_MSG \
  "cannot modify a column which maps to a non key-preserved table"
#define OB_ERR_MODIFY_READ_ONLY_VIEW__USER_ERROR_MSG "cannot perform a DML operation on a read-only view"
#define OB_ERR_INVALID_INITRANS_VALUE__USER_ERROR_MSG "invalid INITRANS option value"
#define OB_ERR_INVALID_MAXTRANS_VALUE__USER_ERROR_MSG "invalid MAXTRANS option value"
#define OB_ERR_INVALID_PCTFREE_OR_PCTUSED_VALUE__USER_ERROR_MSG "invalid value for PCTFREE or PCTUSED"
#define OB_ERR_PROXY_REROUTE__USER_ERROR_MSG "SQL request should be rerouted"
#define OB_ERR_ILLEGAL_ARGUMENT_FOR_FUNCTION__USER_ERROR_MSG "illegal argument for function"
#define OB_ERR_OPERATOR_CANNOT_BE_USED_WITH_LIST__USER_ERROR_MSG "this operator cannot be used with lists"
#define OB_ERR_INVALID_SAMPLING_RANGE__USER_ERROR_MSG "SAMPLE percentage must be in the range [0.000001,100)"
#define OB_ERR_SPECIFY_DATABASE_NOT_ALLOWED__USER_ERROR_MSG "specifying owner's name of the table is not allowed"
#define OB_ERR_STMT_TRIGGER_WITH_WHEN_CLAUSE__USER_ERROR_MSG "stmt trigger with when clause"
#define OB_ERR_TRIGGER_NOT_EXIST__USER_ERROR_MSG "trigger '%.*s' does not exist"
#define OB_ERR_TRIGGER_ALREADY_EXIST__USER_ERROR_MSG "trigger '%.*s' already exist"
#define OB_ERR_TRIGGER_EXIST_ON_OTHER_TABLE__USER_ERROR_MSG \
  "trigger '%.*s' already exists on another table, cannot replace it"
#define OB_ERR_SIGNALED_IN_PARALLEL_QUERY_SERVER__USER_ERROR_MSG "error signaled in parallel query server"
#define OB_ERR_CTE_ILLEGAL_QUERY_NAME__USER_ERROR_MSG "illegal reference of a query name in WITH clause"
#define OB_ERR_CTE_UNSUPPORTED_COLUMN_ALIASING__USER_ERROR_MSG "unsupported column aliasing"
#define OB_ERR_UNSUPPORTED_USE_OF_CTE__USER_ERROR_MSG "unsupported use of WITH clause"
#define OB_ERR_CTE_COLUMN_NUMBER_NOT_MATCH__USER_ERROR_MSG \
  "number of WITH clause column names does not match number of elements in select list"
#define OB_ERR_NEED_COLUMN_ALIAS_LIST_IN_RECURSIVE_CTE__USER_ERROR_MSG \
  "recursive WITH clause must have column alias list"
#define OB_ERR_NEED_UNION_ALL_IN_RECURSIVE_CTE__USER_ERROR_MSG "recursive WITH clause must use a UNION ALL operation"
#define OB_ERR_NEED_ONLY_TWO_BRANCH_IN_RECURSIVE_CTE__USER_ERROR_MSG \
  "UNION ALL operation in recursive WITH clause must have only two branches"
#define OB_ERR_NEED_REFERENCE_ITSELF_DIRECTLY_IN_RECURSIVE_CTE__USER_ERROR_MSG \
  "recursive WITH clause must reference itself directly in one of the UNION ALL branches"
#define OB_ERR_NEED_INIT_BRANCH_IN_RECURSIVE_CTE__USER_ERROR_MSG "recursive WITH clause needs an initialization branch"
#define OB_ERR_CYCLE_FOUND_IN_RECURSIVE_CTE__USER_ERROR_MSG "cycle detected while executing recursive WITH query"
#define OB_ERR_CTE_REACH_MAX_LEVEL_RECURSION__USER_ERROR_MSG \
  "maximum level of recursion reached while executing recursive WITH query"
#define OB_ERR_CTE_ILLEGAL_SEARCH_PSEUDO_NAME__USER_ERROR_MSG \
  "sequence column name for SEARCH clause must not be part of the column alias list"
#define OB_ERR_CTE_ILLEGAL_CYCLE_NON_CYCLE_VALUE__USER_ERROR_MSG \
  "cycle mark value and non-cycle mark value must be one byte character string values"
#define OB_ERR_CTE_ILLEGAL_CYCLE_PSEUDO_NAME__USER_ERROR_MSG \
  "cycle mark column name for CYCLE clause must not be part of the column alias list"
#define OB_ERR_CTE_COLUMN_ALIAS_DUPLICATE__USER_ERROR_MSG "duplicate name found in column alias list for WITH clause"
#define OB_ERR_CTE_ILLEGAL_SEARCH_CYCLE_CLAUSE__USER_ERROR_MSG \
  "SEARCH and CYCLE clauses can only be specified for recursive WITH clause elements"
#define OB_ERR_CTE_DUPLICATE_CYCLE_NON_CYCLE_VALUE__USER_ERROR_MSG \
  "cycle value for CYCLE clause must be different from the non-cycle value"
#define OB_ERR_CTE_DUPLICATE_SEQ_NAME_CYCLE_COLUMN__USER_ERROR_MSG \
  "sequence column for SEARCH clause must be different from the cycle mark column for CYCLE clause"
#define OB_ERR_CTE_DUPLICATE_NAME_IN_SEARCH_CLAUSE__USER_ERROR_MSG \
  "duplicate name found in sort specification list for SEARCH clause of WITH clause"
#define OB_ERR_CTE_DUPLICATE_NAME_IN_CYCLE_CLAUSE__USER_ERROR_MSG \
  "duplicate name found in cycle column list for CYCLE clause of WITH clause"
#define OB_ERR_CTE_ILLEGAL_COLUMN_IN_CYCLE_CLAUSE__USER_ERROR_MSG \
  "element in cycle column list of CYCLE clause must appear in the column alias list of the WITH clause element"
#define OB_ERR_CTE_ILLEGAL_RECURSIVE_BRANCH__USER_ERROR_MSG \
  "unsupported operation in recursive branch of recursive WITH clause"
#define OB_ERR_ILLEGAL_JOIN_IN_RECURSIVE_CTE__USER_ERROR_MSG "unsupported join in recursive WITH query"
#define OB_ERR_CTE_NEED_COLUMN_ALIAS_LIST__USER_ERROR_MSG "WITH clause element did not have a column alias list"
#define OB_ERR_CTE_ILLEGAL_COLUMN_IN_SERACH_CALUSE__USER_ERROR_MSG                                                  \
  "element in sort specification list of SEARCH clause did not appear in the column alias list of the WITH clause " \
  "element"
#define OB_ERR_CTE_RECURSIVE_QUERY_NAME_REFERENCED_MORE_THAN_ONCE__USER_ERROR_MSG \
  "recursive query name referenced more than once in recursive branch of recursive WITH clause element"
#define OB_ERR_CBY_PSEUDO_COLUMN_NOT_ALLOWED__USER_ERROR_MSG "Specified pseudo column or operator not allowed here"
#define OB_ERR_CBY_LOOP__USER_ERROR_MSG "CONNECT BY loop in user data"
#define OB_ERR_CBY_JOIN_NOT_ALLOWED__USER_ERROR_MSG "cannot have join with CONNECT BY"
#define OB_ERR_CBY_CONNECT_BY_REQUIRED__USER_ERROR_MSG "CONNECT BY clause required in this query block"
#define OB_ERR_CBY_CONNECT_BY_PATH_NOT_ALLOWED__USER_ERROR_MSG "SYS_CONNECT_BY_PATH function is not allowed here"
#define OB_ERR_CBY_CONNECT_BY_PATH_ILLEGAL_PARAM__USER_ERROR_MSG "illegal parameter in SYS_CONNECT_BY_PATH function"
#define OB_ERR_CBY_CONNECT_BY_PATH_INVALID_SEPARATOR__USER_ERROR_MSG \
  "A column value contained the string that the SYS_CONNECT_BY_PATH function was to use to separate column values"
#define OB_ERR_CBY_CONNECT_BY_ROOT_ILLEGAL_USED__USER_ERROR_MSG \
  "CONNECT BY ROOT operator is not supported in the START WITH or in the CONNECT BY condition"
#define OB_ERR_CBY_OREDER_SIBLINGS_BY_NOT_ALLOWED__USER_ERROR_MSG "ORDER SIBLINGS BY clause not allowed here"
#define OB_ERR_CBY_NOCYCLE_REQUIRED__USER_ERROR_MSG "NOCYCLE keyword is required with CONNECT_BY_ISCYCLE pseudo column"
#define OB_ERR_NOT_ENOUGH_ARGS_FOR_FUN__USER_ERROR_MSG "not enough arguments for function"
#define OB_ERR_PREPARE_STMT_CHECKSUM__USER_ERROR_MSG "Prepare statement checksum error"
#define OB_ERR_ENABLE_NONEXISTENT_CONSTRAINT__USER_ERROR_MSG "cannot enable constraint (%.*s) - no such constraint"
#define OB_ERR_DISABLE_NONEXISTENT_CONSTRAINT__USER_ERROR_MSG "cannot disable constraint (%.*s) - no such constraint"
#define OB_ERR_DOWNGRADE_DOP__USER_ERROR_MSG "PX DOP downgrade from %ld to %ld"
#define OB_ERR_DOWNGRADE_PARALLEL_MAX_SERVERS__USER_ERROR_MSG \
  "parallel_max_servers downgrade due to insufficent cpu resource from %ld to %ld"
#define OB_ERR_ORPHANED_CHILD_RECORD_EXISTS__USER_ERROR_MSG "cannot validate (%.*s.%.*s) - parent keys not found"
#define OB_ERR_COL_CHECK_CST_REFER_ANOTHER_COL__USER_ERROR_MSG "Column check constraint cannot reference other columns"
#define OB_BATCHED_MULTI_STMT_ROLLBACK__USER_ERROR_MSG "batched multi statement execution needs rollback"
#define OB_ERR_FOR_UPDATE_SELECT_VIEW_CANNOT__USER_ERROR_MSG \
  "cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc."
#define OB_ERR_POLICY_WITH_CHECK_OPTION_VIOLATION__USER_ERROR_MSG "policy with check option violation"
#define OB_ERR_POLICY_ALREADY_APPLIED_TO_TABLE__USER_ERROR_MSG "policy already applied to table"
#define OB_ERR_MUTATING_TABLE_OPERATION__USER_ERROR_MSG \
  "table '%.*s'.'%.*s' is mutating, trigger/function may not see it"
#define OB_ERR_MODIFY_OR_DROP_MULTI_COLUMN_CONSTRAINT__USER_ERROR_MSG \
  "column is referenced in a multi-column constraint"
#define OB_ERR_DROP_PARENT_KEY_COLUMN__USER_ERROR_MSG "cannot drop parent key column"
#define OB_AUTOINC_SERVICE_BUSY__USER_ERROR_MSG "auto increment service busy"
#define OB_ERR_CONSTRAINT_CONSTRAINT_DISABLE_VALIDATE__USER_ERROR_MSG \
  "No insert/update/delete on table with constraint (%.*s.%.*s) disabled and validated"
#define OB_ERR_AUTONOMOUS_TRANSACTION_ROLLBACK__USER_ERROR_MSG "active autonomous transaction detected and rolled back"
#define OB_ORDERBY_CLAUSE_NOT_ALLOWED__USER_ERROR_MSG "ORDER BY not allowed here"
#define OB_DISTINCT_NOT_ALLOWED__USER_ERROR_MSG "DISTINCT not allowed here"
#define OB_ERR_ASSIGN_USER_VARIABLE_NOT_ALLOWED__USER_ERROR_MSG \
  "assign user variable with := only allowed in select filed list and as root expression"
#define OB_ERR_MODIFY_NONEXISTENT_CONSTRAINT__USER_ERROR_MSG "cannot modify constraint (%.*s) - no such constraint"
#define OB_ERR_SP_EXCEPTION_HANDLE_ILLEGAL__USER_ERROR_MSG \
  "implementation restriction: exception handler in nested transaction is illegal"
#define OB_INVALID_ROWID__USER_ERROR_MSG "invalid ROWID"
#define OB_ERR_INVALID_INSERT_COLUMN__USER_ERROR_MSG "Invalid column in the INSERT VALUES Clause:'%.*s'.'%.*s'"
#define OB_INCORRECT_USE_OF_OPERATOR__USER_ERROR_MSG "incorrect use of the ['%.*s'] operator"
#define OB_ERR_NON_CONST_EXPR_IS_NOT_ALLOWED_FOR_PIVOT_UNPIVOT_VALUES__USER_ERROR_MSG \
  "non-constant expression is not allowed for pivot|unpivot values"
#define OB_ERR_EXPECT_AGGREGATE_FUNCTION_INSIDE_PIVOT_OPERATION__USER_ERROR_MSG \
  "expect aggregate function inside pivot operation"
#define OB_ERR_EXP_NEED_SAME_DATATYPE__USER_ERROR_MSG "expression must have same datatype as corresponding expression"
#define OB_ERR_CHARACTER_SET_MISMATCH__USER_ERROR_MSG "character set mismatch"
#define OB_ERR_REGEXP_NOMATCH__USER_ERROR_MSG "regular expression failed to match"
#define OB_ERR_REGEXP_BADPAT__USER_ERROR_MSG "invalid regular expression (reg version 0.8)"
#define OB_ERR_REGEXP_EESCAPE__USER_ERROR_MSG "invalid escape \\ sequence in regular expression"
#define OB_ERR_REGEXP_EBRACK__USER_ERROR_MSG "unmatched bracket in regular expression"
#define OB_ERR_REGEXP_EPAREN__USER_ERROR_MSG "unmatched parentheses in regular expression"
#define OB_ERR_REGEXP_ESUBREG__USER_ERROR_MSG "invalid back reference in regular expression"
#define OB_ERR_REGEXP_ERANGE__USER_ERROR_MSG "invalid range in regular expression"
#define OB_ERR_REGEXP_ECTYPE__USER_ERROR_MSG "invalid character class in regular expression"
#define OB_ERR_REGEXP_ECOLLATE__USER_ERROR_MSG "invalid collation class in regular expression"
#define OB_ERR_REGEXP_EBRACE__USER_ERROR_MSG "braces {} not balanced in in regular expression"
#define OB_ERR_REGEXP_BADBR__USER_ERROR_MSG "invalid repetition count(s) in regular expression"
#define OB_ERR_REGEXP_BADRPT__USER_ERROR_MSG \
  "The regular expression was too complex and current library can't be parsed"
#define OB_ERR_REGEXP_ASSERT__USER_ERROR_MSG "regular expression internal error"
#define OB_ERR_REGEXP_INVARG__USER_ERROR_MSG "invalid argument in regular expression"
#define OB_ERR_REGEXP_MIXED__USER_ERROR_MSG "character widths of regex and string differ in regular expression"
#define OB_ERR_REGEXP_BADOPT__USER_ERROR_MSG "invalid embedded option in regular expression"
#define OB_ERR_REGEXP_ETOOBIG__USER_ERROR_MSG \
  "nfa has too many states in regular expression, may be the regular expression too long"
#define OB_NOT_SUPPORTED_ROWID_TYPE__USER_ERROR_MSG "ROWID for tables without primary key is not implemented"
#define OB_ERR_PARALLEL_DDL_CONFLICT__USER_ERROR_MSG \
  "the definition of relative objects have been modified, please check and retry"
#define OB_ERR_SUBSCRIPT_BEYOND_COUNT__USER_ERROR_MSG "Subscript beyond count"
#define OB_ERR_NOT_PARTITIONED__USER_ERROR_MSG "PARTITION () clause on non partitioned table"
#define OB_UNKNOWN_SUBPARTITION__USER_ERROR_MSG "Unknown subpartition"
#define OB_ERR_INVALID_SQL_ROW_LIMITING__USER_ERROR_MSG "Invalid SQL ROW LIMITING expression was specified."
#define INCORRECT_ARGUMENTS_TO_ESCAPE__USER_ERROR_MSG "Incorrect arguments to ESCAPE"
#define STATIC_ENG_NOT_IMPLEMENT__USER_ERROR_MSG \
  "not implemented in SQL static typing engine, will try the old engine automatically"
#define OB_OBJ_ALREADY_EXIST__USER_ERROR_MSG "name is already used by an existing object"
#define OB_DBLINK_NOT_EXIST_TO_ACCESS__USER_ERROR_MSG "connection description for remote database not found"
#define OB_DBLINK_NOT_EXIST_TO_DROP__USER_ERROR_MSG "database link not found"
#define OB_ERR_ACCESS_INTO_NULL__USER_ERROR_MSG "Reference to uninitialized composite"
#define OB_ERR_COLLECION_NULL__USER_ERROR_MSG "Reference to uninitialized collection"
#define OB_ERR_NO_DATA_NEEDED__USER_ERROR_MSG "no more rows needed"
#define OB_ERR_PROGRAM_ERROR__USER_ERROR_MSG "PL/SQL: program error"
#define OB_ERR_ROWTYPE_MISMATCH__USER_ERROR_MSG "PL/SQL: Return types of Result Set variables or query do not match"
#define OB_ERR_STORAGE_ERROR__USER_ERROR_MSG "PL/SQL: storage error"
#define OB_ERR_SUBSCRIPT_OUTSIDE_LIMIT__USER_ERROR_MSG "Subscript outside of limit"
#define OB_ERR_INVALID_CURSOR__USER_ERROR_MSG "invalid cursor"
#define OB_ERR_LOGIN_DENIED__USER_ERROR_MSG "invalid username/password; logon denied"
#define OB_ERR_NOT_LOGGED_ON__USER_ERROR_MSG "not logged on"
#define OB_ERR_SELF_IS_NULL__USER_ERROR_MSG "method dispatch on NULL SELF argument is disallowed"
#define OB_ERR_TIMEOUT_ON_RESOURCE__USER_ERROR_MSG "timeout occurred while waiting for a resource"
#define OB_COLUMN_CANT_CHANGE_TO_NOT_NULL__USER_ERROR_MSG "column to be modified to NOT NULL is already NOT NULL"
#define OB_COLUMN_CANT_CHANGE_TO_NULLALE__USER_ERROR_MSG "column to be modified to NULL cannot be modified to NULL"
#define OB_ENABLE_NOT_NULL_CONSTRAINT_VIOLATED__USER_ERROR_MSG "cannot enable (%.*s.%.*s) - null values found"
#define OB_ERR_ARGUMENT_SHOULD_CONSTANT__USER_ERROR_MSG "Argument should be a constant."
#define OB_ERR_NOT_A_SINGLE_GROUP_FUNCTION__USER_ERROR_MSG "not a single-group group function"
#define OB_ERR_ZERO_LENGTH_IDENTIFIER__USER_ERROR_MSG "illegal zero-length identifier"
#define OB_ERR_PARAM_VALUE_INVALID__USER_ERROR_MSG "parameter cannot be modified because specified value is invalid"
#define OB_ERR_DBMS_SQL_CURSOR_NOT_EXIST__USER_ERROR_MSG "DBMS_SQL access denied"
#define OB_ERR_DBMS_SQL_NOT_ALL_VAR_BIND__USER_ERROR_MSG "not all variables bound"
#define OB_ERR_CONFLICTING_DECLARATIONS__USER_ERROR_MSG "Conflicting declarations: '%s' and '%s'"
#define OB_ERR_DROP_COL_REFERENCED_MULTI_COLS_CONSTRAINT__USER_ERROR_MSG \
  "column is referenced in a multi-column constraint"
#define OB_ERR_MODIFY_COL_DATATYEP_REFERENCED_CONSTRAINT__USER_ERROR_MSG \
  "cannot modify column datatype with current constraint(s)"
#define OB_ERR_PERCENTILE_VALUE_INVALID__USER_ERROR_MSG "The percentile value should be a number between 0 and 1."
#define OB_ERR_ARGUMENT_SHOULD_NUMERIC_DATE_DATETIME_TYPE__USER_ERROR_MSG \
  "The argument should be of numeric or date/datetime type."
#define OB_ERR_ALTER_TABLE_RENAME_WITH_OPTION__USER_ERROR_MSG \
  "ALTER TABLE|INDEX RENAME may not be combined with other operations"
#define OB_ERR_ONLY_SIMPLE_COLUMN_NAME_ALLOWED__USER_ERROR_MSG "only simple column names allowed here."
#define OB_ERR_SAFE_UPDATE_MODE_NEED_WHERE_OR_LIMIT__USER_ERROR_MSG \
  "You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column"
#define OB_ERR_SPECIFIY_PARTITION_DESCRIPTION__USER_ERROR_MSG \
  "cannot specify <(sub)partition-description> clause in CREATE TABLE or CREATE INDEX"
#define OB_ERR_SAME_NAME_SUBPARTITION__USER_ERROR_MSG "Duplicate partition name %.*s"
#define OB_ERR_UPDATE_ORDER_BY__USER_ERROR_MSG "Incorrect usage of UPDATE and ORDER BY"
#define OB_ERR_UPDATE_LIMIT__USER_ERROR_MSG "Incorrect usage of UPDATE and LIMIT"
#define OB_ROWID_TYPE_MISMATCH__USER_ERROR_MSG "rowid type mismatch, expect %.*s, got %.*s"
#define OB_ROWID_NUM_MISMATCH__USER_ERROR_MSG "rowid num mismatch, expect %ld, actual %ld"
#define OB_NO_COLUMN_ALIAS__USER_ERROR_MSG "must name %.*s with a column alias"
#define OB_ERR_NUMERIC_NOT_MATCH_FORMAT_LENGTH__USER_ERROR_MSG \
  "the numeric value does not match the length of the format item"
#define OB_ERR_INVALID_DATATYPE__USER_ERROR_MSG "invalid datatype"
#define OB_ERR_NOT_COMPOSITE_PARTITION__USER_ERROR_MSG "table is not partitioned by composite partition method"
#define OB_ERR_SUBPARTITION_NOT_EXPECT_VALUES_IN__USER_ERROR_MSG \
  "VALUES IN (<value list>) cannot be used for Range subpartitioned tables"
#define OB_ERR_SUBPARTITION_EXPECT_VALUES_IN__USER_ERROR_MSG "VALUES IN (<value list>) clause expected"
#define OB_ERR_PARTITION_NOT_EXPECT_VALUES_LESS_THAN__USER_ERROR_MSG \
  "VALUES LESS THAN or AT clause cannot be used with List partitioned tables"
#define OB_ERR_PARTITION_EXPECT_VALUES_LESS_THAN__USER_ERROR_MSG "Expecting VALUES LESS THAN or AT clause"
#define OB_ERR_PROGRAM_UNIT_NOT_EXIST__USER_ERROR_MSG "Procedure, function, package, or package body does not exist"
#define OB_ERR_INVALID_RESTORE_POINT_NAME__USER_ERROR_MSG "invalid restore point name specified in connection string"
#define OB_ERR_INPUT_TIME_TYPE__USER_ERROR_MSG "invalid time limit specified"
#define OB_ERR_IN_ARRAY_DML__USER_ERROR_MSG "error(s) in array DML"
#define OB_ERR_TRIGGER_COMPILE_ERROR__USER_ERROR_MSG "%s \'%.*s.%.*s\' compile error"
#define OB_ERR_MISSING_OR_INVALID_PASSWORD__USER_ERROR_MSG "missing or invalid password(s)"
#define OB_ERR_NO_MATCHING_UK_PK_FOR_COL_LIST__USER_ERROR_MSG "no matching unique or primary key for this column-list"
#define OB_ERR_DUP_FK_IN_TABLE__USER_ERROR_MSG "duplicate referential constraint specifications"
#define OB_ERR_DUP_FK_EXISTS__USER_ERROR_MSG "such a referential constraint already exists in the table"
#define OB_ERR_INVALID_VIRTUAL_COLUMN_TYPE__USER_ERROR_MSG "specified data type is not supported for a virtual column"
#define OB_ERR_REFERENCED_TABLE_HAS_NO_PK__USER_ERROR_MSG "referenced table does not have a primary key"
#define OB_ERR_MODIFY_PART_COLUMN_TYPE__USER_ERROR_MSG \
  "data type or length of a table partitioning column may not be changed"
#define OB_ERR_MODIFY_SUBPART_COLUMN_TYPE__USER_ERROR_MSG \
  "data type or length of a table subpartitioning column may not be changed"
#define OB_ERR_DECREASE_COLUMN_LENGTH__USER_ERROR_MSG "cannot decrease column length because some value is too big"
#define OB_ERR_DATETIME_INTERVAL_INTERNAL_ERROR__USER_ERROR_MSG "Datetime/Interval internal error"
#define OB_ERR_REMOTE_PART_ILLEGAL__USER_ERROR_MSG "partition extended table name cannot refer to a remote object"
#define OB_ERR_A_VIEW_NOT_APPROPRIATE_HERE__USER_ERROR_MSG "a view is not appropriate here"
#define OB_ROWID_VIEW_NO_KEY_PRESERVED__USER_ERROR_MSG \
  "cannot select ROWID from, or sample, a join view without a key-preserved table"
#define OB_ROWID_VIEW_HAS_DISTINCT_ETC__USER_ERROR_MSG \
  "cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc"
#define OB_ERR_AT_LEAST_ONE_COLUMN_NOT_VIRTUAL__USER_ERROR_MSG "table must have at least 1 column that is not virtual"
#define OB_ERR_ONLY_PURE_FUNC_CANBE_INDEXED__USER_ERROR_MSG "only pure functions can be indexed"
#define OB_ERR_ONLY_PURE_FUNC_CANBE_VIRTUAL_COLUMN_EXPRESSION__USER_ERROR_MSG \
2557
  "Expression of generated column contains a disallowed function"
O
oceanbase-admin 已提交
2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592
#define OB_ERR_UPDATE_OPERATION_ON_VIRTUAL_COLUMNS__USER_ERROR_MSG "UPDATE operation disallowed on virtual columns"
#define OB_ERR_INVALID_COLUMN_EXPRESSION__USER_ERROR_MSG "Invalid column expression was specified"
#define OB_ERR_IDENTITY_COLUMN_COUNT_EXCE_LIMIT__USER_ERROR_MSG "table can have only one identity column"
#define OB_ERR_INVALID_NOT_NULL_CONSTRAINT_ON_IDENTITY_COLUMN__USER_ERROR_MSG \
  "invalid NOT NULL constraint specified on an identity column"
#define OB_ERR_CANNOT_MODIFY_NOT_NULL_CONSTRAINT_ON_IDENTITY_COLUMN__USER_ERROR_MSG \
  "cannot modify NOT NULL constraint on an identity column"
#define OB_ERR_CANNOT_DROP_NOT_NULL_CONSTRAINT_ON_IDENTITY_COLUMN__USER_ERROR_MSG \
  "cannot drop NOT NULL constraint on an identity column"
#define OB_ERR_COLUMN_MODIFY_TO_IDENTITY_COLUMN__USER_ERROR_MSG "column to be modified is not an identity column"
#define OB_ERR_IDENTITY_COLUMN_CANNOT_HAVE_DEFAULT_VALUE__USER_ERROR_MSG "identity column cannot have a default value"
#define OB_ERR_IDENTITY_COLUMN_MUST_BE_NUMERIC_TYPE__USER_ERROR_MSG "identity column must be a numeric type"
#define OB_ERR_PREBUILT_TABLE_MANAGED_CANNOT_BE_IDENTITY_COLUMN__USER_ERROR_MSG \
  "prebuilt table managed column cannot be an identity column"
#define OB_ERR_CANNOT_ALTER_SYSTEM_GENERATED_SEQUENCE__USER_ERROR_MSG "cannot alter a system-generated sequence"
#define OB_ERR_CANNOT_DROP_SYSTEM_GENERATED_SEQUENCE__USER_ERROR_MSG "cannot drop a system-generated sequence"
#define OB_ERR_INSERT_INTO_GENERATED_ALWAYS_IDENTITY_COLUMN__USER_ERROR_MSG \
  "cannot insert into a generated always identity column"
#define OB_ERR_UPDATE_GENERATED_ALWAYS_IDENTITY_COLUMN__USER_ERROR_MSG \
  "cannot update a generated always identity column"
#define OB_ERR_IDENTITY_COLUMN_SEQUENCE_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION__USER_ERROR_MSG \
  "identity column sequence mismatch in ALTER TABLE EXCHANGE PARTITION"
#define OB_ERR_CANNOT_RENAME_SYSTEM_GENERATED_SEQUENCE__USER_ERROR_MSG "cannot rename a system-generated sequence"
#define OB_ERR_REVOKE_BY_COLUMN__USER_ERROR_MSG \
  "UPDATE/REFERENCES may only be REVOKEd from the whole table, not by column"
#define OB_ERR_TYPE_BODY_NOT_EXIST__USER_ERROR_MSG "not executed, type body '%.*s' does not exist"
#define OB_ERR_INVALID_ARGUMENT_FOR_WIDTH_BUCKET__USER_ERROR_MSG \
  "The argument [%s] of WIDTH_BUCKET function is NULL or invalid."
#define OB_ERR_CBY_NO_MEMORY__USER_ERROR_MSG "Not enough memory for CONNECT BY operation"
#define OB_ERR_ILLEGAL_PARAM_FOR_CBY_PATH__USER_ERROR_MSG "illegal parameter in SYS_CONNECT_BY_PATH function"
#define OB_ERR_HOST_UNKNOWN__USER_ERROR_MSG "host %.*s unknown"
#define OB_ERR_WINDOW_NAME_IS_NOT_DEFINE__USER_ERROR_MSG "Window name '%.*s' is not defined."
#define OB_ERR_OPEN_CURSORS_EXCEEDED__USER_ERROR_MSG "maximum open cursors exceeded"
#define OB_ERR_ARG_INVALID__USER_ERROR_MSG "argument is null, invalid, or out of range"
#define OB_ERR_ILL_NAME_STRING__USER_ERROR_MSG "unexpected name string"
J
jg0 已提交
2593
#define OB_ERR_INCORRECT_VALUE_FOR_FUNCTION__USER_ERROR_MSG "Incorrect %.*s value: '%.*s' for function %.*s"
O
oceanbase-admin 已提交
2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784
#define OB_TRANSACTION_SET_VIOLATION__USER_ERROR_MSG "Transaction set changed during the execution"
#define OB_TRANS_ROLLBACKED__USER_ERROR_MSG "transaction is rolled back"
#define OB_ERR_EXCLUSIVE_LOCK_CONFLICT__USER_ERROR_MSG "Lock wait timeout exceeded; try restarting transaction"
#define OB_ERR_SHARED_LOCK_CONFLICT__USER_ERROR_MSG "Statement is timeout"
#define OB_TRY_LOCK_ROW_CONFLICT__USER_ERROR_MSG "Try lock row conflict"
#define OB_ERR_EXCLUSIVE_LOCK_CONFLICT_NOWAIT__USER_ERROR_MSG "Lock wait timeout exceeded; try restarting transaction"
#define OB_CLOCK_OUT_OF_ORDER__USER_ERROR_MSG "Clock out of order"
#define OB_MASK_SET_NO_NODE__USER_ERROR_MSG "Mask set has no node"
#define OB_TRANS_HAS_DECIDED__USER_ERROR_MSG "Transaction has been decided"
#define OB_TRANS_INVALID_STATE__USER_ERROR_MSG "Transaction state invalid"
#define OB_TRANS_STATE_NOT_CHANGE__USER_ERROR_MSG "Transaction state not changed"
#define OB_TRANS_PROTOCOL_ERROR__USER_ERROR_MSG "Transaction protocol error"
#define OB_TRANS_INVALID_MESSAGE__USER_ERROR_MSG "Transaction message invalid"
#define OB_TRANS_INVALID_MESSAGE_TYPE__USER_ERROR_MSG "Transaction message type invalid"
#define OB_TRANS_TIMEOUT__USER_ERROR_MSG "Transaction is timeout"
#define OB_TRANS_KILLED__USER_ERROR_MSG "Transaction is killed"
#define OB_TRANS_STMT_TIMEOUT__USER_ERROR_MSG "Statement is timeout"
#define OB_TRANS_CTX_NOT_EXIST__USER_ERROR_MSG "Transaction context does not exist"
#define OB_PARTITION_IS_FROZEN__USER_ERROR_MSG "Partition is frozen"
#define OB_PARTITION_IS_NOT_FROZEN__USER_ERROR_MSG "Partition is not frozen"
#define OB_TRANS_INVALID_LOG_TYPE__USER_ERROR_MSG "Transaction invalid log type"
#define OB_TRANS_SQL_SEQUENCE_ILLEGAL__USER_ERROR_MSG "SQL sequence illegal"
#define OB_TRANS_CANNOT_BE_KILLED__USER_ERROR_MSG "Transaction context cannot be killed"
#define OB_TRANS_STATE_UNKNOWN__USER_ERROR_MSG "Transaction state unknown"
#define OB_TRANS_IS_EXITING__USER_ERROR_MSG "Transaction exiting"
#define OB_TRANS_NEED_ROLLBACK__USER_ERROR_MSG "transaction needs rollback"
#define OB_TRANS_UNKNOWN__USER_ERROR_MSG "Transaction result is unknown"
#define OB_ERR_READ_ONLY_TRANSACTION__USER_ERROR_MSG "Cannot execute statement in a READ ONLY transaction"
#define OB_PARTITION_IS_NOT_STOPPED__USER_ERROR_MSG "Partition is not stopped"
#define OB_PARTITION_IS_STOPPED__USER_ERROR_MSG "Partition has been stopped"
#define OB_PARTITION_IS_BLOCKED__USER_ERROR_MSG "Partition has been blocked"
#define OB_TRANS_RPC_TIMEOUT__USER_ERROR_MSG "transaction rpc timeout"
#define OB_REPLICA_NOT_READABLE__USER_ERROR_MSG "replica is not readable"
#define OB_PARTITION_IS_SPLITTING__USER_ERROR_MSG "Partition is splitting"
#define OB_TRANS_COMMITED__USER_ERROR_MSG "Transaction has been commited"
#define OB_TRANS_CTX_COUNT_REACH_LIMIT__USER_ERROR_MSG "transaction context count reach limit"
#define OB_TRANS_CANNOT_SERIALIZE__USER_ERROR_MSG "can't serialize access for this transaction"
#define OB_TRANS_WEAK_READ_VERSION_NOT_READY__USER_ERROR_MSG "transaction weak read version is not ready"
#define OB_GTS_STANDBY_IS_INVALID__USER_ERROR_MSG "gts standby is invalid"
#define OB_GTS_UPDATE_FAILED__USER_ERROR_MSG "gts update failed"
#define OB_GTS_IS_NOT_SERVING__USER_ERROR_MSG "gts is not serving"
#define OB_PG_PARTITION_NOT_EXIST__USER_ERROR_MSG "pg partition not exist"
#define OB_TRANS_STMT_NEED_RETRY__USER_ERROR_MSG "transaction statement need retry"
#define OB_SAVEPOINT_NOT_EXIST__USER_ERROR_MSG "savepoint does not exist"
#define OB_TRANS_WAIT_SCHEMA_REFRESH__USER_ERROR_MSG                                                            \
  "local schema is not new enough, replaying logs of user table from standby cluster needs to wait for schema " \
  "refreshing "
#define OB_TRANS_OUT_OF_THRESHOLD__USER_ERROR_MSG "out of transaction threshold"
#define OB_TRANS_XA_NOTA__USER_ERROR_MSG "Unknown XID"
#define OB_TRANS_XA_RMFAIL__USER_ERROR_MSG "The command cannot be executed when global transaction is in the %s state"
#define OB_TRANS_XA_DUPID__USER_ERROR_MSG "The XID already exists"
#define OB_TRANS_XA_OUTSIDE__USER_ERROR_MSG "Some work is done outside global transaction"
#define OB_TRANS_XA_INVAL__USER_ERROR_MSG "Invalid arguments were given"
#define OB_TRANS_XA_RMERR__USER_ERROR_MSG "Resource manager error occurred in the transaction branch"
#define OB_TRANS_XA_PROTO__USER_ERROR_MSG "Routine invoked in an improper context"
#define OB_TRANS_XA_RBROLLBACK__USER_ERROR_MSG "Rollback was caused by an unspecified reason"
#define OB_TRANS_XA_RBTIMEOUT__USER_ERROR_MSG "Transaction branch took long"
#define OB_TRANS_XA_RDONLY__USER_ERROR_MSG "Transaction was read-only and has been committed"
#define OB_TRANS_XA_RETRY__USER_ERROR_MSG "Routine returned with no effect and may be re-issued"
#define OB_ERR_ROW_NOT_LOCKED__USER_ERROR_MSG "Row has not been locked"
#define OB_EMPTY_PG__USER_ERROR_MSG "Empty partition group"
#define OB_TRANS_XA_ERR_COMMIT__USER_ERROR_MSG \
  "RMFAIL: The command cannot be executed when global transaction is in the %s state"
#define OB_ERR_RESTORE_POINT_EXIST__USER_ERROR_MSG "Restore point %s already exists"
#define OB_ERR_RESTORE_POINT_NOT_EXIST__USER_ERROR_MSG "Restore point %s does not exist"
#define OB_ERR_BACKUP_POINT_EXIST__USER_ERROR_MSG "Backup point %s already exists"
#define OB_ERR_BACKUP_POINT_NOT_EXIST__USER_ERROR_MSG "Backup point %s does not exist"
#define OB_ERR_RESTORE_POINT_TOO_MANY__USER_ERROR_MSG "cannot create restore point - too many restore points"
#define OB_TRANS_XA_BRANCH_FAIL__USER_ERROR_MSG "another session or branch in same transaction failed or finalized"
#define OB_LOG_ID_NOT_FOUND__USER_ERROR_MSG "log id not found"
#define OB_LSR_THREAD_STOPPED__USER_ERROR_MSG "log scan runnable thread stop"
#define OB_NO_LOG__USER_ERROR_MSG "no log ever scanned"
#define OB_LOG_ID_RANGE_ERROR__USER_ERROR_MSG "log id range error"
#define OB_LOG_ITER_ENOUGH__USER_ERROR_MSG "iter scans enough files"
#define OB_CLOG_INVALID_ACK__USER_ERROR_MSG "invalid ack msg"
#define OB_CLOG_CACHE_INVALID__USER_ERROR_MSG "clog cache invalid"
#define OB_EXT_HANDLE_UNFINISH__USER_ERROR_MSG "external executor handle do not finish"
#define OB_CURSOR_NOT_EXIST__USER_ERROR_MSG "cursor not exist"
#define OB_STREAM_NOT_EXIST__USER_ERROR_MSG "stream not exist"
#define OB_STREAM_BUSY__USER_ERROR_MSG "stream busy"
#define OB_FILE_RECYCLED__USER_ERROR_MSG "file recycled"
#define OB_REPLAY_EAGAIN_TOO_MUCH_TIME__USER_ERROR_MSG "replay eagain cost too much time"
#define OB_MEMBER_CHANGE_FAILED__USER_ERROR_MSG "member change log sync failed"
#define OB_NO_NEED_BATCH_CTX__USER_ERROR_MSG "no need batch ctx"
#define OB_TOO_LARGE_LOG_ID__USER_ERROR_MSG "too large log id"
#define OB_ALLOC_LOG_ID_NEED_RETRY__USER_ERROR_MSG "alloc log id need retry"
#define OB_TRANS_ONE_PC_NOT_ALLOWED__USER_ERROR_MSG "transaction one pc not allowed"
#define OB_LOG_NEED_REBUILD__USER_ERROR_MSG "need rebuild"
#define OB_TOO_MANY_LOG_TASK__USER_ERROR_MSG "too many log tasks"
#define OB_INVALID_BATCH_SIZE__USER_ERROR_MSG "ob invalid batch size"
#define OB_CLOG_SLIDE_TIMEOUT__USER_ERROR_MSG "ob clog slide timeout"
#define OB_ELECTION_WARN_LOGBUF_FULL__USER_ERROR_MSG "The log buffer is full"
#define OB_ELECTION_WARN_LOGBUF_EMPTY__USER_ERROR_MSG "The log buffer is empty"
#define OB_ELECTION_WARN_NOT_RUNNING__USER_ERROR_MSG "The object is not running"
#define OB_ELECTION_WARN_IS_RUNNING__USER_ERROR_MSG "The object is running"
#define OB_ELECTION_WARN_NOT_REACH_MAJORITY__USER_ERROR_MSG "Election does not reach majority"
#define OB_ELECTION_WARN_INVALID_SERVER__USER_ERROR_MSG "The server is not valid"
#define OB_ELECTION_WARN_INVALID_LEADER__USER_ERROR_MSG "The leader is not valid"
#define OB_ELECTION_WARN_LEADER_LEASE_EXPIRED__USER_ERROR_MSG "The leader lease is expired"
#define OB_ELECTION_WARN_INVALID_MESSAGE__USER_ERROR_MSG "The message is not valid"
#define OB_ELECTION_WARN_MESSAGE_NOT_INTIME__USER_ERROR_MSG "The message is not intime"
#define OB_ELECTION_WARN_NOT_CANDIDATE__USER_ERROR_MSG "The server is not candidate"
#define OB_ELECTION_WARN_NOT_CANDIDATE_OR_VOTER__USER_ERROR_MSG "The server is not candidate or voter"
#define OB_ELECTION_WARN_PROTOCOL_ERROR__USER_ERROR_MSG "Election protocol error"
#define OB_ELECTION_WARN_RUNTIME_OUT_OF_RANGE__USER_ERROR_MSG "The task run time out of range"
#define OB_ELECTION_WARN_LAST_OPERATION_NOT_DONE__USER_ERROR_MSG "Last operation has not done"
#define OB_ELECTION_WARN_CURRENT_SERVER_NOT_LEADER__USER_ERROR_MSG "Current server is not leader"
#define OB_ELECTION_WARN_NO_PREPARE_MESSAGE__USER_ERROR_MSG "There is not prepare message"
#define OB_ELECTION_ERROR_MULTI_PREPARE_MESSAGE__USER_ERROR_MSG "There is more than one prepare message"
#define OB_ELECTION_NOT_EXIST__USER_ERROR_MSG "Election does not exist"
#define OB_ELECTION_MGR_IS_RUNNING__USER_ERROR_MSG "Election manager is running"
#define OB_ELECTION_WARN_NO_MAJORITY_PREPARE_MESSAGE__USER_ERROR_MSG \
  "Election msg pool not have majority prepare message"
#define OB_ELECTION_ASYNC_LOG_WARN_INIT__USER_ERROR_MSG "Election async log init error"
#define OB_ELECTION_WAIT_LEADER_MESSAGE__USER_ERROR_MSG "Election waiting leader message"
#define OB_ELECTION_GROUP_NOT_EXIST__USER_ERROR_MSG "Election group not exist"
#define OB_UNEXPECT_EG_VERSION__USER_ERROR_MSG "unexpected eg_version"
#define OB_ELECTION_GROUP_MGR_IS_RUNNING__USER_ERROR_MSG "election_group_mgr is running"
#define OB_ELECTION_MGR_NOT_RUNNING__USER_ERROR_MSG "Election manager is not running"
#define OB_ELECTION_ERROR_VOTE_MSG_CONFLICT__USER_ERROR_MSG \
  "Receive change leader msg and vote msg with same T1 timestamp"
#define OB_ELECTION_ERROR_DUPLICATED_MSG__USER_ERROR_MSG "Receive duplicated prepare/vote msg with same T1 timestamp"
#define OB_ELECTION_WARN_T1_NOT_MATCH__USER_ERROR_MSG "T1 timestamp is not match"
#define OB_TRANSFER_TASK_COMPLETED__USER_ERROR_MSG "transfer task completed"
#define OB_TOO_MANY_TRANSFER_TASK__USER_ERROR_MSG "too many transfer tasks"
#define OB_TRANSFER_TASK_EXIST__USER_ERROR_MSG "transfer task exist"
#define OB_TRANSFER_TASK_NOT_EXIST__USER_ERROR_MSG "transfer task not exist"
#define OB_NOT_ALLOW_TO_REMOVE__USER_ERROR_MSG "not allow to remove"
#define OB_RG_NOT_MATCH__USER_ERROR_MSG "replication group not match"
#define OB_TRANSFER_TASK_ABORTED__USER_ERROR_MSG "transfer task aborted"
#define OB_TRANSFER_INVALID_MESSAGE__USER_ERROR_MSG "transfer invalid message"
#define OB_TRANSFER_CTX_TS_NOT_MATCH__USER_ERROR_MSG "transfer ctx_ts not match"
#define OB_SERVER_IS_INIT__USER_ERROR_MSG "Server is initializing"
#define OB_SERVER_IS_STOPPING__USER_ERROR_MSG "Server is stopping"
#define OB_PACKET_CHECKSUM_ERROR__USER_ERROR_MSG "Packet checksum error"
#define OB_PACKET_CLUSTER_ID_NOT_MATCH__USER_ERROR_MSG "Packet cluster_id not match"
#define OB_URI_ERROR__USER_ERROR_MSG "URI error"
#define OB_FINAL_MD5_ERROR__USER_ERROR_MSG "OSS file MD5 error"
#define OB_OSS_ERROR__USER_ERROR_MSG "OSS error"
#define OB_INIT_MD5_ERROR__USER_ERROR_MSG "Init MD5 fail"
#define OB_OUT_OF_ELEMENT__USER_ERROR_MSG "Out of element"
#define OB_UPDATE_MD5_ERROR__USER_ERROR_MSG "Update MD5 fail"
#define OB_FILE_LENGTH_INVALID__USER_ERROR_MSG "Invalid OSS file length"
#define OB_NOT_READ_ALL_DATA__USER_ERROR_MSG "Read all data fail"
#define OB_BUILD_MD5_ERROR__USER_ERROR_MSG "Build MD5 fail"
#define OB_MD5_NOT_MATCH__USER_ERROR_MSG "OSS file MD5 not match"
#define OB_BACKUP_FILE_NOT_EXIST__USER_ERROR_MSG "cannot find backup file"
#define OB_OSS_DATA_VERSION_NOT_MATCHED__USER_ERROR_MSG "Can not get data version from timestamp"
#define OB_OSS_WRITE_ERROR__USER_ERROR_MSG "Write OSS file error"
#define OB_RESTORE_IN_PROGRESS__USER_ERROR_MSG "Another restore is in progress"
#define OB_AGENT_INITING_BACKUP_COUNT_ERROR__USER_ERROR_MSG "agent initing backup count error"
#define OB_CLUSTER_NAME_NOT_EQUAL__USER_ERROR_MSG "ob cluster name not equal"
#define OB_RS_LIST_INVAILD__USER_ERROR_MSG "rs list invalid"
#define OB_AGENT_HAS_FAILED_TASK__USER_ERROR_MSG "agent has failed task"
#define OB_RESTORE_PARTITION_IS_COMPELETE__USER_ERROR_MSG "restore partition is compelete"
#define OB_RESTORE_PARTITION_TWICE__USER_ERROR_MSG "restore partition twice"
#define OB_STOP_DROP_SCHEMA__USER_ERROR_MSG "physical backup switch is on"
#define OB_CANNOT_START_LOG_ARCHIVE_BACKUP__USER_ERROR_MSG "cannot start log archive backup"
#define OB_ALREADY_NO_LOG_ARCHIVE_BACKUP__USER_ERROR_MSG "log archive backup is already disabled"
#define OB_LOG_ARCHIVE_BACKUP_INFO_NOT_EXIST__USER_ERROR_MSG "log archive backup info not exists"
#define OB_INVALID_BACKUP_DEST__USER_ERROR_MSG "backup destination is not valid"
#define OB_LOG_ARCHIVE_INTERRUPTED__USER_ERROR_MSG "ob log archive interrupted"
#define OB_LOG_ARCHIVE_STAT_NOT_MATCH__USER_ERROR_MSG "ob log archive stat not match"
#define OB_LOG_ARCHIVE_NOT_RUNNING__USER_ERROR_MSG "log archive is not running"
#define OB_LOG_ARCHIVE_INVALID_ROUND__USER_ERROR_MSG "log archive invalid round"
#define OB_REPLICA_CANNOT_BACKUP__USER_ERROR_MSG "Cannot backup ob replica"
#define OB_BACKUP_INFO_NOT_EXIST__USER_ERROR_MSG "backup info not exists"
#define OB_BACKUP_INFO_NOT_MATCH__USER_ERROR_MSG \
  "Backup meta info stored in system dictionary does not match with current system status"
#define OB_LOG_ARCHIVE_ALREADY_STOPPED__USER_ERROR_MSG "log archive already stopped"
#define OB_RESTORE_INDEX_FAILED__USER_ERROR_MSG "restore index failed"
#define OB_BACKUP_IN_PROGRESS__USER_ERROR_MSG "Backup is in progress"
#define OB_INVALID_LOG_ARCHIVE_STATUS__USER_ERROR_MSG "log archive status is not valid"
#define OB_CANNOT_ADD_REPLICA_DURING_SET_MEMBER_LIST__USER_ERROR_MSG \
  "Cannot add replica during set member list in restore"
#define OB_LOG_ARCHIVE_LEADER_CHANGED__USER_ERROR_MSG "pg log archive leader changed"
#define OB_BACKUP_CAN_NOT_START__USER_ERROR_MSG "backup can not start, because %s"
#define OB_CANCEL_BACKUP_NOT_ALLOWED__USER_ERROR_MSG "cancel backup do not allow"
#define OB_BACKUP_DATA_VERSION_GAP_OVER_LIMIT__USER_ERROR_MSG "backup data version gap over limit"
#define OB_PG_LOG_ARCHIVE_STATUS_NOT_INIT__USER_ERROR_MSG "pg log archive status is still invalid"
#define OB_BACKUP_DELETE_DATA_IN_PROGRESS__USER_ERROR_MSG "delete backup data is in progress"
#define OB_BACKUP_DELETE_BACKUP_SET_NOT_ALLOWED__USER_ERROR_MSG "delete backup set do not allow"
#define OB_INVALID_BACKUP_SET_ID__USER_ERROR_MSG "backup set id is not valid"
#define OB_BACKUP_INVALID_PASSWORD__USER_ERROR_MSG "invalid password for backup"
#define OB_ISOLATED_BACKUP_SET__USER_ERROR_MSG "backup set is isolated by two log archive round"
#define OB_CANNOT_CANCEL_STOPPED_BACKUP__USER_ERROR_MSG "backup status is stopped, can not cancel"
#define OB_BACKUP_BACKUP_CAN_NOT_START__USER_ERROR_MSG "no backup data to be backuped up"
#define OB_BACKUP_MOUNT_FILE_NOT_VALID__USER_ERROR_MSG "backup mount file is not valid"
#define OB_BACKUP_CLEAN_INFO_NOT_MATCH__USER_ERROR_MSG "backup clean info not match"
#define OB_CANCEL_DELETE_BACKUP_NOT_ALLOWED__USER_ERROR_MSG "cancel delete backup do not allow"
#define OB_BACKUP_CLEAN_INFO_NOT_EXIST__USER_ERROR_MSG "backup clean info not exists"
2785
#define OB_IO_LIMIT__USER_ERROR_MSG "IO limit"
O
oceanbase-admin 已提交
2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261
#define OB_NO_SUCH_FILE_OR_DIRECTORY__USER_ERROR_MSG "no such file or directory"
#define OB_FILE_OR_DIRECTORY_EXIST__USER_ERROR_MSG "file or directory already exist"
#define OB_ERR_DUPLICATE_HAVING_CLAUSE_IN_TABLE_EXPRESSION__USER_ERROR_MSG "Duplicate having-clause in table expression"
#define OB_ERR_INOUT_PARAM_PLACEMENT_NOT_PROPERLY__USER_ERROR_MSG "OUT and IN/OUT modes cannot be used in this context"
#define OB_ERR_OBJECT_NOT_FOUND__USER_ERROR_MSG "object '%.*s' of type %.*s not found in schema '%.*s'"
#define OB_ERR_INVALID_INPUT_VALUE__USER_ERROR_MSG "invalid input value %.*s for parameter %.*s in function %.*s"
#define OB_ERR_GOTO_BRANCH_ILLEGAL__USER_ERROR_MSG "no matching label: %.*s"
#define OB_ERR_ONLY_SCHEMA_LEVEL_ALLOW__USER_ERROR_MSG "Only schema-level programs allow %s"
#define OB_ERR_DECL_MORE_THAN_ONCE__USER_ERROR_MSG "at most one declaration for '%.*s' is permitted"
#define OB_ERR_DUPLICATE_FILED__USER_ERROR_MSG "duplicate fields in RECORD,TABLE or argument list are not permitted"
#define OB_ERR_AUTONOMOUS_TRANSACTION_ILLEGAL__USER_ERROR_MSG "Pragma AUTONOMOUS_TRANSACTION cannot be specified here"
#define OB_ERR_EXIT_CONTINUE_ILLEGAL__USER_ERROR_MSG "illegal EXIT/CONTINUE statement; it must appear inside a loop"
#define OB_ERR_LABEL_ILLEGAL__USER_ERROR_MSG "EXIT/CONTINUE label '%.*s' must label a LOOP statement"
#define OB_ERR_CURSOR_LEFT_ASSIGN__USER_ERROR_MSG \
  "expression '%.*s' is inappropriate as the left hand side of an assignment statement"
#define OB_ERR_INIT_NOTNULL_ILLEGAL__USER_ERROR_MSG \
  "a variable declared NOT NULL must have an initialization assignment"
#define OB_ERR_INIT_CONST_ILLEGAL__USER_ERROR_MSG "Constant declarations should contain initialization assignments"
#define OB_ERR_CURSOR_VAR_IN_PKG__USER_ERROR_MSG "Cursor Variables cannot be declared as part of a package"
#define OB_ERR_LIMIT_CLAUSE__USER_ERROR_MSG "value in LIMIT clause: \'%.*s\' use is invalid"
#define OB_ERR_EXPRESSION_WRONG_TYPE__USER_ERROR_MSG "expression is of wrong type"
#define OB_ERR_TYPE_SPEC_NOT_EXIST__USER_ERROR_MSG "cannot compile body of '%.*s' without its specification"
#define OB_ERR_TYPE_SPEC_NO_ROUTINE__USER_ERROR_MSG \
  "subprogram '%.*s' is declared in an object type body and must be defined in the object type specification"
#define OB_ERR_TYPE_BODY_NO_ROUTINE__USER_ERROR_MSG                                                                 \
  "subprogram or cursor '%.*s' is declared in an object type specification and must be defined in the object type " \
  "body"
#define OB_ERR_IDENTIFIER_TOO_LONG__USER_ERROR_MSG "identifier '%.*s' too long"
#define OB_SP_RAISE_APPLICATION_ERROR__USER_ERROR_MSG "-%05ld: %.*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"
#define OB_ERR_UPDATE_TWICE__USER_ERROR_MSG "unable to get a stable set of rows in the source tables"
#define OB_ERR_FLASHBACK_QUERY_WITH_UPDATE__USER_ERROR_MSG "snapshot expression not allowed here"
#define OB_ERR_UPDATE_ON_EXPR__USER_ERROR_MSG "Columns referenced in the ON Clause cannot be updated:'%.*s'.'%.*s'"
#define OB_ERR_SPECIFIED_ROW_NO_LONGER_EXISTS__USER_ERROR_MSG "specified row no longer exists"
#define OB_ERR_DATA_TOO_LONG_MSG_FMT_V2__USER_ERROR_MSG "Data too long for column '%.*s' at row %ld"
#define OB_ERR_INVALID_DATE_MSG_FMT_V2__USER_ERROR_MSG "Incorrect datetime value for column '%.*s' at row %ld"

#define OB_SUCCESS__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: 0, Success"
#define OB_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4000, Common error"
#define OB_OBJ_TYPE_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4001, Object type error"
#define OB_INVALID_ARGUMENT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4002, Incorrect arguments to %s"
#define OB_ARRAY_OUT_OF_RANGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4003, Array index out of range"
#define OB_SERVER_LISTEN_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4004, Failed to listen to the port"
#define OB_INIT_TWICE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4005, The object is initialized twice"
#define OB_NOT_INIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4006, The object is not initialized"
#define OB_NOT_SUPPORTED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4007, %s not supported"
#define OB_ITER_END__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4008, End of iteration"
#define OB_IO_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4009, IO error"
#define OB_ERROR_FUNC_VERSION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4010, Wrong RPC command version"
#define OB_PACKET_NOT_SENT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4011, Can not send packet"
#define OB_TIMEOUT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4012, Timeout"
#define OB_ALLOCATE_MEMORY_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4013, No memory or reach tenant memory limit"
#define OB_INNER_STAT_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4014, Inner state error"
#define OB_ERR_SYS__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4015, System error"
#define OB_ERR_UNEXPECTED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4016, %s"
#define OB_ENTRY_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4017, %s"
#define OB_ENTRY_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4018, %s"
#define OB_SIZE_OVERFLOW__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4019, Size overflow"
#define OB_REF_NUM_NOT_ZERO__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4020, Reference count is not zero"
#define OB_CONFLICT_VALUE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4021, Conflict value"
#define OB_ITEM_NOT_SETTED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4022, Item not set"
#define OB_EAGAIN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4023, Try again"
#define OB_BUF_NOT_ENOUGH__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4024, Buffer not enough"
#define OB_PARTIAL_FAILED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4025, Partial failed"
#define OB_READ_NOTHING__ORA_USER_ERROR_MSG "ORA-01403: no data found"
#define OB_FILE_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4027, File not exist"
#define OB_DISCONTINUOUS_LOG__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4028, Log entry not continuous"
#define OB_SCHEMA_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4029, Schema error"
#define OB_TENANT_OUT_OF_MEM__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4030, Over tenant memory limits"
#define OB_UNKNOWN_OBJ__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4031, Unknown object"
#define OB_NO_MONITOR_DATA__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4032, No monitor data"
#define OB_SERIALIZE_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4033, Serialize error"
#define OB_DESERIALIZE_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4034, Deserialize error"
#define OB_AIO_TIMEOUT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4035, Asynchronous IO error"
#define OB_NEED_RETRY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4036, Need retry"
#define OB_TOO_MANY_SSTABLE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4037, Too many sstable"
#define OB_NOT_MASTER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4038, The observer or zone is not the master"
#define OB_KILLED_BY_THROTTLING__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4039, Request has killed by sql throttle"
#define OB_DECRYPT_FAILED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4041, Decrypt error"
#define OB_USER_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-01918: user '%.*s' does not exist"
#define OB_PASSWORD_WRONG__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4043, Access denied for user '%.*s'@'%.*s' (using password: %s)"
#define OB_SKEY_VERSION_WRONG__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4044, Wrong skey version"
#define OB_NOT_REGISTERED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4048, Not registered"
#define OB_WAITQUEUE_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4049, Task timeout and not executed"
#define OB_NOT_THE_OBJECT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4050, Not the object"
#define OB_ALREADY_REGISTERED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4051, Already registered"
#define OB_LAST_LOG_RUINNED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4052, Corrupted log entry"
#define OB_NO_CS_SELECTED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4053, No ChunkServer selected"
#define OB_NO_TABLETS_CREATED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4054, No tablets created"
#define OB_INVALID_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4055, Invalid entry"
#define OB_DECIMAL_OVERFLOW_WARN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4057, Decimal overflow warning"
#define OB_DECIMAL_UNLEGAL_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4058, Decimal overflow error"
#define OB_OBJ_DIVIDE_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4060, Divide error"
#define OB_NOT_A_DECIMAL__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4061, Not a decimal"
#define OB_DECIMAL_PRECISION_NOT_EQUAL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4062, Decimal precision error"
#define OB_EMPTY_RANGE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4063, Empty range"
#define OB_SESSION_KILLED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4064, Session killed"
#define OB_LOG_NOT_SYNC__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4065, Log not sync"
#define OB_DIR_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4066, Directory not exist"
#define OB_SESSION_NOT_FOUND__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4067, RPC session not found"
#define OB_INVALID_LOG__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4068, Invalid log"
#define OB_INVALID_DATA__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4070, Invalid data"
#define OB_ALREADY_DONE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4071, Already done"
#define OB_CANCELED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4072, Operation canceled"
#define OB_LOG_SRC_CHANGED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4073, Log source changed"
#define OB_LOG_NOT_ALIGN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4074, Log not aligned"
#define OB_LOG_MISSING__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4075, Log entry missed"
#define OB_NEED_WAIT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4076, Need wait"
#define OB_NOT_IMPLEMENT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4077, Not implemented feature"
#define OB_DIVISION_BY_ZERO__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4078, Divided by zero"
#define OB_EXCEED_MEM_LIMIT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4080, exceed memory limit"
#define OB_RESULT_UNKNOWN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4081, Unknown result"
#define OB_NO_RESULT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4084, No result"
#define OB_QUEUE_OVERFLOW__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4085, Queue overflow"
#define OB_LOG_ID_RANGE_NOT_CONTINUOUS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4090, Table log_id range no continuous"
#define OB_TERM_LAGGED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4097, Term lagged"
#define OB_TERM_NOT_MATCH__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4098, Term not match"
#define OB_START_LOG_CURSOR_INVALID__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4099, Invalid log cursor"
#define OB_LOCK_NOT_MATCH__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4100, Lock not match"
#define OB_DEAD_LOCK__ORA_USER_ERROR_MSG "ORA-00060: deadlock detected while waiting for resource"
#define OB_PARTIAL_LOG__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4102, Incomplete log entry"
#define OB_CHECKSUM_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4103, Data checksum error"
#define OB_INIT_FAIL__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4104, Initialize error"
#define OB_ROWKEY_ORDER_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4105, Rowkey order error"
#define OB_NOT_ENOUGH_STORE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4106, not enough commitlog store"
#define OB_BLOCK_SWITCHED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4107, block switched when fill commitlog"
#define OB_PHYSIC_CHECKSUM_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4108, Physic data checksum error"
#define OB_STATE_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4109, Server state or role not the same as expected"
#define OB_READ_ZERO_LOG__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4110, Read zero log"
#define OB_BLOCK_NEED_FREEZE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4111, block need freeze"
#define OB_BLOCK_FROZEN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4112, block frozen"
#define OB_IN_FATAL_STATE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4113, In FATAL state"
#define OB_IN_STOP_STATE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4114, In STOP state"
#define OB_UPS_MASTER_EXISTS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4115, Master UpdateServer already exists"
#define OB_LOG_NOT_CLEAR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4116, Log not clear"
#define OB_FILE_ALREADY_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4117, File already exist"
#define OB_UNKNOWN_PACKET__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4118, Unknown packet"
#define OB_RPC_PACKET_TOO_LONG__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4119, RPC packet to send too long"
#define OB_LOG_TOO_LARGE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4120, Log too large"
#define OB_RPC_SEND_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4121, RPC send error"
#define OB_RPC_POST_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4122, RPC post error"
#define OB_LIBEASY_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4123, Libeasy error"
#define OB_CONNECT_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4124, Connect error"
#define OB_NOT_FREE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4125, Not free"
#define OB_INIT_SQL_CONTEXT_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4126, Init SQL context error"
#define OB_SKIP_INVALID_ROW__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4127, Skip invalid row"
#define OB_RPC_PACKET_INVALID__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4128, RPC packet is invalid"
#define OB_NO_TABLET__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4133, No tablets"
#define OB_SNAPSHOT_DISCARDED__ORA_USER_ERROR_MSG "ORA-01555: snapshot too old"
#define OB_DATA_NOT_UPTODATE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4139, State is stale"
#define OB_ROW_MODIFIED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4142, Row modified"
#define OB_VERSION_NOT_MATCH__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4143, Version not match"
#define OB_BAD_ADDRESS__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4144, Bad address"
#define OB_ENQUEUE_FAILED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4146, Enqueue error"
#define OB_INVALID_CONFIG__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4147, %s"
#define OB_STMT_EXPIRED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4149, Expired statement"
#define OB_ERR_MIN_VALUE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4150, Min value"
#define OB_ERR_MAX_VALUE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4151, Max value"
#define OB_ERR_NULL_VALUE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4152, %s"
#define OB_RESOURCE_OUT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4153, Out of resource"
#define OB_ERR_SQL_CLIENT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4154, Internal SQL client error"
#define OB_META_TABLE_WITHOUT_USE_TABLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4155, Meta table without use table"
#define OB_DISCARD_PACKET__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4156, Discard packet"
#define OB_OPERATE_OVERFLOW__ORA_USER_ERROR_MSG "ORA-25137: Data value %s out of range in '%s'"
#define OB_INVALID_DATE_FORMAT__ORA_USER_ERROR_MSG "ORA-01821: date format not recognized, %s=%d must between %d and %d"
#define OB_POOL_REGISTERED_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4159, register pool failed"
#define OB_POOL_UNREGISTERED_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4160, unregister pool failed"
#define OB_INVALID_ARGUMENT_NUM__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4161, Invalid argument num"
#define OB_LEASE_NOT_ENOUGH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4162, reserved lease not enough"
#define OB_LEASE_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4163, ups lease not match with rs"
#define OB_UPS_SWITCH_NOT_HAPPEN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4164, ups switch not happen"
#define OB_EMPTY_RESULT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4165, Empty result"
#define OB_CACHE_NOT_HIT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4166, Cache not hit"
#define OB_NESTED_LOOP_NOT_SUPPORT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4167, Nested loop not support"
#define OB_LOG_INVALID_MOD_ID__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4168, Invalid log module id"
#define OB_LOG_MODULE_UNKNOWN__ORA_USER_ERROR_MSG                                                   \
  "ORA-00600: internal error code, arguments: -4169, Unknown module name. Invalid Setting:'%.*s'. " \
  "Syntax:parMod.subMod:level, parMod.subMod:level"
#define OB_LOG_LEVEL_INVALID__ORA_USER_ERROR_MSG                                              \
  "ORA-00600: internal error code, arguments: -4170, Invalid level. Invalid setting:'%.*s'. " \
  "Syntax:parMod.subMod:level, parMod.subMod:level"
#define OB_LOG_PARSER_SYNTAX_ERR__ORA_USER_ERROR_MSG                                                          \
  "ORA-00600: internal error code, arguments: -4171, Syntax to set log_level error. Invalid setting:'%.*s'. " \
  "Syntax:parMod.subMod:level, parMod.subMod:level"
#define OB_INDEX_OUT_OF_RANGE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4172, Index out of range"
#define OB_INT_UNDERFLOW__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4173, Int underflow"
#define OB_UNKNOWN_CONNECTION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4174, Unknown thread id: %lu"
#define OB_ERROR_OUT_OF_RANGE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4175, Out of range"
#define OB_CACHE_SHRINK_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4176, shrink cache failed, no available cache"
#define OB_OLD_SCHEMA_VERSION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4177, Schema version too old"
#define OB_RELEASE_SCHEMA_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4178, Release schema error"
#define OB_OP_NOT_ALLOW__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4179, %s not allowed"
#define OB_NO_EMPTY_ENTRY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4180, No empty entry"
#define OB_ERR_ALREADY_EXISTS__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4181, Already exist"
#define OB_SEARCH_NOT_FOUND__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4182, Value not found"
#define OB_BEYOND_THE_RANGE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4183, Key out of range"
#define OB_CS_OUTOF_DISK_SPACE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4184, ChunkServer out of disk space"
#define OB_COLUMN_GROUP_NOT_FOUND__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4185, Column group not found"
#define OB_CS_COMPRESS_LIB_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4186, ChunkServer failed to get compress library"
#define OB_ITEM_NOT_MATCH__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4187, Item not match"
#define OB_SCHEDULER_TASK_CNT_MISMATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4188, Running task cnt and unfinished task cnt not consistent"
#define OB_INVALID_MACRO_BLOCK_TYPE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4189, the macro block type does not exist"
#define OB_INVALID_DATE_FORMAT_END__ORA_USER_ERROR_MSG \
  "ORA-01830: date format picture ends before converting entire input string"
#define OB_PG_IS_REMOVED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4191, partition group is removed"
#define OB_HASH_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4200, %s"
#define OB_HASH_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4201, %s"
#define OB_HASH_GET_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4204, hash map/set get timeout"
#define OB_HASH_PLACEMENT_RETRY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4205, hash map/set retry"
#define OB_HASH_FULL__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4206, hash map/set full"
#define OB_PACKET_PROCESSED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4207, packet processed"
#define OB_WAIT_NEXT_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4208, wait next packet timeout"
#define OB_LEADER_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4209, partition has not leader"
#define OB_PREPARE_MAJOR_FREEZE_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4210, prepare major freeze failed"
#define OB_COMMIT_MAJOR_FREEZE_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4211, commit major freeze failed"
#define OB_ABORT_MAJOR_FREEZE_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4212, abort major freeze failed"
#define OB_MAJOR_FREEZE_NOT_FINISHED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4213, last major freeze not finish"
#define OB_PARTITION_NOT_LEADER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4214, partition is not leader partition"
#define OB_WAIT_MAJOR_FREEZE_RESPONSE_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4215, wait major freeze response timeout"
#define OB_CURL_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4216, curl error"
#define OB_MAJOR_FREEZE_NOT_ALLOW__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4217, %s"
#define OB_PREPARE_FREEZE_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4218, prepare freeze failed"
#define OB_INVALID_DATE_VALUE__ORA_USER_ERROR_MSG \
  "ORA-01861: literal does not match format string: '%s' for column '%s'"
#define OB_INACTIVE_SQL_CLIENT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4220, Inactive sql client, only read allowed"
#define OB_INACTIVE_RPC_PROXY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4221, Inactive rpc proxy, can not send RPC request"
#define OB_INTERVAL_WITH_MONTH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4222, Interval with year or month can not be converted to microseconds"
#define OB_TOO_MANY_DATETIME_PARTS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4223, Interval has too many datetime parts"
#define OB_DATA_OUT_OF_RANGE__ORA_USER_ERROR_MSG \
  "ORA-01438: value larger than specified precision allowed for this column '%.*s' at row %ld"
#define OB_PARTITION_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4225, Partition entry not exists"
#define OB_ERR_TRUNCATED_WRONG_VALUE_FOR_FIELD__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4226, Incorrect integer value: '%.*s'"
#define OB_ERR_NO_DEFAULT_FOR_FIELD__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4227, Field \'%s\' doesn't have a default value"
#define OB_ERR_FIELD_SPECIFIED_TWICE__ORA_USER_ERROR_MSG "ORA-00957: duplicate column name \'%s\'"
#define OB_ERR_TOO_LONG_TABLE_COMMENT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4229, Comment for table is too long (max = %ld)"
#define OB_ERR_TOO_LONG_FIELD_COMMENT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4230, Comment for field is too long (max = %ld)"
#define OB_ERR_TOO_LONG_INDEX_COMMENT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4231, Comment for index is too long (max = %ld)"
#define OB_NOT_FOLLOWER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4232, The observer or zone is not a follower"
#define OB_ERR_OUT_OF_LOWER_BOUND__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4233, smaller than container lower bound"
#define OB_ERR_OUT_OF_UPPER_BOUND__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4234, bigger than container upper bound"
#define OB_BAD_NULL_ERROR__ORA_USER_ERROR_MSG "ORA-01400: cannot insert NULL into '(%.*s)'"
#define OB_OBCONFIG_RETURN_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4236, ObConfig return error code"
#define OB_OBCONFIG_APPNAME_MISMATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4237, Appname mismatch with obconfig result"
#define OB_ERR_VIEW_SELECT_DERIVED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4238, View's SELECT contains a subquery in the FROM clause"
#define OB_CANT_MJ_PATH__ORA_USER_ERROR_MSG                                                                   \
  "ORA-00600: internal error code, arguments: -4239, Can not use merge-join to join the tables without join " \
  "conditions"
#define OB_ERR_NO_JOIN_ORDER_GENERATED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4240, No join order generated"
#define OB_ERR_NO_PATH_GENERATED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4241, No join path generated"
#define OB_ERR_WAIT_REMOTE_SCHEMA_REFRESH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4242, Schema error"
#define OB_FILE_NOT_OPENED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4243, file not opened"
#define OB_TIMER_TASK_HAS_SCHEDULED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4244, Timer task has been scheduled"
#define OB_TIMER_TASK_HAS_NOT_SCHEDULED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4245, Timer task has not been scheduled"
#define OB_PARSE_DEBUG_SYNC_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4246, parse debug sync string error"
#define OB_UNKNOWN_DEBUG_SYNC_POINT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4247, unknown debug sync point"
#define OB_ERR_INTERRUPTED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4248, task is interrupted while running"
#define OB_ERR_DATA_TRUNCATED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4249, Data truncated for column '%.*s' at row %ld"
#define OB_NOT_RUNNING__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4250, module is not running"
#define OB_INVALID_PARTITION__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4251, partition not valid"
#define OB_ERR_TIMEOUT_TRUNCATED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4252, Timeout value truncated to 102 years"
#define OB_ERR_TOO_LONG_TENANT_COMMENT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4253, Comment for tenant is too long (max = %ld)"
#define OB_ERR_NET_PACKET_TOO_LARGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4254, Got a packet bigger than \'max_allowed_packet\' bytes"
#define OB_TRACE_DESC_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4255, trace log title or key not exist describle"
#define OB_ERR_NO_DEFAULT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4256, Variable '%.*s' doesn't have a default value"
#define OB_ERR_COMPRESS_DECOMPRESS_DATA__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4257, compress data or decompress data failed"
#define OB_ERR_INCORRECT_STRING_VALUE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4258, Incorrect string value for column '%.*s' at row %ld"
#define OB_ERR_DISTRIBUTED_NOT_SUPPORTED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4259, %s not supported"
#define OB_IS_CHANGING_LEADER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4260, the partition is changing leader"
#define OB_DATETIME_FUNCTION_OVERFLOW__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4261, Datetime overflow"
#define OB_ERR_DOUBLE_TRUNCATED__ORA_USER_ERROR_MSG "ORA-01722: invalid number: '%.*s'"
#define OB_MINOR_FREEZE_NOT_ALLOW__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4263, %s"
#define OB_LOG_OUTOF_DISK_SPACE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4264, Log out of disk space"
#define OB_RPC_CONNECT_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4265, Rpc connect error"
#define OB_MINOR_MERGE_NOT_ALLOW__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4266, minor merge not allow"
#define OB_CACHE_INVALID__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4267, Cache invalid"
#define OB_REACH_SERVER_DATA_COPY_IN_CONCURRENCY_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4268, reach server data copy in concurrency"
#define OB_WORKING_PARTITION_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4269, Working partition entry already exists"
#define OB_WORKING_PARTITION_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4270, Working partition entry does not exists"
#define OB_LIBEASY_REACH_MEM_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4271, LIBEASY reach memory limit"
#define OB_CACHE_FREE_BLOCK_NOT_ENOUGH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4273, free memblock in cache is not enough"
#define OB_SYNC_WASH_MB_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4274, sync wash memblock timeout"
#define OB_NOT_ALLOW_MIGRATE_IN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4275, not allow migrate in"
#define OB_SCHEDULER_TASK_CNT_MISTACH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4276, Scheduler task cnt does not match"
#define OB_MISS_ARGUMENT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4277, Miss argument for %s"
#define OB_LAST_LOG_NOT_COMPLETE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4278, last log is not complete"
#define OB_TABLE_IS_DELETED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4279, table is deleted"
#define OB_VERSION_RANGE_NOT_CONTINUES__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4280, version range not continues"
#define OB_INVALID_IO_BUFFER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4281, io buffer is invalid"
#define OB_PARTITION_IS_REMOVED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4282, partition is removed"
#define OB_GTS_NOT_READY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4283, gts is not ready"
#define OB_MAJOR_SSTABLE_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4284, major sstable not exist"
#define OB_VERSION_RANGE_DISCARDED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4285, Request to read too old version range data"
#define OB_MAJOR_SSTABLE_HAS_MERGED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4286, major sstable may has been merged"
#define OB_MINOR_SSTABLE_RANGE_CROSS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4287, minor sstable version range cross"
#define OB_MEMTABLE_CANNOT_MINOR_MERGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4288, memtable cannot minor merge"
#define OB_TASK_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4289, task exist"
#define OB_ALLOCATE_DISK_SPACE_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4290, cannot allocate disk space"
#define OB_CANT_FIND_UDF__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4291, Can not load function %s"
#define OB_CANT_INITIALIZE_UDF__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4292, Can not initialize function '%.*s'"
#define OB_UDF_NO_PATHS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4293, No paths allowed for shared library"
#define OB_UDF_EXISTS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4294, Function %.*s already exists"
#define OB_CANT_OPEN_LIBRARY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4295, Can not open shared library '%.*s'"
#define OB_CANT_FIND_DL_ENTRY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4296, Can't find symbol %.*s in library"
#define OB_OBJECT_NAME_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4297, name is already used by an existing object"
#define OB_OBJECT_NAME_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-02289: %s does not exist"
#define OB_ERR_DUP_ARGUMENT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4299, Option '%s' used twice in statement"
#define OB_ERR_INVALID_SEQUENCE_NAME__ORA_USER_ERROR_MSG "ORA-02277: invalid sequence name"
#define OB_ERR_DUP_MAXVALUE_SPEC__ORA_USER_ERROR_MSG "ORA-02278: duplicate MAXVALUE/NOMAXVALUE specifications"
#define OB_ERR_DUP_MINVALUE_SPEC__ORA_USER_ERROR_MSG "ORA-02279: duplicate MINVALUE/NOMINVALUE specifications"
#define OB_ERR_DUP_CYCLE_SPEC__ORA_USER_ERROR_MSG "ORA-02280: duplicate CYCLE/NOCYCLE specifications"
#define OB_ERR_DUP_CACHE_SPEC__ORA_USER_ERROR_MSG "ORA-02281: duplicate CACHE/NOCACHE specifications"
#define OB_ERR_DUP_ORDER_SPEC__ORA_USER_ERROR_MSG "ORA-02282: duplicate ORDER/NOORDER specifications"
#define OB_ERR_CONFL_MAXVALUE_SPEC__ORA_USER_ERROR_MSG "ORA-02278: conflicting MAXVALUE/NOMAXVALUE specifications"
#define OB_ERR_CONFL_MINVALUE_SPEC__ORA_USER_ERROR_MSG "ORA-02279: conflicting MINVALUE/NOMINVALUE specifications"
#define OB_ERR_CONFL_CYCLE_SPEC__ORA_USER_ERROR_MSG "ORA-02280: conflicting CYCLE/NOCYCLE specifications"
#define OB_ERR_CONFL_CACHE_SPEC__ORA_USER_ERROR_MSG "ORA-02281: conflicting CACHE/NOCACHE specifications"
#define OB_ERR_CONFL_ORDER_SPEC__ORA_USER_ERROR_MSG "ORA-02282: conflicting ORDER/NOORDER specifications"
#define OB_ERR_ALTER_START_SEQ_NUMBER_NOT_ALLOWED__ORA_USER_ERROR_MSG "ORA-02283: cannot alter starting sequence number"
#define OB_ERR_DUP_INCREMENT_BY_SPEC__ORA_USER_ERROR_MSG "ORA-02284: duplicate INCREMENT BY specifications"
#define OB_ERR_DUP_START_WITH_SPEC__ORA_USER_ERROR_MSG "ORA-02285: duplicate START WITH specifications"
#define OB_ERR_REQUIRE_ALTER_SEQ_OPTION__ORA_USER_ERROR_MSG "ORA-02286: no options specified for ALTER SEQUENCE"
#define OB_ERR_SEQ_NOT_ALLOWED_HERE__ORA_USER_ERROR_MSG "ORA-02287: sequence number not allowed here"
#define OB_ERR_SEQ_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-02289: sequence does not exist"
#define OB_ERR_SEQ_OPTION_MUST_BE_INTEGER__ORA_USER_ERROR_MSG "ORA-04001: sequence parameter %s must be an integer"
#define OB_ERR_SEQ_INCREMENT_CAN_NOT_BE_ZERO__ORA_USER_ERROR_MSG "ORA-04002: INCREMENT must be a nonzero integer"
#define OB_ERR_SEQ_OPTION_EXCEED_RANGE__ORA_USER_ERROR_MSG "ORA-04003: sequence parameter exceeds maximum size allowed"
#define OB_ERR_MINVALUE_LARGER_THAN_MAXVALUE__ORA_USER_ERROR_MSG "ORA-04004: MINVALUE must be less than MAXVALUE"
#define OB_ERR_SEQ_INCREMENT_TOO_LARGE__ORA_USER_ERROR_MSG \
  "ORA-04005: INCREMENT must be less than MAXVALUE minus MINVALUE"
#define OB_ERR_START_WITH_LESS_THAN_MINVALUE__ORA_USER_ERROR_MSG "ORA-04006: START WITH cannot be less than MINVALUE"
#define OB_ERR_MINVALUE_EXCEED_CURRVAL__ORA_USER_ERROR_MSG \
  "ORA-04007: MINVALUE cannot be made to exceed the current value"
#define OB_ERR_START_WITH_EXCEED_MAXVALUE__ORA_USER_ERROR_MSG "ORA-04008: START WITH cannot be more than MAXVALUE"
#define OB_ERR_MAXVALUE_EXCEED_CURRVAL__ORA_USER_ERROR_MSG \
  "ORA-04009: MAXVALUE cannot be made to be less than the current value"
#define OB_ERR_SEQ_CACHE_TOO_SMALL__ORA_USER_ERROR_MSG "ORA-04010: the number of values to CACHE must be greater than 1"
#define OB_ERR_SEQ_OPTION_OUT_OF_RANGE__ORA_USER_ERROR_MSG "ORA-04011: sequence option value out of range"
#define OB_ERR_SEQ_CACHE_TOO_LARGE__ORA_USER_ERROR_MSG "ORA-04013: number to CACHE must be less than one cycle"
#define OB_ERR_SEQ_REQUIRE_MINVALUE__ORA_USER_ERROR_MSG \
  "ORA-04014: descending sequences that CYCLE must specify MINVALUE"
#define OB_ERR_SEQ_REQUIRE_MAXVALUE__ORA_USER_ERROR_MSG \
  "ORA-04015: ascending sequences that CYCLE must specify MAXVALUE"
#define OB_ERR_SEQ_NO_LONGER_EXIST__ORA_USER_ERROR_MSG "ORA-04015: sequence %s no longer exists"
#define OB_ERR_SEQ_VALUE_EXCEED_LIMIT__ORA_USER_ERROR_MSG "ORA-08004: sequence exceeds %s and cannot be instantiated"
#define OB_ERR_DIVISOR_IS_ZERO__ORA_USER_ERROR_MSG "ORA-01476: divisor is equal to zero"
#define OB_ERR_AES_IV_LENGTH__ORA_USER_ERROR_MSG                                                                       \
  "ORA-00600: internal error code, arguments: -4336, The initialization vector supplied to aes_encrypt is too short. " \
  "Must be at least 16 bytes long"
#define OB_STORE_DIR_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4337, store directory structure error"
#define OB_OPEN_TWICE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4338, open twice"
3262
#define OB_RAID_SUPER_BLOCK_NOT_MATCH__ORA_USER_ERROR_MSG \
O
oceanbase-admin 已提交
3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571
  "ORA-00600: internal error code, arguments: -4339, raid super block not match"
#define OB_NOT_OPEN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4340, not opened"
#define OB_NOT_IN_SERVICE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4341, target module is not in service"
#define OB_RAID_DISK_NOT_NORMAL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4342, raid disk not in normal status"
#define OB_TENANT_SCHEMA_NOT_FULL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4343, tenant schema is not full"
#define OB_INVALID_QUERY_TIMESTAMP__ORA_USER_ERROR_MSG "ORA-08186: invalid timestamp"
#define OB_DIR_NOT_EMPTY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4345, dir not empty"
#define OB_SCHEMA_NOT_UPTODATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4346, schema is not up to date for read"
#define OB_ROLE_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-01919: role '%.*s' does not exist"
#define OB_ROLE_EXIST__ORA_USER_ERROR_MSG "ORA-01921: role name '%.*s' conflicts with another user or role name"
#define OB_PRIV_DUP__ORA_USER_ERROR_MSG "ORA-01711: duplicate privilege listed"
#define OB_KEYSTORE_EXIST__ORA_USER_ERROR_MSG                                                                       \
  "ORA-00600: internal error code, arguments: -4350, the keystore already exists and each tenant can only have at " \
  "most one"
#define OB_KEYSTORE_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4351, the keystore is not exist"
#define OB_KEYSTORE_WRONG_PASSWORD__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4352, the password is wrong for keystore"
#define OB_TABLESPACE_EXIST__ORA_USER_ERROR_MSG "ORA-01543: tablespace '%.*s' already exists"
#define OB_TABLESPACE_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00959: tablespace '%.*s' does not exist"
#define OB_TABLESPACE_DELETE_NOT_EMPTY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4355, cannot delete a tablespace which is not empty"
#define OB_FLOAT_PRECISION_OUT_RANGE__ORA_USER_ERROR_MSG \
  "ORA-01724: floating point precision is out of range (1 to 126)"
#define OB_NUMERIC_PRECISION_OUT_RANGE__ORA_USER_ERROR_MSG \
  "ORA-01727: numeric precision specifier is out of range (1 to 38)"
#define OB_NUMERIC_SCALE_OUT_RANGE__ORA_USER_ERROR_MSG "ORA-01728: numeric scale specifier is out of range (-84 to 127)"
#define OB_KEYSTORE_NOT_OPEN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4359, the keystore is not open"
#define OB_KEYSTORE_OPEN_NO_MASTER_KEY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4360, the keystore opened with dont have a master key"
#define OB_SLOG_REACH_MAX_CONCURRENCY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4361, slog active transaction entries reach maximum"
#define OB_ERR_NOT_VALID_PASSWORD__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4365, Your password does not satisfy the current policy requirements"
#define OB_ERR_MUST_CHANGE_PASSWORD__ORA_USER_ERROR_MSG "ORA-28001: the password has expired"
#define OB_OVERSIZE_NEED_RETRY__ORA_USER_ERROR_MSG                                                                    \
  "ORA-00600: internal error code, arguments: -4367, The data more than 64M(rpc limit), split into smaller task and " \
  "retry"
#define OB_OBCONFIG_CLUSTER_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4368, cluster not exists"
#define OB_ERR_VALUE_LARGER_THAN_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-01438: value larger than specified precision allowed for this column"
#define OB_DISK_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4375, observer has disk error"
#define OB_UNIMPLEMENTED_FEATURE__ORA_USER_ERROR_MSG "ORA-03001: unimplemented feature"
#define OB_IMPORT_NOT_IN_SERVER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4505, Import not in service"
#define OB_CONVERT_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4507, Convert error"
#define OB_BYPASS_TIMEOUT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4510, Bypass timeout"
#define OB_RS_STATE_NOT_ALLOW__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4512, RootServer state error"
#define OB_NO_REPLICA_VALID__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4515, No replica is valid"
#define OB_NO_NEED_UPDATE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4517, No need to update"
#define OB_CACHE_TIMEOUT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4518, Cache timeout"
#define OB_ITER_STOP__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4519, Iteration was stopped"
#define OB_ZONE_ALREADY_MASTER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4523, The zone is the master already"
#define OB_IP_PORT_IS_NOT_SLAVE_ZONE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4524, Not slave zone"
#define OB_ZONE_IS_NOT_SLAVE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4525, Not slave zone"
#define OB_ZONE_IS_NOT_MASTER__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4526, Not master zone"
#define OB_CONFIG_NOT_SYNC__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4527, Configuration not sync"
#define OB_IP_PORT_IS_NOT_ZONE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4528, Not a zone address"
#define OB_MASTER_ZONE_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4529, Master zone not exist"
#define OB_ZONE_INFO_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4530, Zone info \'%s\' not exist"
#define OB_GET_ZONE_MASTER_UPS_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4531, Failed to get master UpdateServer"
#define OB_MULTIPLE_MASTER_ZONES_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4532, Multiple master zones"
#define OB_INDEXING_ZONE_INVALID__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4533, indexing zone is not exist anymore or not active"
#define OB_ROOT_TABLE_RANGE_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4537, Tablet range not exist"
#define OB_ROOT_MIGRATE_CONCURRENCY_FULL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4538, Migrate concurrency full"
#define OB_ROOT_MIGRATE_INFO_NOT_FOUND__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4539, Migrate info not found"
#define OB_NOT_DATA_LOAD_TABLE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4540, No data to load"
#define OB_DATA_LOAD_TABLE_DUPLICATED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4541, Duplicated table data to load"
#define OB_ROOT_TABLE_ID_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4542, Table ID exist"
#define OB_INDEX_TIMEOUT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4543, Building index timeout"
#define OB_ROOT_NOT_INTEGRATED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4544, Root not integrated"
#define OB_INDEX_INELIGIBLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4545, index data not unique"
#define OB_REBALANCE_EXEC_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4546, execute replication or migration task timeout"
#define OB_MERGE_NOT_STARTED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4547, global merge not started"
#define OB_MERGE_ALREADY_STARTED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4548, merge already started"
#define OB_ROOTSERVICE_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4549, rootservice already exist"
#define OB_RS_SHUTDOWN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4550, rootservice is shutdown"
#define OB_SERVER_MIGRATE_IN_DENIED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4551, server migrate in denied"
#define OB_REBALANCE_TASK_CANT_EXEC__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4552, rebalance task can not executing now"
#define OB_PARTITION_CNT_REACH_ROOTSERVER_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4553, rootserver can not hold more partition"
#define OB_REBALANCE_TASK_NOT_IN_PROGRESS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4554, rebalance task not in progress on observer"
#define OB_DATA_SOURCE_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4600, Data source not exist"
#define OB_DATA_SOURCE_TABLE_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4601, Data source table not exist"
#define OB_DATA_SOURCE_RANGE_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4602, Data source range not exist"
#define OB_DATA_SOURCE_DATA_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4603, Data source data not exist"
#define OB_DATA_SOURCE_SYS_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4604, Data source sys error"
#define OB_DATA_SOURCE_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4605, Data source timeout"
#define OB_DATA_SOURCE_CONCURRENCY_FULL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4606, Data source concurrency full"
#define OB_DATA_SOURCE_WRONG_URI_FORMAT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4607, Data source wrong URI format"
#define OB_SSTABLE_VERSION_UNEQUAL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4608, SSTable version not equal"
#define OB_UPS_RENEW_LEASE_NOT_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4609, ups should not renew its lease"
#define OB_UPS_COUNT_OVER_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4610, ups count over limit"
#define OB_NO_UPS_MAJORITY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4611, ups not form a majority"
#define OB_INDEX_COUNT_REACH_THE_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4613, created index tables count has reach the limit:128"
#define OB_TASK_EXPIRED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4614, task expired"
#define OB_TABLEGROUP_NOT_EMPTY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4615, tablegroup is not empty"
#define OB_INVALID_SERVER_STATUS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4620, server status is not valid"
#define OB_WAIT_ELEC_LEADER_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4621, wait elect partition leader timeout"
#define OB_WAIT_ALL_RS_ONLINE_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4622, wait all rs online timeout"
#define OB_ALL_REPLICAS_ON_MERGE_ZONE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4623, all replicas of partition group are on zones to merge"
#define OB_MACHINE_RESOURCE_NOT_ENOUGH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4624,  machine resource \'%s\' is not enough to hold a new unit"
#define OB_NOT_SERVER_CAN_HOLD_SOFTLY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4625, not server can hole the unit and not over soft limit"
#define OB_RESOURCE_POOL_ALREADY_GRANTED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4626, resource pool \'%s\' has already been granted to a tenant"
#define OB_SERVER_ALREADY_DELETED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4628, server has already been deleted"
#define OB_SERVER_NOT_DELETING__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4629, server is not in deleting status"
#define OB_SERVER_NOT_IN_WHITE_LIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4630, server not in server white list"
#define OB_SERVER_ZONE_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4631, server zone not match"
#define OB_OVER_ZONE_NUM_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4632, zone num has reach max zone num"
#define OB_ZONE_STATUS_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4633, zone status not match"
#define OB_RESOURCE_UNIT_IS_REFERENCED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4634, resource unit \'%s\' is referenced by some resource pool"
#define OB_DIFFERENT_PRIMARY_ZONE__ORA_USER_ERROR_MSG                                                                \
  "ORA-00600: internal error code, arguments: -4636, table schema primary zone different with other table in sampe " \
  "tablegroup"
#define OB_SERVER_NOT_ACTIVE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4637, server is not active"
#define OB_RS_NOT_MASTER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4638, The RootServer is not the master"
#define OB_CANDIDATE_LIST_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4639, The candidate list is invalid"
#define OB_PARTITION_ZONE_DUPLICATED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4640, The chosen partition servers belong to same zone."
#define OB_ZONE_DUPLICATED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4641, Duplicated zone \'%s\' in zone list %s"
#define OB_NOT_ALL_ZONE_ACTIVE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4642, Not all zone in zone list are active"
#define OB_PRIMARY_ZONE_NOT_IN_ZONE_LIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4643, primary zone \'%s\' not in zone list %s"
#define OB_REPLICA_NUM_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4644, replica num not same with zone count"
#define OB_ZONE_LIST_POOL_LIST_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4645, zone list %s not a subset of resource pool zone list %s"
#define OB_INVALID_TENANT_NAME__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4646, tenant name \'%s\' over max_tenant_name_length %ld"
#define OB_EMPTY_RESOURCE_POOL_LIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4647, resource pool list is empty"
#define OB_RESOURCE_UNIT_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4648, resource unit \'%s\' not exist"
#define OB_RESOURCE_UNIT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4649, resource unit \'%s\' already exist"
#define OB_RESOURCE_POOL_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4650, resource pool \'%s\' not exist"
#define OB_RESOURCE_POOL_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4651, resource pool \'%s\' exist"
#define OB_WAIT_LEADER_SWITCH_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4652, wait leader switch timeout"
#define OB_LOCATION_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4653, location not exist"
#define OB_LOCATION_LEADER_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4654, location leader not exist"
#define OB_ZONE_NOT_ACTIVE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4655, zone not active"
#define OB_UNIT_NUM_OVER_SERVER_COUNT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4656, resource pool unit num is bigger than zone server count"
#define OB_POOL_SERVER_INTERSECT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4657, resource pool list %s unit servers intersect"
#define OB_NOT_SINGLE_RESOURCE_POOL__ORA_USER_ERROR_MSG                                                              \
  "ORA-00600: internal error code, arguments: -4658, create tenant only support single resource pool now, but pool " \
  "list is %s"
#define OB_INVALID_RESOURCE_UNIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4659, invalid resource unit, %s\'s min value is %s"
#define OB_STOP_SERVER_IN_MULTIPLE_ZONES__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4660, %s"
#define OB_SESSION_ENTRY_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4661, Session already exist"
#define OB_GOT_SIGNAL_ABORTING__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4662, %s: Got signal %d. Aborting!"
#define OB_SERVER_NOT_ALIVE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4663, server is not alive"
#define OB_GET_LOCATION_TIME_OUT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4664, Timeout"
#define OB_UNIT_IS_MIGRATING__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4665, Unit is migrating, can not migrate again"
#define OB_CLUSTER_NO_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4666, cluster name does not match to \'%s\'"
#define OB_CHECK_ZONE_MERGE_ORDER__ORA_USER_ERROR_MSG                                                          \
  "ORA-00600: internal error code, arguments: -4667, Please check new zone in zone_merge_order. You can show " \
  "parameters like 'zone_merge_order'"
#define OB_ERR_ZONE_NOT_EMPTY__ORA_USER_ERROR_MSG                                                                      \
  "ORA-00600: internal error code, arguments: -4668, The zone is not empty and can not be deleted. You should delete " \
  "the servers of the zone. There are %ld servers alive and %ld not alive."
#define OB_DIFFERENT_LOCALITY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4669, locality not match, check it"
#define OB_EMPTY_LOCALITY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4670, locality is empty"
#define OB_FULL_REPLICA_NUM_NOT_ENOUGH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4671, full replica num not enough"
#define OB_REPLICA_NUM_NOT_ENOUGH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4672, replica num not enough"
#define OB_DATA_SOURCE_NOT_VALID__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4673, Data source not valid"
#define OB_RUN_JOB_NOT_SUCCESS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4674, run job not success yet"
#define OB_NO_NEED_REBUILD__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4675, no need to rebuild"
#define OB_NEED_REMOVE_UNNEED_TABLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4676, need remove unneed table"
#define OB_NO_NEED_MERGE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4677, no need to merge"
#define OB_CONFLICT_OPTION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4678, conflicting %.*s specifications"
#define OB_DUPLICATE_OPTION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4679, duplicate %.*s specifications"
#define OB_INVALID_OPTION__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4680, %s"
#define OB_RPC_NEED_RECONNECT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4681, %s"
#define OB_CANNOT_COPY_MAJOR_SSTABLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4682, cannot copy major sstable now"
#define OB_SRC_DO_NOT_ALLOWED_MIGRATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4683, src do not allowed migrate"
#define OB_TOO_MANY_TENANT_PARTITIONS_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4684, Too many partitions were defined for this tenant"
#define OB_ACTIVE_MEMTBALE_NOT_EXSIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4685, active memtable not exist"
#define OB_USE_DUP_FOLLOW_AFTER_DML__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4686, Should use leader replica for duplicate table after DML operator"
#define OB_NO_DISK_NEED_REBUILD__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4687, no disk need rebuild"
#define OB_STANDBY_WEAK_READ_ONLY__ORA_USER_ERROR_MSG "ORA-16003: standby cluster support weak read only"
#define OB_INVALD_WEB_SERVICE_CONTENT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4689, web service content not valid"
#define OB_PRIMARY_CLUSTER_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4690, other primary cluster already exist, can not start as primary"
#define OB_ARRAY_BINDING_SWITCH_ITERATOR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4691, array binding needs to switch iterator"
#define OB_ERR_STANDBY_CLUSTER_NOT_EMPTY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4692, standby cluster not empty"
#define OB_NOT_PRIMARY_CLUSTER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4693, not primary cluster"
#define OB_ERR_CHECK_DROP_COLUMN_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4694, check drop column failed"
#define OB_NOT_STANDBY_CLUSTER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4695, not standby cluster"
#define OB_CLUSTER_VERSION_NOT_COMPATIBLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4696, cluster version not compatible"
#define OB_WAIT_TRANS_TABLE_MERGE_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4697, wait trans table merge finish timeout"
#define OB_SKIP_RENEW_LOCATION_BY_RPC__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4698, skip renew location by rpc"
#define OB_RENEW_LOCATION_BY_RPC_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4699, renew location by rpc failed"
#define OB_CLUSTER_ID_NO_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4700, cluster id does not match"
#define OB_ERR_PARAM_INVALID__ORA_USER_ERROR_MSG \
  "ORA-02097: parameter cannot be modified because specified value is invalid"
#define OB_ERR_RES_OBJ_ALREADY_EXIST__ORA_USER_ERROR_MSG "ORA-29357: %s %.*s already exists"
#define OB_ERR_RES_PLAN_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-29358: resource plan %.*s does not exist"
#define OB_ERR_PERCENTAGE_OUT_OF_RANGE__ORA_USER_ERROR_MSG \
  "ORA-29361: value %ld for %s is outside valid range of 0 to 100"
#define OB_ERR_PLAN_DIRECTIVE_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-29362: plan directive %.*s, %.*s does not exist"
#define OB_ERR_PLAN_DIRECTIVE_ALREADY_EXIST__ORA_USER_ERROR_MSG "ORA-29364: plan directive %.*s, %.*s already exists"
#define OB_ERR_INVALID_PLAN_DIRECTIVE_NAME__ORA_USER_ERROR_MSG "ORA-29366: plan directive name '%.*s' not supported."
#define OB_FAILOVER_NOT_ALLOW__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4708, %s"
#define OB_ADD_CLUSTER_NOT_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4709, Add cluster not allowed. Actions: %s"
#define OB_ERR_CONSUMER_GROUP_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-29368: consumer group %.*s does not exist"
#define OB_CLUSTER_NOT_ACCESSIBLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -4711, cluster is not accessible, cluster_id: %ld"
#define OB_TENANT_RESOURCE_UNIT_EXIST__ORA_USER_ERROR_MSG                                                           \
  "ORA-00600: internal error code, arguments: -4712, tenant already has resource unit configured, tenant_id: %ld, " \
  "observer: \'%s\'"
B
bz0 已提交
3572 3573
#define OB_ERR_DROP_TRUNCATE_PARTITION_REBUILD_INDEX__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4713, rebuild global index:'%.*s' failed when drop/truncate partitions"
#define OB_ERR_ATLER_TABLE_ILLEGAL_FK__ORA_USER_ERROR_MSG "ORA-02266: unique/primary keys in table referenced by enabled foreign keys"
O
oceanbase-admin 已提交
3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683
#define OB_ERR_PARSER_INIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5000, Failed to init SQL parser"
#define OB_ERR_PARSE_SQL__ORA_USER_ERROR_MSG "ORA-00900: %s near \'%.*s\' at line %d"
#define OB_ERR_RESOLVE_SQL__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5002, Resolve error"
#define OB_ERR_GEN_PLAN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5003, Generate plan error"
#define OB_ERR_PARSER_SYNTAX__ORA_USER_ERROR_MSG                                                                      \
  "ORA-00900: You have an error in your SQL syntax; check the manual that corresponds to your OceanBase version for " \
  "the right syntax to use"
#define OB_ERR_COLUMN_SIZE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5007, The used SELECT statements have a different number of columns"
#define OB_ERR_COLUMN_DUPLICATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5008, Duplicate column name '%.*s'"
#define OB_ERR_OPERATOR_UNKNOWN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5010, Unknown operator"
#define OB_ERR_STAR_DUPLICATE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5011, Duplicated star"
#define OB_ERR_ILLEGAL_ID__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5012, %s"
#define OB_ERR_ILLEGAL_VALUE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5014, Illegal value"
#define OB_ERR_COLUMN_AMBIGUOUS__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5015, Ambiguous column"
#define OB_ERR_LOGICAL_PLAN_FAILD__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5016, Generate logical plan error"
#define OB_ERR_SCHEMA_UNSET__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5017, Schema not set"
#define OB_ERR_ILLEGAL_NAME__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5018, Illegal name"
#define OB_TABLE_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00942: table or view \'%s.%s\' does not exist"
#define OB_ERR_TABLE_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5020, Table '%.*s' already exists"
#define OB_ERR_EXPR_UNKNOWN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5022, Unknown expression"
#define OB_ERR_ILLEGAL_TYPE__ORA_USER_ERROR_MSG                                                      \
  "ORA-00600: internal error code, arguments: -5023, unsupport MySQL type %d. Maybe you should use " \
  "java.sql.Timestamp instead of java.util.Date."
#define OB_ERR_PRIMARY_KEY_DUPLICATE__ORA_USER_ERROR_MSG "ORA-00001: unique constraint \'%s\' for key \'%.*s\' violated"
#define OB_ERR_KEY_NAME_DUPLICATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5025, Duplicate key name \'%.*s\'"
#define OB_ERR_CREATETIME_DUPLICATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5026, Duplicated createtime"
#define OB_ERR_MODIFYTIME_DUPLICATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5027, Duplicated modifytime"
#define OB_ERR_ILLEGAL_INDEX__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5028, Illegal index"
#define OB_ERR_INVALID_SCHEMA__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5029, Invalid schema"
#define OB_ERR_INSERT_NULL_ROWKEY__ORA_USER_ERROR_MSG "ORA-01400: cannot insert NULL into (%.*s)"
#define OB_ERR_COLUMN_NOT_FOUND__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5031, Column not found"
#define OB_ERR_DELETE_NULL_ROWKEY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5032, Delete null rowkey"
#define OB_ERR_USER_EMPTY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5034, No user"
#define OB_ERR_USER_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5035, User not exist"
#define OB_ERR_NO_PRIVILEGE__ORA_USER_ERROR_MSG                                                                      \
  "ORA-00600: internal error code, arguments: -5036, Access denied; you need (at least one of) the %s privilege(s) " \
  "for this operation"
#define OB_ERR_NO_AVAILABLE_PRIVILEGE_ENTRY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5037, No privilege entry"
#define OB_ERR_WRONG_PASSWORD__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5038, Incorrect password"
#define OB_ERR_USER_IS_LOCKED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5039, User locked"
#define OB_ERR_UPDATE_ROWKEY_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5040, Can not update rowkey column"
#define OB_ERR_UPDATE_JOIN_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5041, Can not update join column"
#define OB_ERR_INVALID_COLUMN_NUM__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5042, Operand should contain %ld column(s)"
#define OB_ERR_PREPARE_STMT_NOT_FOUND__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5043, statement not prepared, stmt_id=%u"
#define OB_ERR_SYS_VARIABLE_UNKNOWN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5044, Unknown system variable '%.*s'"
#define OB_ERR_OLDER_PRIVILEGE_VERSION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5046, Older privilege version"
#define OB_ERR_LACK_OF_ROWKEY_COL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5047, Primary key column(s) not specified in the WHERE clause"
#define OB_ERR_USER_EXIST__ORA_USER_ERROR_MSG "ORA-01920: user name conflicts with another user or role name"
#define OB_ERR_PASSWORD_EMPTY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5051, Empty password"
#define OB_ERR_GRANT_PRIVILEGES_TO_CREATE_TABLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5052, Failed to grant privelege"
#define OB_ERR_WRONG_DYNAMIC_PARAM__ORA_USER_ERROR_MSG                                                               \
  "ORA-00600: internal error code, arguments: -5053, Incorrect arguments number to EXECUTE, need %ld arguments but " \
  "give %ld"
#define OB_ERR_PARAM_SIZE__ORA_USER_ERROR_MSG \
  "ORA-00909: invalid number of arguments in the call to native function '%.*s'"
#define OB_ERR_FUNCTION_UNKNOWN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5055, FUNCTION %.*s does not exist"
#define OB_ERR_CREAT_MODIFY_TIME_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5056, CreateTime or ModifyTime column cannot be modified"
#define OB_ERR_MODIFY_PRIMARY_KEY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5057, Primary key cannot be modified"
#define OB_ERR_PARAM_DUPLICATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5058, Duplicated parameters"
#define OB_ERR_TOO_MANY_SESSIONS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5059, Too many sessions"
#define OB_ERR_TOO_MANY_PS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5061, Too many prepared statements"
#define OB_ERR_HINT_UNKNOWN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5063, Unknown hint"
#define OB_ERR_WHEN_UNSATISFIED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5064, When condition not satisfied"
#define OB_ERR_QUERY_INTERRUPTED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5065, Query execution was interrupted"
#define OB_ERR_SESSION_INTERRUPTED__ORA_USER_ERROR_MSG "ORA-01092: OceanBase instance terminated. Disconnection forced"
#define OB_ERR_UNKNOWN_SESSION_ID__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5067, Unknown session ID"
#define OB_ERR_PROTOCOL_NOT_RECOGNIZE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5068, Incorrect protocol"
#define OB_ERR_WRITE_AUTH_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5069, Write auth packet error"
#define OB_ERR_PARSE_JOIN_INFO__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5070, Wrong join info"
#define OB_ERR_ALTER_INDEX_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5071, Cannot alter index column"
#define OB_ERR_MODIFY_INDEX_TABLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5072, Cannot modify index table"
#define OB_ERR_INDEX_UNAVAILABLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5073, Index unavailable"
#define OB_ERR_NOP_VALUE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5074, NOP cannot be used here"
#define OB_ERR_PS_TOO_MANY_PARAM__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5080, Prepared statement contains too many placeholders"
#define OB_ERR_READ_ONLY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5081, The server is read only now"
#define OB_ERR_INVALID_TYPE_FOR_OP__ORA_USER_ERROR_MSG "ORA-00932: inconsistent datatypes: left_type=%s right_type=%s"
#define OB_ERR_CAST_VARCHAR_TO_BOOL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5084, Can not cast varchar value to bool type"
#define OB_ERR_CAST_VARCHAR_TO_NUMBER__ORA_USER_ERROR_MSG "ORA-01722: invalid number"
#define OB_ERR_CAST_VARCHAR_TO_TIME__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5086, Not timestamp Can not cast varchar value to timestamp type"
#define OB_ERR_CAST_NUMBER_OVERFLOW__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5087, Result value was out of range when cast to number"
#define OB_INTEGER_PRECISION_OVERFLOW__ORA_USER_ERROR_MSG \
  "ORA-01426: numeric overflow, value larger than specified precision(%ld,%ld) allowed for this column"
#define OB_DECIMAL_PRECISION_OVERFLOW__ORA_USER_ERROR_MSG \
  "ORA-01426: numeric overflow, value(%s) larger than specified precision(%ld,%ld) allowed for this column"
#define OB_SCHEMA_NUMBER_PRECISION_OVERFLOW__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5090, Precision was out of range"
#define OB_SCHEMA_NUMBER_SCALE_OVERFLOW__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5091, Scale value was out of range"
#define OB_ERR_INDEX_UNKNOWN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5092, Unknown index"
#define OB_NUMERIC_OVERFLOW__ORA_USER_ERROR_MSG "ORA-01426: numeric overflow"
#define OB_ERR_TOO_MANY_JOIN_TABLES__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5094, too many joined tables"
#define OB_ERR_VARCHAR_TOO_LONG__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5098, Data too long(%d>%ld) for column '%s'"
#define OB_ERR_SYS_CONFIG_UNKNOWN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5099, System config unknown"
#define OB_ERR_LOCAL_VARIABLE__ORA_USER_ERROR_MSG                                                                     \
  "ORA-00600: internal error code, arguments: -5100, Variable \'%.*s\' is a SESSION variable and can't be used with " \
  "SET GLOBAL"
#define OB_ERR_GLOBAL_VARIABLE__ORA_USER_ERROR_MSG                                                                   \
  "ORA-00600: internal error code, arguments: -5101, Variable \'%.*s\' is a GLOBAL variable and should be set with " \
  "SET GLOBAL"
#define OB_ERR_VARIABLE_IS_READONLY__ORA_USER_ERROR_MSG                                                              \
  "ORA-00600: internal error code, arguments: -5102, %.*s variable '%.*s' is read-only. Use SET %.*s to assign the " \
  "value"
#define OB_ERR_INCORRECT_GLOBAL_LOCAL_VAR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5103, Variable '%.*s' is a %.*s variable"
#define OB_ERR_EXPIRE_INFO_TOO_LONG__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5104, length(%d) of expire_info is larger than the max allowed(%ld)"
#define OB_ERR_EXPIRE_COND_TOO_LONG__ORA_USER_ERROR_MSG                                                              \
  "ORA-00600: internal error code, arguments: -5105, total length(%ld) of expire_info and its expression is larger " \
  "than the max allowed(%ld)"
#define OB_INVALID_ARGUMENT_FOR_EXTRACT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5106, EXTRACT() expected timestamp or a string as date argument"
#define OB_INVALID_ARGUMENT_FOR_IS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5107, Invalid operand type for IS operator, lval=%s"
#define OB_INVALID_ARGUMENT_FOR_LENGTH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5108, function LENGTH() expected a varchar argument"
#define OB_INVALID_ARGUMENT_FOR_SUBSTR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5109, invalid input format. ret=%d text=%s start=%s length=%s"
#define OB_INVALID_ARGUMENT_FOR_TIME_TO_USEC__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5110, TIME_TO_USEC() expected timestamp or a string as date argument"
#define OB_INVALID_ARGUMENT_FOR_USEC_TO_TIME__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5111, USEC_TO_TIME expected a interger number as usec argument"
#define OB_ERR_USER_VARIABLE_UNKNOWN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5112, Variable %.*s does not exists"
#define OB_ILLEGAL_USAGE_OF_MERGING_FROZEN_TIME__ORA_USER_ERROR_MSG                                                \
  "ORA-00600: internal error code, arguments: -5113, MERGING_FROZEN_TIME() system function only be used in daily " \
  "merging."
#define OB_INVALID_NUMERIC__ORA_USER_ERROR_MSG "ORA-01722: invalid number char '%c'"
#define OB_ERR_REGEXP_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5115, Got error 'empty (sub)expression' from regexp"
#define OB_SQL_LOG_OP_SETCHILD_OVERFLOW__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5116, Logical operator child index overflow"
#define OB_SQL_EXPLAIN_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5117, fail to explain plan"
#define OB_SQL_OPT_COPY_OP_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5118, fail to copy logical operator"
#define OB_SQL_OPT_GEN_PLAN_FALIED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5119, fail to generate plan"
#define OB_SQL_OPT_CREATE_RAWEXPR_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5120, fail to create raw expr"
#define OB_SQL_OPT_JOIN_ORDER_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5121, fail to generate join order"
#define OB_SQL_OPT_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5122, optimizer general error"
#define OB_SQL_RESOLVER_NO_MEMORY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5130, sql resolver no memory"
#define OB_SQL_DML_ONLY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5131, plan cache support dml only"
#define OB_ERR_NO_GRANT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5133, No such grant defined"
#define OB_ERR_NO_DB_SELECTED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5134, No database selected"
#define OB_SQL_PC_OVERFLOW__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5135, plan cache is overflow"
#define OB_SQL_PC_PLAN_DUPLICATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5136, plan exists in plan cache already"
#define OB_SQL_PC_PLAN_EXPIRE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5137, plan is expired"
#define OB_SQL_PC_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5138, no plan exist"
#define OB_SQL_PARAMS_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5139, too many params, plan cache not support"
#define OB_SQL_PC_PLAN_SIZE_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5140, plan is too big to add to plan cache"
#define OB_ERR_UNKNOWN_CHARSET__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5142, Unknown character set: '%.*s'"
#define OB_ERR_UNKNOWN_COLLATION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5143, Unknown collation: '%.*s'"
#define OB_ERR_COLLATION_MISMATCH__ORA_USER_ERROR_MSG \
  "ORA-12704: COLLATION '%.*s' is not valid for CHARACTER SET '%.*s'"
#define OB_ERR_WRONG_VALUE_FOR_VAR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5145, Variable \'%.*s\' can't be set to the value of \'%.*s\'"
#define OB_UNKNOWN_PARTITION__ORA_USER_ERROR_MSG "ORA-02149: Specified partition does not exist '%.*s' in table '%.*s'"
#define OB_PARTITION_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5147, Found a row not matching the given partition set"
#define OB_ER_PASSWD_LENGTH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5148,  Password hash should be a 40-digit hexadecimal number"
#define OB_ERR_INSERT_INNER_JOIN_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5149, Insert inner join column error"
#define OB_TENANT_NOT_IN_SERVER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5150, Tenant not in this server"
#define OB_TABLEGROUP_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5151, tablegroup not exist"
#define OB_SUBQUERY_TOO_MANY_ROW__ORA_USER_ERROR_MSG "ORA-01427: single-row subquery returns more than one row"
#define OB_ERR_BAD_DATABASE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5154, Unknown database '%.*s'"
#define OB_CANNOT_USER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5155, Operation %.*s failed for %.*s"
#define OB_TENANT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5156, tenant \'%s\' already exist"
#define OB_TENANT_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5157, Unknown tenant '%.*s'"
#define OB_DATABASE_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5158, Can't create database '%.*s'; database exists"
#define OB_TABLEGROUP_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5159, tablegroup already exist"
#define OB_ERR_INVALID_TENANT_NAME__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5160, invalid tenant name specified in connection string"
#define OB_EMPTY_TENANT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5161, tenant is empty"
#define OB_WRONG_DB_NAME__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5162, Incorrect database name '%.*s'"
#define OB_WRONG_TABLE_NAME__ORA_USER_ERROR_MSG "ORA-00903: invalid table name '%.*s'"
#define OB_WRONG_COLUMN_NAME__ORA_USER_ERROR_MSG "ORA-00904: invalid identifier '%.*s'"
#define OB_ERR_COLUMN_SPEC__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5165, Incorrect column specifier for column '%.*s'"
#define OB_ERR_DB_DROP_EXISTS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5166, Can't drop database '%.*s'; database doesn't exist"
#define OB_ERR_DATA_TOO_LONG__ORA_USER_ERROR_MSG "ORA-12899: value too large for column '%.*s' at row %ld"
#define OB_ERR_WRONG_VALUE_COUNT_ON_ROW__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5168, column count does not match value count at row '%d'"
#define OB_ERR_CREATE_USER_WITH_GRANT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5169, You are not allowed to create a user with GRANT"
#define OB_ERR_NO_DB_PRIVILEGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5170, Access denied for user '%.*s'@'%.*s' to database '%.*s'"
#define OB_ERR_NO_TABLE_PRIVILEGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5171, %.*s command denied to user '%.*s'@'%.*s' for table '%.*s'"
#define OB_INVALID_ON_UPDATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5172, Invalid ON UPDATE clause for \'%s\' column"
#define OB_INVALID_DEFAULT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5173, Invalid default value for \'%.*s\'"
#define OB_ERR_UPDATE_TABLE_USED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5174, You can\'t specify target table \'%s\' for update in FROM clause"
#define OB_ERR_COULUMN_VALUE_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5175, Column count doesn\'t match value count at row %ld"
#define OB_ERR_INVALID_GROUP_FUNC_USE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5176, Invalid use of group function"
#define OB_CANT_AGGREGATE_2COLLATIONS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5177, Illegal mix of collations"
#define OB_ERR_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD__ORA_USER_ERROR_MSG                                    \
  "ORA-00600: internal error code, arguments: -5178, Field \'%.*s\' is of a not allowed type for this type of " \
  "partitioning"
#define OB_ERR_TOO_LONG_IDENT__ORA_USER_ERROR_MSG "ORA-00972: identifier \'%.*s\' is too long"
#define OB_ERR_WRONG_TYPE_FOR_VAR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5180, Incorrect argument type to variable '%.*s'"
#define OB_WRONG_USER_NAME_LENGTH__ORA_USER_ERROR_MSG                                                               \
  "ORA-00600: internal error code, arguments: -5181, String '%.*s' is too long for user name (should be no longer " \
  "than 16)"
#define OB_ERR_PRIV_USAGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5182, Incorrect usage of DB GRANT and GLOBAL PRIVILEGES"
#define OB_ILLEGAL_GRANT_FOR_TABLE__ORA_USER_ERROR_MSG                                                                \
  "ORA-00600: internal error code, arguments: -5183, Illegal GRANT/REVOKE command; please consult the manual to see " \
  "which privileges can be used"
#define OB_ERR_REACH_AUTOINC_MAX__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5184, Failed to read auto-increment value from storage engine"
#define OB_ERR_NO_TABLES_USED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5185, No tables used"
#define OB_CANT_REMOVE_ALL_FIELDS__ORA_USER_ERROR_MSG                                                                \
  "ORA-00600: internal error code, arguments: -5187, You can't delete all columns with ALTER TABLE; use DROP TABLE " \
  "instead"
#define OB_TOO_MANY_PARTITIONS_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5188, Too many partitions (including subpartitions) were defined"
#define OB_NO_PARTS_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5189, Number of partitions = 0 is not an allowed value"
#define OB_WRONG_SUB_KEY__ORA_USER_ERROR_MSG                                                                       \
  "ORA-00600: internal error code, arguments: -5190, Incorrect prefix key; the used key part isn't a string, the " \
  "used length is longer than the key part, or the storage engine doesn't support unique prefix keys"
#define OB_KEY_PART_0__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5191, Key part \'%.*s\' length cannot be 0"
#define OB_ERR_UNKNOWN_TIME_ZONE__ORA_USER_ERROR_MSG "ORA-01882: timezone region \'%.*s\' not found"
#define OB_ERR_WRONG_AUTO_KEY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5193, Incorrect table definition; there can be only one auto column"
#define OB_ERR_TOO_MANY_KEYS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5194, Too many keys specified; max %ld keys allowed"
#define OB_ERR_TOO_MANY_ROWKEY_COLUMNS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5195, Too many key parts specified; max %ld parts allowed"
#define OB_ERR_TOO_LONG_KEY_LENGTH__ORA_USER_ERROR_MSG "ORA-01450: maximum key length (%ld) exceeded"
#define OB_ERR_TOO_MANY_COLUMNS__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5197, Too many columns"
#define OB_ERR_TOO_LONG_COLUMN_LENGTH__ORA_USER_ERROR_MSG \
  "ORA-00910: specified length too long for column '%s' (max = %d byte)"
#define OB_ERR_TOO_BIG_ROWSIZE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5199, Row size too large"
#define OB_ERR_UNKNOWN_TABLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5200, Unknown table '%.*s' in %.*s"
#define OB_ERR_BAD_TABLE__ORA_USER_ERROR_MSG "ORA-00942: table or view '%.*s' does not exist"
#define OB_ERR_TOO_BIG_SCALE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5202, Too big scale %d specified for column '%s'. Maximum is %ld."
#define OB_ERR_TOO_BIG_PRECISION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5203, Too big precision %d specified for column '%s'. Maximum is %ld."
#define OB_ERR_M_BIGGER_THAN_D__ORA_USER_ERROR_MSG                                                                 \
  "ORA-00600: internal error code, arguments: -5204, For float(M,D), double(M,D) or decimal(M,D), M must be >= D " \
  "(column '%s')."
#define OB_ERR_TOO_BIG_DISPLAYWIDTH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5205, Display width out of range for column '%s' (max = %ld)"
#define OB_WRONG_GROUP_FIELD__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5206, Can't group on '%.*s'"
#define OB_NON_UNIQ_ERROR__ORA_USER_ERROR_MSG "ORA-00918: column '%.*s' in %.*s ambiguously defined"
#define OB_ERR_NONUNIQ_TABLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5208, Not unique table/alias: \'%.*s\'"
#define OB_ERR_CANT_DROP_FIELD_OR_KEY__ORA_USER_ERROR_MSG "ORA-01418: specified index '%.*s' does not exist"
#define OB_ERR_MULTIPLE_PRI_KEY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5210, Multiple primary key defined"
#define OB_ERR_KEY_COLUMN_DOES_NOT_EXITS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5211, Key column '%.*s' doesn't exist in table"
#define OB_ERR_AUTO_PARTITION_KEY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5212, auto-increment column '%.*s' should not be part of partition key"
#define OB_ERR_CANT_USE_OPTION_HERE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5213, Incorrect usage/placement of '%s'"
#define OB_ERR_WRONG_OBJECT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5214, \'%s.%s\' is not %s"
#define OB_ERR_ON_RENAME__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5215, Error on rename of \'%s.%s\' to \'%s.%s\'"
#define OB_ERR_WRONG_KEY_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-02329: column '%.*s' of datatype string cannot be unique or a primary key"
#define OB_ERR_BAD_FIELD_ERROR__ORA_USER_ERROR_MSG "ORA-00904: invalid identifier '%.*s' in '%.*s'"
#define OB_ERR_WRONG_FIELD_WITH_GROUP__ORA_USER_ERROR_MSG "ORA-00979: \'%.*s\' not a GROUP BY expression"
#define OB_ERR_CANT_CHANGE_TX_CHARACTERISTICS__ORA_USER_ERROR_MSG \
  "ORA-01453: SET TRANSACTION must be first statement of transaction"
#define OB_ERR_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5220, Cannot execute statement in a READ ONLY transaction."
#define OB_ERR_MIX_OF_GROUP_FUNC_AND_FIELDS__ORA_USER_ERROR_MSG                                                        \
  "ORA-00600: internal error code, arguments: -5221, Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP " \
  "columns is illegal if there is no GROUP BY clause"
#define OB_ERR_TRUNCATED_WRONG_VALUE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5222, Truncated incorrect %.*s value: '%.*s'"
#define OB_ERR_WRONG_IDENT_NAME__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5223, wrong ident name"
#define OB_WRONG_NAME_FOR_INDEX__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5224, Incorrect index name '%.*s'"
#define OB_ILLEGAL_REFERENCE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5225, Reference '%.*s' not supported (reference to group function)"
#define OB_REACH_MEMORY_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5226, plan cache memory used reach the high water mark."
#define OB_ERR_PASSWORD_FORMAT__ORA_USER_ERROR_MSG                                                                  \
  "ORA-00600: internal error code, arguments: -5227, The password hash doesn't have the expected format. Check if " \
  "the correct password algorithm is being used with the PASSWORD() function."
#define OB_ERR_NON_UPDATABLE_TABLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5228, The target table %.*s of the %.*s is not updatable"
#define OB_ERR_WARN_DATA_OUT_OF_RANGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5229, Out of range value for column '%.*s' at row %ld"
#define OB_ERR_WRONG_EXPR_IN_PARTITION_FUNC_ERROR__ORA_USER_ERROR_MSG                                          \
  "ORA-00600: internal error code, arguments: -5230, Constant or random or timezone-dependent expressions in " \
  "(sub)partitioning function are not allowed"
#define OB_ERR_VIEW_INVALID__ORA_USER_ERROR_MSG                                                                       \
  "ORA-00600: internal error code, arguments: -5231, View \'%.*s.%.*s\' references invalid table(s) or column(s) or " \
  "function(s) or definer/invoker of view lack rights to use them"
#define OB_ERR_OPTION_PREVENTS_STATEMENT__ORA_USER_ERROR_MSG                                                         \
  "ORA-00600: internal error code, arguments: -5233, The MySQL server is running with the --read-only option so it " \
  "cannot execute this statement"
#define OB_ERR_DB_READ_ONLY__ORA_USER_ERROR_MSG "ORA-16000: database \'%.*s\' open for read-only access"
#define OB_ERR_TABLE_READ_ONLY__ORA_USER_ERROR_MSG                                                                    \
  "ORA-00600: internal error code, arguments: -5235, The table \'%.*s.%.*s\' is read only so it cannot execute this " \
  "statement"
#define OB_ERR_LOCK_OR_ACTIVE_TRANSACTION__ORA_USER_ERROR_MSG                                                         \
  "ORA-00600: internal error code, arguments: -5236, Can't execute the given command because you have active locked " \
  "tables or an active transaction"
#define OB_ERR_SAME_NAME_PARTITION_FIELD__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5237, Duplicate partition field name '%.*s'"
#define OB_ERR_TABLENAME_NOT_ALLOWED_HERE__ORA_USER_ERROR_MSG                                                          \
  "ORA-00600: internal error code, arguments: -5238, Table \'%.*s\' from one of the SELECTs cannot be used in global " \
  "ORDER clause"
#define OB_ERR_VIEW_RECURSIVE__ORA_USER_ERROR_MSG "ORA-01731: view '%.*s.%.*s' encounters circular definition"
#define OB_ERR_QUALIFIER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5240, Column part of USING clause cannot have qualifier"
#define OB_ERR_WRONG_VALUE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5241, Incorrect %s value: '%s'"
#define OB_ERR_VIEW_WRONG_LIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5242, View's SELECT and view's field list have different column counts"
#define OB_SYS_VARS_MAYBE_DIFF_VERSION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5243, system variables' version maybe different"
#define OB_ERR_AUTO_INCREMENT_CONFLICT__ORA_USER_ERROR_MSG                                                      \
  "ORA-00600: internal error code, arguments: -5244, Auto-increment value in UPDATE conflicts with internally " \
  "generated values"
#define OB_ERR_TASK_SKIPPED__ORA_USER_ERROR_MSG                                                                 \
  "ORA-00600: internal error code, arguments: -5245, some tasks are skipped, skipped server addr is '%s', the " \
  "orginal error code is %d"
#define OB_ERR_NAME_BECOMES_EMPTY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5246, Name \'%.*s\' has become ''"
#define OB_ERR_REMOVED_SPACES__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5247, Leading spaces are removed from name \'%.*s\'"
#define OB_WARN_ADD_AUTOINCREMENT_COLUMN__ORA_USER_ERROR_MSG                                               \
  "ORA-00600: internal error code, arguments: -5248, Alter table add auto_increment column is dangerous, " \
  "table_name=\'%.*s\', column_name=\'%s\'"
#define OB_WARN_CHAMGE_NULL_ATTRIBUTE__ORA_USER_ERROR_MSG                                                    \
  "ORA-00600: internal error code, arguments: -5249, Alter table change nullable column to not nullable is " \
  "dangerous, table_name=\'%.*s\', column_name=\'%.*s\'"
#define OB_ERR_INVALID_CHARACTER_STRING__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5250, Invalid %.*s character string: \'%.*s\'"
#define OB_ERR_KILL_DENIED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5251, You are not owner of thread %lu"
#define OB_ERR_COLUMN_DEFINITION_AMBIGUOUS__ORA_USER_ERROR_MSG                                                       \
  "ORA-00600: internal error code, arguments: -5252, Column \'%.*s\' definition is ambiguous. Column has both NULL " \
  "and NOT NULL attributes"
#define OB_ERR_EMPTY_QUERY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5253, Query was empty"
#define OB_ERR_CUT_VALUE_GROUP_CONCAT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5254, Row %ld was cut by GROUP_CONCAT()"
#define OB_ERR_FIELD_NOT_FOUND_PART__ORA_USER_ERROR_MSG                                                            \
  "ORA-00600: internal error code, arguments: -5255, Field in list of fields for partition function not found in " \
  "table"
#define OB_ERR_PRIMARY_CANT_HAVE_NULL__ORA_USER_ERROR_MSG                                                            \
  "ORA-00600: internal error code, arguments: -5256, All parts of a PRIMARY KEY must be NOT NULL; if you need NULL " \
  "in a key, use UNIQUE instead"
#define OB_ERR_PARTITION_FUNC_NOT_ALLOWED_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5257, The PARTITION function returns the wrong type"
#define OB_ERR_INVALID_BLOCK_SIZE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5258, Invalid block size, block size should between 1024 and 1048576"
#define OB_ERR_UNKNOWN_STORAGE_ENGINE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5259, Unknown storage engine \'%.*s\'"
#define OB_ERR_TENANT_IS_LOCKED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5260, Tenant \'%.*s\' is locked"
#define OB_EER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF__ORA_USER_ERROR_MSG                                              \
  "ORA-00600: internal error code, arguments: -5261, A %s must include all columns in the table's partitioning " \
  "function"
#define OB_ERR_PARTITION_FUNCTION_IS_NOT_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5262, This partition function is not allowed"
#define OB_ERR_AGGREGATE_ORDER_FOR_UNION__ORA_USER_ERROR_MSG                                                      \
  "ORA-00600: internal error code, arguments: -5263, Expression #%d of ORDER BY contains aggregate function and " \
  "applies to a UNION"
#define OB_ERR_OUTLINE_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5264, Outline '%.*s' already exists"
#define OB_OUTLINE_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5265, Outline \'%.*s.%.*s\' doesn\'t exist"
#define OB_WARN_OPTION_BELOW_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5266, The value of \'%s\' should be no less than the value of \'%s\'"
#define OB_INVALID_OUTLINE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5267, invalid outline ,error info:%s"
#define OB_REACH_MAX_CONCURRENT_NUM__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5268, SQL reach max concurrent num %ld"
#define OB_ERR_OPERATION_ON_RECYCLE_OBJECT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5269, can not perform DDL/DML over objects in Recycle Bin"
#define OB_ERR_OBJECT_NOT_IN_RECYCLEBIN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5270, object not in RECYCLE BIN"
#define OB_ERR_CON_COUNT_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5271, Too many connections"
#define OB_ERR_OUTLINE_CONTENT_EXIST__ORA_USER_ERROR_MSG                                                            \
  "ORA-00600: internal error code, arguments: -5272, Outline content '%.*s' of outline '%.*s' already exists when " \
  "added"
#define OB_ERR_OUTLINE_MAX_CONCURRENT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5273, Max concurrent in outline '%.*s' already exists when added"
#define OB_ERR_VALUES_IS_NOT_INT_TYPE_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5274, VALUES value for partition \'%.*s\' must have type INT"
#define OB_ERR_WRONG_TYPE_COLUMN_VALUE_ERROR__ORA_USER_ERROR_MSG \
  "ORA-14019: partition bound element must be one of: string, datetime or interval literal, number, or MAXVALUE"
#define OB_ERR_PARTITION_COLUMN_LIST_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5276, Inconsistency in usage of column lists for partitioning"
#define OB_ERR_TOO_MANY_VALUES_ERROR__ORA_USER_ERROR_MSG                                                      \
  "ORA-00600: internal error code, arguments: -5277, Cannot have more than one value for this type of RANGE " \
  "partitioning"
#define OB_ERR_PARTITION_VALUE_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5278, This partition value with incorrect charset type"
#define OB_ERR_PARTITION_INTERVAL_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5279, Partition interval must have type INT"
#define OB_ERR_SAME_NAME_PARTITION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5280, Duplicate partition name \'%.*s\'"
#define OB_ERR_RANGE_NOT_INCREASING_ERROR__ORA_USER_ERROR_MSG \
  "ORA-14037: partition bound of partition '%.*s' is too high"
#define OB_ERR_PARSE_PARTITION_RANGE__ORA_USER_ERROR_MSG                                                          \
  "ORA-00600: internal error code, arguments: -5282, Wrong number of partitions defined, mismatch with previous " \
  "setting"
#define OB_ERR_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF__ORA_USER_ERROR_MSG                                           \
  "ORA-00600: internal error code, arguments: -5283, A PRIMARY KEY must include all columns in the table\'s " \
  "partitioning function"
#define OB_NO_PARTITION_FOR_GIVEN_VALUE__ORA_USER_ERROR_MSG \
  "ORA-14400: inserted partition key does not map to any partition"
#define OB_EER_NULL_IN_VALUES_LESS_THAN__ORA_USER_ERROR_MSG \
  "ORA-14019: partition bound element must be one of: datetime or interval literal, number, or MAXVALUE"
#define OB_ERR_PARTITION_CONST_DOMAIN_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5286, Partition constant is out of partition function domain"
#define OB_ERR_TOO_MANY_PARTITION_FUNC_FIELDS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5287, Too many fields in \'list of partition fields\'"
#define OB_ERR_BAD_FT_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5288, Column '%.*s' cannot be part of FULLTEXT index"
#define OB_ERR_KEY_DOES_NOT_EXISTS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5289, Key '%.*s' doesn't exist in table '%.*s'"
#define OB_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMN__ORA_USER_ERROR_MSG                                                  \
  "ORA-00600: internal error code, arguments: -5290, The value specified for generated column '%.*s' in table '%.*s' " \
  "is not allowed"
#define OB_ERR_BAD_CTXCAT_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5291, The CTXCAT column must be contiguous in the index column list"
#define OB_ERR_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5292, '%s' is not supported for generated columns."
#define OB_ERR_DEPENDENT_BY_GENERATED_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5293, Column '%.*s' has a generated column dependency"
#define OB_ERR_TOO_MANY_ROWS__ORA_USER_ERROR_MSG "ORA-01422: exact fetch returns more than requested number of rows"
#define OB_WRONG_FIELD_TERMINATORS__ORA_USER_ERROR_MSG                                                             \
  "ORA-00600: internal error code, arguments: -5295, Field separator argument is not what is expected; check the " \
  "manual"
#define OB_NO_READABLE_REPLICA__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5296, there has no readable replica"
#define OB_ERR_UNEXPECTED_TZ_TRANSITION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5297, unexpected time zone info transition"
#define OB_ERR_SYNONYM_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5298, synonym '%.*s' already exists"
#define OB_SYNONYM_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5299, synonym \'%.*s.%.*s\' doesn\'t exist"
#define OB_ERR_MISS_ORDER_BY_EXPR__ORA_USER_ERROR_MSG \
  "ORA-30485: missing ORDER BY expression in the window specification"
#define OB_ERR_NOT_CONST_EXPR__ORA_USER_ERROR_MSG                                                                     \
  "ORA-00600: internal error code, arguments: -5301, The argument of the window function should be a constant for a " \
  "partition"
#define OB_ERR_PARTITION_MGMT_ON_NONPARTITIONED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5302, Partition management on a not partitioned table is not possible"
#define OB_ERR_DROP_PARTITION_NON_EXISTENT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5303, Error in list of partitions to %s"
#define OB_ERR_PARTITION_MGMT_ON_TWOPART_TABLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5304, Partition management on a two-part table is not possible"
#define OB_ERR_ONLY_ON_RANGE_LIST_PARTITION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5305, %s PARTITION can only be used on RANGE/LIST partitions"
#define OB_ERR_DROP_LAST_PARTITION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5306, Cannot remove all partitions, use DROP TABLE instead"
#define OB_ERR_SCHEDULER_THREAD_NOT_ENOUGH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5307, Scheduler thread number is not enough"
#define OB_ERR_IGNORE_USER_HOST_NAME__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5308, Ignore the host name"
#define OB_IGNORE_SQL_IN_RESTORE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5309, Ignore sql in restore process"
#define OB_ERR_TEMPORARY_TABLE_WITH_PARTITION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5310, Cannot create temporary table with partitions"
#define OB_ERR_INVALID_COLUMN_ID__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5311, Invalid column id for %.*s"
#define OB_SYNC_DDL_DUPLICATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5312, Duplicated ddl id '%.*s'"
#define OB_SYNC_DDL_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5313, Failed to sync ddl '%.*s'"
#define OB_ERR_ROW_IS_REFERENCED__ORA_USER_ERROR_MSG "ORA-02292: integrity constraint violated - child record found"
#define OB_ERR_NO_REFERENCED_ROW__ORA_USER_ERROR_MSG "ORA-02291: integrity constraint violated - parent key not found"
#define OB_ERR_FUNC_RESULT_TOO_LARGE__ORA_USER_ERROR_MSG                                                        \
  "ORA-00600: internal error code, arguments: -5316, Result of %s() was larger than max_allowed_packet (%d) - " \
  "truncated"
#define OB_ERR_CANNOT_ADD_FOREIGN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5317, Cannot add foreign key constraint"
#define OB_ERR_WRONG_FK_DEF__ORA_USER_ERROR_MSG                                                                  \
  "ORA-00600: internal error code, arguments: -5318, Incorrect foreign key definition: Key reference and table " \
  "reference don't match"
#define OB_ERR_INVALID_CHILD_COLUMN_LENGTH_FK__ORA_USER_ERROR_MSG                                                   \
  "ORA-00600: internal error code, arguments: -5319, Child column \'%.*s\' data length cannot be less than parent " \
  "column \'%.*s\' data length"
#define OB_ERR_ALTER_COLUMN_FK__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5320, \'%.*s\': used in a foreign key constraint"
#define OB_ERR_CONNECT_BY_REQUIRED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5321, CONNECT BY clause required in this query block"
#define OB_ERR_INVALID_PSEUDO_COLUMN_PLACE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5322, Specified pseudocolumn, operator or function not allowed here"
#define OB_ERR_NOCYCLE_REQUIRED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5323, NOCYCLE keyword is required with CONNECT_BY_ISCYCLE pseudocolumn"
#define OB_ERR_CONNECT_BY_LOOP__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5324, CONNECT BY loop in user data"
#define OB_ERR_INVALID_SIBLINGS__ORA_USER_ERROR_MSG "ORA-30929: ORDER SIBLINGS BY clause not allowed here"
#define OB_ERR_INVALID_SEPARATOR__ORA_USER_ERROR_MSG                                                                  \
  "ORA-00600: internal error code, arguments: -5326, when using SYS_CONNECT_BY_PATH function, cannot have separator " \
  "as part of column value"
#define OB_ERR_INVALID_SYNONYM_NAME__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5327, Database can not be specified in public synonym"
#define OB_ERR_LOOP_OF_SYNONYM__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5328, Looping chain of synonyms"
#define OB_ERR_SYNONYM_SAME_AS_OBJECT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5329, Cannot create a synonym with same name as object"
#define OB_ERR_SYNONYM_TRANSLATION_INVALID__ORA_USER_ERROR_MSG "ORA-00980: synonym %s translation is no longer valid"
#define OB_ERR_EXIST_OBJECT__ORA_USER_ERROR_MSG "ORA-00955: name is already used by an existing object"
#define OB_ERR_ILLEGAL_VALUE_FOR_TYPE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5332, Illegal %s '%.*s' value found during parsing"
#define OB_ER_TOO_LONG_SET_ENUM_VALUE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5333, Too long enumeration/set value for column %.*s."
#define OB_ER_DUPLICATED_VALUE_IN_TYPE__ORA_USER_ERROR_MSG \
  "ORA-00001: unique constraint violated, column '%.*s' with value '%.*s' in %s"
#define OB_ER_TOO_BIG_ENUM__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5335, Too many enumeration values for column %.*s"
#define OB_ERR_TOO_BIG_SET__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5336, Too many strings for column %.*s and SET"
#define OB_ERR_WRONG_ROWID__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5337, rowid is wrong"
#define OB_ERR_INVALID_WINDOW_FUNCTION_PLACE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5338, Window Function not allowed here"
#define OB_ERR_PARSE_PARTITION_LIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5339, Fail to parse list partition"
#define OB_ERR_MULTIPLE_DEF_CONST_IN_LIST_PART__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5340, Multiple definition of same constant in list partitioning"
#define OB_ERR_INVALID_TIMEZONE_REGION_ID__ORA_USER_ERROR_MSG "ORA-01881: timezone region ID is invalid"
#define OB_ERR_INVALID_HEX_NUMBER__ORA_USER_ERROR_MSG "ORA-01465: invalid hex number"
#define OB_ERR_WRONG_FUNC_ARGUMENTS_TYPE__ORA_USER_ERROR_MSG \
  "ORA-06553: wrong number or types of arguments in call to '%.*s'"
#define OB_ERR_MULTI_UPDATE_KEY_CONFLICT__ORA_USER_ERROR_MSG                                                           \
  "ORA-00600: internal error code, arguments: -5344, Primary key/index key/partition key update is not allowed since " \
  "the table is updated both as '%.*s' and '%.*s'"
#define OB_ERR_INSUFFICIENT_PX_WORKER__ORA_USER_ERROR_MSG "ORA-12827: insufficient parallel query worker available"
#define OB_ERR_FOR_UPDATE_EXPR_NOT_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-01786: FOR UPDATE of this query expression is not allowed"
#define OB_ERR_WIN_FUNC_ARG_NOT_IN_PARTITION_BY__ORA_USER_ERROR_MSG \
  "ORA-30488: argument should be a function of expressions in PARTITION BY"
#define OB_ERR_TOO_LONG_STRING_IN_CONCAT__ORA_USER_ERROR_MSG "ORA-01489: result of string concatenation is too long"
#define OB_ERR_WRONG_TIMESTAMP_LTZ_COLUMN_VALUE_ERROR__ORA_USER_ERROR_MSG \
  "ORA-30078: partition bound must be TIME/TIMESTAMP WITH TIME ZONE literals"
#define OB_ERR_UPD_CAUSE_PART_CHANGE__ORA_USER_ERROR_MSG \
  "ORA-14402: updating partition key column would cause a partition change"
#define OB_ERR_INVALID_TYPE_FOR_ARGUMENT__ORA_USER_ERROR_MSG "ORA-30175: invalid type given for an argument"
#define OB_ERR_FIELD_NOT_FOUND_IN_DATETIME_OR_INTERVAL__ORA_USER_ERROR_MSG \
  "ORA-01878: specified field not found in datetime or interval"
#define OB_ERR_ADD_PART_BOUN_NOT_INC__ORA_USER_ERROR_MSG \
  "ORA-14074: partition bound must collate higher than that of the last partition"
#define OB_ERR_DATA_TOO_LONG_IN_PART_CHECK__ORA_USER_ERROR_MSG "ORA-14036: partition bound value too large for column"
#define OB_ERR_WRONG_TYPE_COLUMN_VALUE_V2_ERROR__ORA_USER_ERROR_MSG \
  "ORA-14308: partition bound element must be one of: string, datetime or interval literal, number, or NULL"
#define OB_CANT_AGGREGATE_3COLLATIONS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5356, Illegal mix of collations"
#define OB_CANT_AGGREGATE_NCOLLATIONS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5357, Illegal mix of collations"
#define OB_ERR_NO_SYS_PRIVILEGE__ORA_USER_ERROR_MSG "ORA-01031: insufficient privileges"
#define OB_ERR_NO_LOGIN_PRIVILEGE__ORA_USER_ERROR_MSG \
  "ORA-01045: user %.*s lacks CREATE SESSION privilege; logon denied"
#define OB_ERR_CANNOT_REVOKE_PRIVILEGES_YOU_DID_NOT_GRANT__ORA_USER_ERROR_MSG \
  "ORA-01927: cannot REVOKE privileges you did not grant"
#define OB_ERR_SYSTEM_PRIVILEGES_NOT_GRANTED_TO__ORA_USER_ERROR_MSG "ORA-01952: system privileges not granted to '%.*s'"
#define OB_ERR_ONLY_SELECT_AND_ALTER_PRIVILEGES_ARE_VALID_FOR_SEQUENCES__ORA_USER_ERROR_MSG \
  "ORA-02205: only SELECT and ALTER privileges are valid for sequences"
#define OB_ERR_EXECUTE_PRIVILEGE_NOT_ALLOWED_FOR_TABLES__ORA_USER_ERROR_MSG \
  "ORA-02224: EXECUTE privilege not allowed for tables"
#define OB_ERR_ONLY_EXECUTE_AND_DEBUG_PRIVILEGES_ARE_VALID_FOR_PROCEDURES__ORA_USER_ERROR_MSG \
  "ORA-02225: only EXECUTE and DEBUG privileges are valid for procedures"
#define OB_ERR_ONLY_EXECUTE_DEBUG_AND_UNDER_PRIVILEGES_ARE_VALID_FOR_TYPES__ORA_USER_ERROR_MSG \
  "ORA-02305: only EXECUTE, DEBUG, and UNDER privileges are valid for types"
#define OB_ERR_ADMIN_OPTION_NOT_GRANTED_FOR_ROLE__ORA_USER_ERROR_MSG \
  "ORA-01932: ADMIN option not granted for role '%.*s'"
#define OB_ERR_USER_OR_ROLE_DOES_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-01917: user or role '%.*s' does not exist"
#define OB_ERR_MISSING_ON_KEYWORD__ORA_USER_ERROR_MSG "ORA-00969: missing ON keyword"
#define OB_ERR_NO_GRANT_OPTION__ORA_USER_ERROR_MSG "ORA-01720: grant option does not exist for '%.*s.%.*s'"
#define OB_ERR_ALTER_INDEX_AND_EXECUTE_NOT_ALLOWED_FOR_VIEWS__ORA_USER_ERROR_MSG \
  "ORA-02204: ALTER, INDEX and EXECUTE not allowed for views"
#define OB_ERR_CIRCULAR_ROLE_GRANT_DETECTED__ORA_USER_ERROR_MSG "ORA-01934: circular role grant detected"
#define OB_ERR_INVALID_PRIVILEGE_ON_DIRECTORIES__ORA_USER_ERROR_MSG "ORA-22928: invalid privilege on directories"
#define OB_ERR_DIRECTORY_ACCESS_DENIED__ORA_USER_ERROR_MSG "ORA-29289: directory access denied"
#define OB_ERR_MISSING_OR_INVALID_ROLE_NAME__ORA_USER_ERROR_MSG "ORA-01937: missing or invalid role name"
#define OB_ERR_ROLE_NOT_GRANTED_OR_DOES_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-01924: role '%.*s' not granted or does not exist"
#define OB_ERR_DEFAULT_ROLE_NOT_GRANTED_TO_USER__ORA_USER_ERROR_MSG "ORA-01955: DEFAULT ROLE '%.*s' not granted to user"
#define OB_ERR_ROLE_NOT_GRANTED_TO__ORA_USER_ERROR_MSG "ORA-01951: ROLE '%.*s' not granted to '%.*s'"
#define OB_ERR_CANNOT_GRANT_TO_A_ROLE_WITH_GRANT_OPTION__ORA_USER_ERROR_MSG \
  "ORA-01926: cannot GRANT to a role WITH GRANT OPTION"
#define OB_ERR_DUPLICATE_USERNAME_IN_LIST__ORA_USER_ERROR_MSG "ORA-01700: duplicate username in list"
#define OB_ERR_CANNOT_GRANT_STRING_TO_A_ROLE__ORA_USER_ERROR_MSG "ORA-01931: cannot grant %.*s to a role"
#define OB_ERR_CASCADE_CONSTRAINTS_MUST_BE_SPECIFIED_TO_PERFORM_THIS_REVOKE__ORA_USER_ERROR_MSG \
  "ORA-01981: CASCADE CONSTRAINTS must be specified to perform this revoke"
#define OB_ERR_YOU_MAY_NOT_REVOKE_PRIVILEGES_FROM_YOURSELF__ORA_USER_ERROR_MSG \
  "ORA-01749: you may not GRANT/REVOKE privileges to/from yourself"
#define OB_ERR_SP_ALREADY_EXISTS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5541, %s %.*s already exists"
#define OB_ERR_SP_DOES_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5542, %s %.*s.%.*s does not exist"
#define OB_ERR_SP_UNDECLARED_VAR__ORA_USER_ERROR_MSG "PLS-00201: identifier '%.*s' must be declared"
#define OB_ERR_SP_UNDECLARED_TYPE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5544, Undeclared type: %.*s"
#define OB_ERR_SP_COND_MISMATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5545, Undefined CONDITION: %.*s"
#define OB_ERR_SP_LILABEL_MISMATCH__ORA_USER_ERROR_MSG "PLS-00201: identifier '%.*s' must be declared"
#define OB_ERR_SP_CURSOR_MISMATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5547, Undefined CURSOR: %.*s"
#define OB_ERR_SP_DUP_PARAM__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5548, Duplicate parameter: %.*s"
#define OB_ERR_SP_DUP_VAR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5549, Duplicate variable: %.*s"
#define OB_ERR_SP_DUP_TYPE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5550, Duplicate type: %.*s"
#define OB_ERR_SP_DUP_CONDITION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5551, Duplicate condition: %.*s"
#define OB_ERR_SP_DUP_LABEL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5552, Duplicate label: %.*s"
#define OB_ERR_SP_DUP_CURSOR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5553, Duplicate cursor: %.*s"
#define OB_ERR_SP_INVALID_FETCH_ARG__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5554, Incorrect number of FETCH variables"
#define OB_ERR_SP_WRONG_ARG_NUM__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5555, Incorrect number of arguments for %s %s; expected %u, got %u"
#define OB_ERR_SP_UNHANDLED_EXCEPTION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5556, Unhandled user-defined exception condition"
#define OB_ERR_SP_BAD_CONDITION_TYPE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5557, SIGNAL/RESIGNAL can only use a CONDITION defined with SQLSTATE"
#define OB_ERR_PACKAGE_ALREADY_EXISTS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5558, %s \'%.*s.%.*s\' already exists"
#define OB_ERR_PACKAGE_DOSE_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5559, %s \'%.*s.%.*s\' does not exist"
#define OB_EER_UNKNOWN_STMT_HANDLER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5560, Unknown prepared statement handle"
#define OB_ERR_INVALID_WINDOW_FUNC_USE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5561, Invalid use of window function"
#define OB_ERR_CONSTRAINT_DUPLICATE__ORA_USER_ERROR_MSG "ORA-00001: unique constraint (%.*s) violated"
#define OB_ERR_CONTRAINT_NOT_FOUND__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5563, Constraint not found"
#define OB_ERR_ALTER_TABLE_ALTER_DUPLICATED_INDEX__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5564, Duplicate alter index operations on column \'%.*s\'"
#define OB_EER_INVALID_ARGUMENT_FOR_LOGARITHM__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5565, Invalid argument for logarithm"
#define OB_ERR_REORGANIZE_OUTSIDE_RANGE__ORA_USER_ERROR_MSG                                                      \
  "ORA-00600: internal error code, arguments: -5566, Reorganize of range partitions cannot change total ranges " \
  "except for last partition where it can extend the range"
#define OB_ER_SP_RECURSION_LIMIT__ORA_USER_ERROR_MSG                                                             \
  "ORA-00600: internal error code, arguments: -5567, Recursive limit %ld (as set by the max_sp_recursion_depth " \
  "variable) was exceeded for routine"
#define OB_ER_UNSUPPORTED_PS__ORA_USER_ERROR_MSG                                                               \
  "ORA-00600: internal error code, arguments: -5568, This command is not supported in the prepared statement " \
  "protocol yet"
#define OB_ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5569, %s is not allowed in stored function"
#define OB_ER_SP_NO_RECURSION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5570, Recursive stored functions are not allowed."
#define OB_ER_SP_CASE_NOT_FOUND__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5571, Case not found for CASE statement"
#define OB_ERR_INVALID_SPLIT_COUNT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5572, a partition may be split into exactly two new partitions"
#define OB_ERR_INVALID_SPLIT_GRAMMAR__ORA_USER_ERROR_MSG                                                        \
  "ORA-00600: internal error code, arguments: -5573, this physical attribute may not be specified for a table " \
  "partition"
#define OB_ERR_MISS_VALUES__ORA_USER_ERROR_MSG "ORA-00926: missing VALUES keyword"
#define OB_ERR_MISS_AT_VALUES__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5575, missing AT or VALUES keyword"
#define OB_ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5576, Explicit or implicit commit is not allowed in stored function."
#define OB_PC_GET_LOCATION_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5577, Plan cache get location failed"
#define OB_PC_LOCK_CONFLICT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5578, Plan cache lock conflict"
#define OB_ER_SP_NO_RETSET__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5579, Not allowed to return a result set in pl function"
#define OB_ER_SP_NORETURNEND__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5580, FUNCTION %s ended without RETURN"
#define OB_ERR_SP_DUP_HANDLER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5581, Duplicate handler declared in the same block"
#define OB_ER_SP_NO_RECURSIVE_CREATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5582, Can\'t create a routine from within another routine"
#define OB_ER_SP_BADRETURN__ORA_USER_ERROR_MSG \
  "PLS-00372: In a procedure, RETURN statement cannot contain an expression"
#define OB_ER_SP_BAD_CURSOR_SELECT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5584, Cursor SELECT must not have INTO"
#define OB_ER_SP_BAD_SQLSTATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5585, Bad SQLSTATE: \'%.*s\'"
#define OB_ER_SP_VARCOND_AFTER_CURSHNDLR__ORA_USER_ERROR_MSG                                                     \
  "ORA-00600: internal error code, arguments: -5586, Variable or condition declaration after cursor or handler " \
  "declaration"
#define OB_ER_SP_CURSOR_AFTER_HANDLER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5587, Cursor declaration after handler declaration"
#define OB_ER_SP_WRONG_NAME__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5588, Incorrect routine name \'%.*s\'"
#define OB_ER_SP_CURSOR_ALREADY_OPEN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5589, Cursor is already open"
#define OB_ER_SP_CURSOR_NOT_OPEN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5590, Cursor is not open"
#define OB_ER_SP_CANT_SET_AUTOCOMMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5591, Not allowed to set autocommit from a stored function"
#define OB_ER_SP_NOT_VAR_ARG__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5592, OUT or INOUT argument %d for routine %.*s is not a variable"
#define OB_ER_SP_LILABEL_MISMATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5593, %s with no matching label: %s"
#define OB_ERR_TRUNCATE_ILLEGAL_FK__ORA_USER_ERROR_MSG                                                                \
  "ORA-00600: internal error code, arguments: -5594, Cannot truncate a table referenced in a foreign key constraint " \
  "%.*s"
#define OB_ERR_DUP_KEY__ORA_USER_ERROR_MSG "ORA-00001: unique constraint (%.*s) violated"
#define OB_ER_INVALID_USE_OF_NULL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5596, Invalid use of NULL value"
#define OB_ERR_SPLIT_LIST_LESS_VALUE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5597, last resulting partition cannot contain bounds"
#define OB_ERR_ADD_PARTITION_TO_DEFAULT_LIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5598, cannot add partition when DEFAULT partition exists"
#define OB_ERR_SPLIT_INTO_ONE_PARTITION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5599, cannot split partition into one partition, use rename instead"
#define OB_ERR_NO_TENANT_PRIVILEGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5600, can not create user %s in sys tenant, name %.*s"
#define OB_ERR_INVALID_PERCENTAGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5601, Percentage should between 1 and 99"
#define OB_ERR_COLLECT_HISTOGRAM__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5602, Should collect histogram after major freeze"
#define OB_ER_TEMP_TABLE_IN_USE__ORA_USER_ERROR_MSG                                                                 \
  "ORA-00600: internal error code, arguments: -5603, Attempt to create, alter or drop an index on temporary table " \
  "already in use"
#define OB_ERR_INVALID_NLS_PARAMETER_STRING__ORA_USER_ERROR_MSG \
  "ORA-12702: invalid NLS parameter string used in SQL function"
#define OB_ERR_DATETIME_INTERVAL_PRECISION_OUT_OF_RANGE__ORA_USER_ERROR_MSG \
  "ORA-30088: datetime/interval precision is out of range"
#define OB_ERR_CMD_NOT_PROPERLY_ENDED__ORA_USER_ERROR_MSG "ORA-00933: SQL command not properly ended"
#define OB_ERR_INVALID_NUMBER_FORMAT_MODEL__ORA_USER_ERROR_MSG "ORA-01481: invalid number format model"
#define OB_WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5609, Non-ASCII separator arguments are not fully supported"
#define OB_WARN_AMBIGUOUS_FIELD_TERM__ORA_USER_ERROR_MSG                                                             \
  "ORA-00600: internal error code, arguments: -5610, First character of the FIELDS TERMINATED string is ambiguous; " \
  "please use non-optional and non-empty FIELDS ENCLOSED BY"
#define OB_WARN_TOO_FEW_RECORDS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5611, Row %ld doesn't contain data for all columns"
#define OB_WARN_TOO_MANY_RECORDS__ORA_USER_ERROR_MSG                                                                 \
  "ORA-00600: internal error code, arguments: -5612, Row %ld was truncated; it contained more data than there were " \
  "input columns"
#define OB_ERR_TOO_MANY_VALUES__ORA_USER_ERROR_MSG "ORA-00913: too many values"
#define OB_ERR_NOT_ENOUGH_VALUES__ORA_USER_ERROR_MSG "ORA-00947: not enough values"
#define OB_ERR_MORE_THAN_ONE_ROW__ORA_USER_ERROR_MSG "ORA-01427: single-row subquery returns more than one row"
#define OB_ERR_NOT_SUBQUERY__ORA_USER_ERROR_MSG "ORA-01767: UPDATE ... SET expression must be a subquery"
#define OB_INAPPROPRIATE_INTO__ORA_USER_ERROR_MSG "ORA-01744: inappropriate INTO"
#define OB_ERR_TABLE_IS_REFERENCED__ORA_USER_ERROR_MSG "ORA-02292: integrity constraint violated - child record found"
#define OB_ERR_QUALIFIER_EXISTS_FOR_USING_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-25154: Column part of using clause can not have qualifier"
#define OB_ERR_OUTER_JOIN_NESTED__ORA_USER_ERROR_MSG "ORA-01416: two tables cannot be outer-joined to each other"
#define OB_ERR_MULTI_OUTER_JOIN_TABLE__ORA_USER_ERROR_MSG \
  "ORA-01468: a predicate may reference only one outer-joined table"
#define OB_ERR_OUTER_JOIN_ON_CORRELATION_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-01705: an outer join cannot be specified on a correlation column"
#define OB_ERR_OUTER_JOIN_AMBIGUOUS__ORA_USER_ERROR_MSG \
  "ORA-01719: outer join operator (+) not allowed in operand of OR or IN"
#define OB_ERR_OUTER_JOIN_WITH_SUBQUERY__ORA_USER_ERROR_MSG "ORA-01799: a column may not be outer-joined to a subquery"
#define OB_ERR_OUTER_JOIN_WITH_ANSI_JOIN__ORA_USER_ERROR_MSG \
  "ORA-25156: old style outer join (+) cannot be used with ANSI joins"
#define OB_ERR_OUTER_JOIN_NOT_ALLOWED__ORA_USER_ERROR_MSG "ORA-30563: outer join operator (+) is not allowed here"
#define OB_SCHEMA_EAGAIN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5627, Schema try again"
#define OB_ERR_ZERO_LEN_COL__ORA_USER_ERROR_MSG "ORA-01723: zero-length columns are not allowed"
#define OB_ERR_YEAR_CONFLICTS_WITH_JULIAN_DATE__ORA_USER_ERROR_MSG "ORA-01831: year conflicts with Julian date"
#define OB_ERR_DAY_OF_YEAR_CONFLICTS_WITH_JULIAN_DATE__ORA_USER_ERROR_MSG \
  "ORA-01832: day of year conflicts with Julian date"
#define OB_ERR_MONTH_CONFLICTS_WITH_JULIAN_DATE__ORA_USER_ERROR_MSG "ORA-01833: month conflicts with Julian date"
#define OB_ERR_DAY_OF_MONTH_CONFLICTS_WITH_JULIAN_DATE__ORA_USER_ERROR_MSG \
  "ORA-01834: day of month conflicts with Julian date"
#define OB_ERR_DAY_OF_WEEK_CONFLICTS_WITH_JULIAN_DATE__ORA_USER_ERROR_MSG \
  "ORA-01835: day of week conflicts with Julian date"
#define OB_ERR_HOUR_CONFLICTS_WITH_SECONDS_IN_DAY__ORA_USER_ERROR_MSG "ORA-01836: hour conflicts with seconds in day"
#define OB_ERR_MINUTES_OF_HOUR_CONFLICTS_WITH_SECONDS_IN_DAY__ORA_USER_ERROR_MSG \
  "ORA-01837: minutes of hour conflicts with seconds in day"
#define OB_ERR_SECONDS_OF_MINUTE_CONFLICTS_WITH_SECONDS_IN_DAY__ORA_USER_ERROR_MSG \
  "ORA-01838: seconds of minute conflicts with seconds in day"
#define OB_ERR_DATE_NOT_VALID_FOR_MONTH_SPECIFIED__ORA_USER_ERROR_MSG "ORA-01839: date not valid for month specified"
#define OB_ERR_INPUT_VALUE_NOT_LONG_ENOUGH__ORA_USER_ERROR_MSG "ORA-01840: input value not long enough for date format"
#define OB_ERR_INVALID_QUARTER_VALUE__ORA_USER_ERROR_MSG "ORA-01842: quarter must be between 1 and 4"
#define OB_ERR_INVALID_MONTH__ORA_USER_ERROR_MSG "ORA-01843: not a valid month"
#define OB_ERR_INVALID_DAY_OF_THE_WEEK__ORA_USER_ERROR_MSG "ORA-01846: not a valid day of the week"
#define OB_ERR_INVALID_DAY_OF_YEAR_VALUE__ORA_USER_ERROR_MSG \
  "ORA-01848: day of year must be between 1 and 365 (366 for leap year)"
#define OB_ERR_INVALID_HOUR12_VALUE__ORA_USER_ERROR_MSG "ORA-01849: hour must be between 1 and 12"
#define OB_ERR_INVALID_HOUR24_VALUE__ORA_USER_ERROR_MSG "ORA-01850: hour must be between 0 and 23"
#define OB_ERR_INVALID_MINUTES_VALUE__ORA_USER_ERROR_MSG "ORA-01851: minutes must be between 0 and 59"
#define OB_ERR_INVALID_SECONDS_VALUE__ORA_USER_ERROR_MSG "ORA-01852: seconds must be between 0 and 59"
#define OB_ERR_INVALID_SECONDS_IN_DAY_VALUE__ORA_USER_ERROR_MSG "ORA-01853: seconds in day must be between 0 and 86399"
#define OB_ERR_INVALID_JULIAN_DATE_VALUE__ORA_USER_ERROR_MSG "ORA-01854: julian date must be between 1 and 5373484"
#define OB_ERR_AM_OR_PM_REQUIRED__ORA_USER_ERROR_MSG "ORA-01855: AM/A.M. or PM/P.M. required"
#define OB_ERR_BC_OR_AD_REQUIRED__ORA_USER_ERROR_MSG "ORA-01856: BC/B.C. or AD/A.D. required"
#define OB_ERR_FORMAT_CODE_APPEARS_TWICE__ORA_USER_ERROR_MSG "ORA-01810: format code appears twice"
#define OB_ERR_DAY_OF_WEEK_SPECIFIED_MORE_THAN_ONCE__ORA_USER_ERROR_MSG \
  "ORA-01817: day of week may only be specified once"
#define OB_ERR_SIGNED_YEAR_PRECLUDES_USE_OF_BC_AD__ORA_USER_ERROR_MSG "ORA-01819: signed year precludes use of BC/AD"
#define OB_ERR_JULIAN_DATE_PRECLUDES_USE_OF_DAY_OF_YEAR__ORA_USER_ERROR_MSG \
  "ORA-01811: Julian date precludes use of day of year"
#define OB_ERR_YEAR_MAY_ONLY_BE_SPECIFIED_ONCE__ORA_USER_ERROR_MSG "ORA-01812: year may only be specified once"
#define OB_ERR_HOUR_MAY_ONLY_BE_SPECIFIED_ONCE__ORA_USER_ERROR_MSG "ORA-01813: hour may only be specified once"
#define OB_ERR_AM_PM_CONFLICTS_WITH_USE_OF_AM_DOT_PM_DOT__ORA_USER_ERROR_MSG \
  "ORA-01814: AM/PM conflicts with use of A.M./P.M."
#define OB_ERR_BC_AD_CONFLICT_WITH_USE_OF_BC_DOT_AD_DOT__ORA_USER_ERROR_MSG \
  "ORA-01815: BC/AD conflicts with use of B.C./A.D."
#define OB_ERR_MONTH_MAY_ONLY_BE_SPECIFIED_ONCE__ORA_USER_ERROR_MSG "ORA-01816: month may only be specified once"
#define OB_ERR_DAY_OF_WEEK_MAY_ONLY_BE_SPECIFIED_ONCE__ORA_USER_ERROR_MSG \
  "ORA-01817: day of week may only be specified once"
#define OB_ERR_FORMAT_CODE_CANNOT_APPEAR__ORA_USER_ERROR_MSG "ORA-01820: format code cannot appear in date input format"
#define OB_ERR_NON_NUMERIC_CHARACTER_VALUE__ORA_USER_ERROR_MSG \
  "ORA-01858: a non-numeric character was found where a numeric was expected"
#define OB_INVALID_MERIDIAN_INDICATOR_USE__ORA_USER_ERROR_MSG "ORA-01818: 'HH24' precludes use of meridian indicator"
#define OB_ERR_INVALID_CHAR_FOLLOWING_ESCAPE_CHAR__ORA_USER_ERROR_MSG \
  "ORA-01424: missing or illegal character following the escape character"
#define OB_ERR_INVALID_ESCAPE_CHAR_LENGTH__ORA_USER_ERROR_MSG \
  "ORA-01425: escape character must be character string of length 1"
#define OB_ERR_DAY_OF_MONTH_RANGE__ORA_USER_ERROR_MSG "ORA-01847: day of month must be between 1 and last day of month"
#define OB_ERR_NOT_SELECTED_EXPR__ORA_USER_ERROR_MSG "ORA-01791: not a SELECTed expression"
#define OB_ERR_INVALID_YEAR_VALUE__ORA_USER_ERROR_MSG \
  "ORA-01841: (full) year must be between -4713 and +9999, and not be 0"
#define OB_ERR_UK_PK_DUPLICATE__ORA_USER_ERROR_MSG "ORA-02261: such unique or primary key already exists in the table"
#define OB_ERR_COLUMN_LIST_ALREADY_INDEXED__ORA_USER_ERROR_MSG "ORA-01408: such column list already indexed"
#define OB_ERR_BUSHY_TREE_NOT_SUPPORTED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5673, PX does not support processing a bushy tree"
#define OB_ERR_ARGUMENT_OUT_OF_RANGE__ORA_USER_ERROR_MSG "ORA-01428: argument '%ld' is out of range"
#define OB_ERR_ORDER_BY_ITEM_NOT_IN_SELECT_LIST__ORA_USER_ERROR_MSG \
  "ORA-01785: ORDER BY item must be the number of a SELECT-list expression"
#define OB_ERR_INTERVAL_INVALID__ORA_USER_ERROR_MSG "ORA-01867: the interval is invalid"
#define OB_ERR_NUMERIC_OR_VALUE_ERROR__ORA_USER_ERROR_MSG "ORA-06502: PL/SQL: numeric or value error: %.*s"
#define OB_ERR_CONSTRAINT_NAME_DUPLICATE__ORA_USER_ERROR_MSG "ORA-02264: name already used by an existing constraint"
#define OB_ERR_ONLY_HAVE_INVISIBLE_COL_IN_TABLE__ORA_USER_ERROR_MSG \
  "ORA-54039: table must have at least one column that is not invisible"
#define OB_ERR_INVISIBLE_COL_ON_UNSUPPORTED_TABLE_TYPE__ORA_USER_ERROR_MSG \
  "ORA-54042: Invisible column is not supported on this type of table."
#define OB_ERR_MODIFY_COL_VISIBILITY_COMBINED_WITH_OTHER_OPTION__ORA_USER_ERROR_MSG \
  "ORA-54046: Column visibility modifications cannot be combined with any other modified column DDL option."
#define OB_ERR_MODIFY_COL_VISIBILITY_BY_SYS_USER__ORA_USER_ERROR_MSG \
  "ORA-54053: The visibility of a column from a table owned by a SYS user cannot be changed."
#define OB_ERR_TOO_MANY_ARGS_FOR_FUN__ORA_USER_ERROR_MSG "ORA-00939: too many arguments for function"
#define OB_PX_SQL_NEED_RETRY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5684, PX sql need retry"
#define OB_TENANT_HAS_BEEN_DROPPED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5685, Tenant '%.*s' has been dropped"
#define OB_ERR_EXTRACT_FIELD_INVALID__ORA_USER_ERROR_MSG "ORA-30076: invalid extract field for extract source"
#define OB_ERR_PACKAGE_COMPILE_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5687, %s \'%.*s.%.*s\' compile error"
#define OB_ERR_SP_EMPTY_BLOCK__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5688, Empty block prohibited in Oracle"
#define OB_ARRAY_BINDING_ROLLBACK__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5689, array binding need rollback"
#define OB_ERR_INVALID_SUBQUERY_USE__ORA_USER_ERROR_MSG "ORA-02251: subquery not allowed here"
#define OB_ERR_DATE_OR_SYS_VAR_CANNOT_IN_CHECK_CST__ORA_USER_ERROR_MSG \
  "ORA-02436: date or system variable wrongly specified in CHECK constraint"
#define OB_ERR_NONEXISTENT_CONSTRAINT__ORA_USER_ERROR_MSG "ORA-02443: Cannot drop constraint  - nonexistent constraint"
#define OB_ERR_CHECK_CONSTRAINT_VIOLATED__ORA_USER_ERROR_MSG "ORA-02290: check constraint violated"
#define OB_ERR_GROUP_FUNC_NOT_ALLOWED__ORA_USER_ERROR_MSG "ORA-00934: group function is not allowed here"
#define OB_ERR_POLICY_STRING_NOT_FOUND__ORA_USER_ERROR_MSG "ORA-12416: policy string not found"
#define OB_ERR_INVALID_LABEL_STRING__ORA_USER_ERROR_MSG "ORA-12401: invalid label string"
#define OB_ERR_UNDEFINED_COMPARTMENT_STRING_FOR_POLICY_STRING__ORA_USER_ERROR_MSG \
  "ORA-12462: undefined compartment string for policy string"
#define OB_ERR_UNDEFINED_LEVEL_STRING_FOR_POLICY_STRING__ORA_USER_ERROR_MSG \
  "ORA-12461: undefined level string for policy string"
#define OB_ERR_UNDEFINED_GROUP_STRING_FOR_POLICY_STRING__ORA_USER_ERROR_MSG \
  "ORA-12463: undefined group string for policy string"
#define OB_ERR_LBAC_ERROR__ORA_USER_ERROR_MSG "ORA-12432: LBAC error: %s"
#define OB_ERR_POLICY_ROLE_ALREADY_EXISTS_FOR_POLICY_STRING__ORA_USER_ERROR_MSG \
  "ORA-12447: policy role already exists for policy string"
#define OB_ERR_NULL_OR_INVALID_USER_LABEL__ORA_USER_ERROR_MSG "ORA-12470: NULL or invalid user label: %s"
#define OB_ERR_ADD_INDEX__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5703, Add index failed"
#define OB_ERR_PROFILE_STRING_DOES_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-02380: profile %.*s does not exist"
#define OB_ERR_INVALID_RESOURCE_LIMIT__ORA_USER_ERROR_MSG "ORA-02377: invalid resource limit %s"
#define OB_ERR_PROFILE_STRING_ALREADY_EXISTS__ORA_USER_ERROR_MSG "ORA-02379: profile %.*s already exists"
#define OB_ERR_PROFILE_STRING_HAS_USERS_ASSIGNED__ORA_USER_ERROR_MSG \
  "ORA-02382: profile %.*s has users assigned, cannot drop without CASCADE"
#define OB_ERR_THE_LEADING_PRECISION_OF_THE_INTERVAL_IS_TOO_SMALL__ORA_USER_ERROR_MSG \
  "ORA-01873: the leading precision of the interval is too small"
#define OB_ERR_INVALID_TIME_ZONE_HOUR__ORA_USER_ERROR_MSG "ORA-01874: time zone hour must be between -15 and 15"
#define OB_ERR_INVALID_TIME_ZONE_MINUTE__ORA_USER_ERROR_MSG "ORA-01875: time zone minute must be between -59 and 59"
#define OB_ERR_NOT_A_VALID_TIME_ZONE__ORA_USER_ERROR_MSG "ORA-01857: not a valid time zone"
#define OB_ERR_DATE_FORMAT_IS_TOO_LONG_FOR_INTERNAL_BUFFER__ORA_USER_ERROR_MSG \
  "ORA-01801: date format is too long for internal buffer"
#define OB_ERR_ADD_CHECK_CONSTRAINT_VIOLATED__ORA_USER_ERROR_MSG \
  "ORA-02293: cannot validate (%.*s.%.*s) - check constraint violated"
#define OB_ERR_ILLEGAL_VIEW_UPDATE__ORA_USER_ERROR_MSG "ORA-01732: data manipulation operation not legal on this view"
#define OB_ERR_VIRTUAL_COL_NOT_ALLOWED__ORA_USER_ERROR_MSG "ORA-01733: virtual column not allowed here"
#define OB_ERR_O_VIEW_MULTIUPDATE__ORA_USER_ERROR_MSG \
  "ORA-01776: cannot modify more than one base table through a join view"
#define OB_ERR_NON_INSERTABLE_TABLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5717, The target table %.*s of the INSERT is not insertable-into"
#define OB_ERR_VIEW_MULTIUPDATE__ORA_USER_ERROR_MSG                                                                \
  "ORA-00600: internal error code, arguments: -5718, Can not modify more than one base table through a join view " \
  "'%.*s.%.*s'"
#define OB_ERR_NONUPDATEABLE_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5719, Column '%.*s' is not updatable"
#define OB_ERR_VIEW_DELETE_MERGE_VIEW__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5720, Can not delete from join view '%.*s.%.*s'"
#define OB_ERR_O_DELETE_VIEW_NON_KEY_PRESERVED__ORA_USER_ERROR_MSG \
  "ORA-01752: cannot delete from view without exactly one key-preserved table"
#define OB_ERR_O_UPDATE_VIEW_NON_KEY_PRESERVED__ORA_USER_ERROR_MSG \
  "ORA-01779: cannot modify a column which maps to a non key-preserved table"
#define OB_ERR_MODIFY_READ_ONLY_VIEW__ORA_USER_ERROR_MSG "ORA-42399: cannot perform a DML operation on a read-only view"
#define OB_ERR_INVALID_INITRANS_VALUE__ORA_USER_ERROR_MSG "ORA-02207: invalid INITRANS option value"
#define OB_ERR_INVALID_MAXTRANS_VALUE__ORA_USER_ERROR_MSG "ORA-02209: invalid MAXTRANS option value"
#define OB_ERR_INVALID_PCTFREE_OR_PCTUSED_VALUE__ORA_USER_ERROR_MSG "ORA-02211: invalid value for PCTFREE or PCTUSED"
#define OB_ERR_PROXY_REROUTE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5727, SQL request should be rerouted"
#define OB_ERR_ILLEGAL_ARGUMENT_FOR_FUNCTION__ORA_USER_ERROR_MSG "ORA-01760: illegal argument for function"
#define OB_ERR_OPERATOR_CANNOT_BE_USED_WITH_LIST__ORA_USER_ERROR_MSG \
  "ORA-01796: this operator cannot be used with lists"
#define OB_ERR_INVALID_SAMPLING_RANGE__ORA_USER_ERROR_MSG \
  "ORA-30562: SAMPLE percentage must be in the range [0.000001,100)"
#define OB_ERR_SPECIFY_DATABASE_NOT_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-01765: specifying owner's name of the table is not allowed"
#define OB_ERR_STMT_TRIGGER_WITH_WHEN_CLAUSE__ORA_USER_ERROR_MSG "ORA-04077: stmt trigger with when clause"
#define OB_ERR_TRIGGER_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-04080: trigger '%.*s' does not exist"
#define OB_ERR_TRIGGER_ALREADY_EXIST__ORA_USER_ERROR_MSG "ORA-04081: trigger '%.*s' already exist"
#define OB_ERR_TRIGGER_EXIST_ON_OTHER_TABLE__ORA_USER_ERROR_MSG \
  "ORA-04095: trigger '%.*s' already exists on another table, cannot replace it"
#define OB_ERR_SIGNALED_IN_PARALLEL_QUERY_SERVER__ORA_USER_ERROR_MSG \
  "ORA-12801: error signaled in parallel query server"
#define OB_ERR_CTE_ILLEGAL_QUERY_NAME__ORA_USER_ERROR_MSG "ORA-32031: illegal reference of a query name in WITH clause"
#define OB_ERR_CTE_UNSUPPORTED_COLUMN_ALIASING__ORA_USER_ERROR_MSG "ORA-32033: unsupported column aliasing"
#define OB_ERR_UNSUPPORTED_USE_OF_CTE__ORA_USER_ERROR_MSG "ORA-32034: unsupported use of WITH clause"
#define OB_ERR_CTE_COLUMN_NUMBER_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-32038: number of WITH clause column names does not match number of elements in select list"
#define OB_ERR_NEED_COLUMN_ALIAS_LIST_IN_RECURSIVE_CTE__ORA_USER_ERROR_MSG \
  "ORA-32039: recursive WITH clause must have column alias list"
#define OB_ERR_NEED_UNION_ALL_IN_RECURSIVE_CTE__ORA_USER_ERROR_MSG \
  "ORA-32040: recursive WITH clause must use a UNION ALL operation"
#define OB_ERR_NEED_ONLY_TWO_BRANCH_IN_RECURSIVE_CTE__ORA_USER_ERROR_MSG \
  "ORA-32041: UNION ALL operation in recursive WITH clause must have only two branches"
#define OB_ERR_NEED_REFERENCE_ITSELF_DIRECTLY_IN_RECURSIVE_CTE__ORA_USER_ERROR_MSG \
  "ORA-32042: recursive WITH clause must reference itself directly in one of the UNION ALL branches"
#define OB_ERR_NEED_INIT_BRANCH_IN_RECURSIVE_CTE__ORA_USER_ERROR_MSG \
  "ORA-32043: recursive WITH clause needs an initialization branch"
#define OB_ERR_CYCLE_FOUND_IN_RECURSIVE_CTE__ORA_USER_ERROR_MSG \
  "ORA-32044: cycle detected while executing recursive WITH query"
#define OB_ERR_CTE_REACH_MAX_LEVEL_RECURSION__ORA_USER_ERROR_MSG \
  "ORA-32045: maximum level of recursion reached while executing recursive WITH query"
#define OB_ERR_CTE_ILLEGAL_SEARCH_PSEUDO_NAME__ORA_USER_ERROR_MSG \
  "ORA-32046: sequence column name for SEARCH clause must not be part of the column alias list"
#define OB_ERR_CTE_ILLEGAL_CYCLE_NON_CYCLE_VALUE__ORA_USER_ERROR_MSG \
  "ORA-32047: cycle mark value and non-cycle mark value must be one byte character string values"
#define OB_ERR_CTE_ILLEGAL_CYCLE_PSEUDO_NAME__ORA_USER_ERROR_MSG \
  "ORA-32048: cycle mark column name for CYCLE clause must not be part of the column alias list"
#define OB_ERR_CTE_COLUMN_ALIAS_DUPLICATE__ORA_USER_ERROR_MSG \
  "ORA-32049: duplicate name found in column alias list for WITH clause"
#define OB_ERR_CTE_ILLEGAL_SEARCH_CYCLE_CLAUSE__ORA_USER_ERROR_MSG \
  "ORA-32480: SEARCH and CYCLE clauses can only be specified for recursive WITH clause elements"
#define OB_ERR_CTE_DUPLICATE_CYCLE_NON_CYCLE_VALUE__ORA_USER_ERROR_MSG \
  "ORA-32481: cycle value for CYCLE clause must be different from the non-cycle value"
#define OB_ERR_CTE_DUPLICATE_SEQ_NAME_CYCLE_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-32482: sequence column for SEARCH clause must be different from the cycle mark column for CYCLE clause"
#define OB_ERR_CTE_DUPLICATE_NAME_IN_SEARCH_CLAUSE__ORA_USER_ERROR_MSG \
  "ORA-32483: duplicate name found in sort specification list for SEARCH clause of WITH clause"
#define OB_ERR_CTE_DUPLICATE_NAME_IN_CYCLE_CLAUSE__ORA_USER_ERROR_MSG \
  "ORA-32484: duplicate name found in cycle column list for CYCLE clause of WITH clause"
#define OB_ERR_CTE_ILLEGAL_COLUMN_IN_CYCLE_CLAUSE__ORA_USER_ERROR_MSG                                                \
  "ORA-32485: element in cycle column list of CYCLE clause must appear in the column alias list of the WITH clause " \
  "element"
#define OB_ERR_CTE_ILLEGAL_RECURSIVE_BRANCH__ORA_USER_ERROR_MSG \
  "ORA-32486: unsupported operation in recursive branch of recursive WITH clause"
#define OB_ERR_ILLEGAL_JOIN_IN_RECURSIVE_CTE__ORA_USER_ERROR_MSG "ORA-32487: unsupported join in recursive WITH query"
#define OB_ERR_CTE_NEED_COLUMN_ALIAS_LIST__ORA_USER_ERROR_MSG \
  "ORA-32488: WITH clause element did not have a column alias list"
#define OB_ERR_CTE_ILLEGAL_COLUMN_IN_SERACH_CALUSE__ORA_USER_ERROR_MSG                                             \
  "ORA-32489: element in sort specification list of SEARCH clause did not appear in the column alias list of the " \
  "WITH clause element"
#define OB_ERR_CTE_RECURSIVE_QUERY_NAME_REFERENCED_MORE_THAN_ONCE__ORA_USER_ERROR_MSG \
  "ORA-32490: recursive query name referenced more than once in recursive branch of recursive WITH clause element"
#define OB_ERR_CBY_PSEUDO_COLUMN_NOT_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-00976: Specified pseudo column or operator not allowed here"
#define OB_ERR_CBY_LOOP__ORA_USER_ERROR_MSG "ORA-01436: CONNECT BY loop in user data"
#define OB_ERR_CBY_JOIN_NOT_ALLOWED__ORA_USER_ERROR_MSG "ORA-01437: cannot have join with CONNECT BY"
#define OB_ERR_CBY_CONNECT_BY_REQUIRED__ORA_USER_ERROR_MSG "ORA-01788: CONNECT BY clause required in this query block"
#define OB_ERR_CBY_CONNECT_BY_PATH_NOT_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-30002: SYS_CONNECT_BY_PATH function is not allowed here"
#define OB_ERR_CBY_CONNECT_BY_PATH_ILLEGAL_PARAM__ORA_USER_ERROR_MSG \
  "ORA-30003: illegal parameter in SYS_CONNECT_BY_PATH function"
#define OB_ERR_CBY_CONNECT_BY_PATH_INVALID_SEPARATOR__ORA_USER_ERROR_MSG                                         \
  "ORA-30004: A column value contained the string that the SYS_CONNECT_BY_PATH function was to use to separate " \
  "column values."
#define OB_ERR_CBY_CONNECT_BY_ROOT_ILLEGAL_USED__ORA_USER_ERROR_MSG \
  "ORA-30007: CONNECT BY ROOT operator is not supported in the START WITH or in the CONNECT BY condition"
#define OB_ERR_CBY_OREDER_SIBLINGS_BY_NOT_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-30929: ORDER SIBLINGS BY clause not allowed here"
#define OB_ERR_CBY_NOCYCLE_REQUIRED__ORA_USER_ERROR_MSG \
  "ORA-30930: NOCYCLE keyword is required with CONNECT_BY_ISCYCLE pseudo column"
#define OB_ERR_NOT_ENOUGH_ARGS_FOR_FUN__ORA_USER_ERROR_MSG "ORA-00938: not enough arguments for function"
#define OB_ERR_PREPARE_STMT_CHECKSUM__ORA_USER_ERROR_MSG "ORA-00603: Oracle Server session terminated by fatal error"
#define OB_ERR_ENABLE_NONEXISTENT_CONSTRAINT__ORA_USER_ERROR_MSG \
  "ORA-02430: cannot enable constraint (%.*s) - no such constraint"
#define OB_ERR_DISABLE_NONEXISTENT_CONSTRAINT__ORA_USER_ERROR_MSG \
  "ORA-02431: cannot disable constraint (%.*s) - no such constraint"
#define OB_ERR_DOWNGRADE_DOP__ORA_USER_ERROR_MSG "ORA-00000: PX DOP downgrade from %ld to %ld"
#define OB_ERR_DOWNGRADE_PARALLEL_MAX_SERVERS__ORA_USER_ERROR_MSG \
  "ORA-00000: parallel_max_servers downgrade due to insufficent cpu resource from %ld to %ld"
#define OB_ERR_ORPHANED_CHILD_RECORD_EXISTS__ORA_USER_ERROR_MSG \
  "ORA-02298: cannot validate (%.*s.%.*s) - parent keys not found"
#define OB_ERR_COL_CHECK_CST_REFER_ANOTHER_COL__ORA_USER_ERROR_MSG \
  "ORA-02438: Column check constraint cannot reference other columns"
#define OB_BATCHED_MULTI_STMT_ROLLBACK__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5787, batched multi statement execution needs rollback"
#define OB_ERR_FOR_UPDATE_SELECT_VIEW_CANNOT__ORA_USER_ERROR_MSG \
  "ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc."
#define OB_ERR_POLICY_WITH_CHECK_OPTION_VIOLATION__ORA_USER_ERROR_MSG "ORA-28115: policy with check option violation"
#define OB_ERR_POLICY_ALREADY_APPLIED_TO_TABLE__ORA_USER_ERROR_MSG "ORA-12444: policy already applied to table"
#define OB_ERR_MUTATING_TABLE_OPERATION__ORA_USER_ERROR_MSG \
  "ORA-04091: table '%.*s'.'%.*s' is mutating, trigger/function may not see it"
#define OB_ERR_MODIFY_OR_DROP_MULTI_COLUMN_CONSTRAINT__ORA_USER_ERROR_MSG \
  "ORA-12991: column is referenced in a multi-column constraint"
#define OB_ERR_DROP_PARENT_KEY_COLUMN__ORA_USER_ERROR_MSG "ORA-12992: cannot drop parent key column"
#define OB_AUTOINC_SERVICE_BUSY__ORA_USER_ERROR_MSG "ORA-00600: auto increment service busy"
#define OB_ERR_CONSTRAINT_CONSTRAINT_DISABLE_VALIDATE__ORA_USER_ERROR_MSG \
  "ORA-25128: No insert/update/delete on table with constraint (%.*s.%.*s) disabled and validated"
#define OB_ERR_AUTONOMOUS_TRANSACTION_ROLLBACK__ORA_USER_ERROR_MSG \
  "ORA-06519: active autonomous transaction detected and rolled back"
#define OB_ORDERBY_CLAUSE_NOT_ALLOWED__ORA_USER_ERROR_MSG "ORA-30487: ORDER BY not allowed here"
#define OB_DISTINCT_NOT_ALLOWED__ORA_USER_ERROR_MSG "ORA-30482: DISTINCT not allowed here"
#define OB_ERR_ASSIGN_USER_VARIABLE_NOT_ALLOWED__ORA_USER_ERROR_MSG                                                   \
  "ORA-00600: internal error code, arguments: -5799, assign user variable with := only allowed in select filed list " \
  "and as root expression"
#define OB_ERR_MODIFY_NONEXISTENT_CONSTRAINT__ORA_USER_ERROR_MSG \
  "ORA-25129: cannot modify constraint (%.*s) - no such constraint"
#define OB_ERR_SP_EXCEPTION_HANDLE_ILLEGAL__ORA_USER_ERROR_MSG                                                 \
  "ORA-00600: internal error code, arguments: -5801, implementation restriction: exception handler in nested " \
  "transaction is illegal"
#define OB_INVALID_ROWID__ORA_USER_ERROR_MSG "ORA-01410: invalid ROWID"
#define OB_ERR_INVALID_INSERT_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-38101: Invalid column in the INSERT VALUES Clause:'%.*s'.'%.*s'"
#define OB_INCORRECT_USE_OF_OPERATOR__ORA_USER_ERROR_MSG "ORA-13207: incorrect use of the ['%.*s'] operator"
#define OB_ERR_NON_CONST_EXPR_IS_NOT_ALLOWED_FOR_PIVOT_UNPIVOT_VALUES__ORA_USER_ERROR_MSG \
  "ORA-56901: non-constant expression is not allowed for pivot|unpivot values"
#define OB_ERR_EXPECT_AGGREGATE_FUNCTION_INSIDE_PIVOT_OPERATION__ORA_USER_ERROR_MSG \
  "ORA-56902: expect aggregate function inside pivot operation"
#define OB_ERR_EXP_NEED_SAME_DATATYPE__ORA_USER_ERROR_MSG \
  "ORA-01790: expression must have same datatype as corresponding expression"
#define OB_ERR_CHARACTER_SET_MISMATCH__ORA_USER_ERROR_MSG "ORA-12704: character set mismatch"
#define OB_ERR_REGEXP_NOMATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5809, regular expression failed to match"
#define OB_ERR_REGEXP_BADPAT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5810, invalid regular expression (reg version 0.8)"
#define OB_ERR_REGEXP_EESCAPE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5811, invalid escape \\ sequence in regular expression"
#define OB_ERR_REGEXP_EBRACK__ORA_USER_ERROR_MSG "ORA-12726: unmatched bracket in regular expression"
#define OB_ERR_REGEXP_EPAREN__ORA_USER_ERROR_MSG "ORA-12725: unmatched parentheses in regular expression"
#define OB_ERR_REGEXP_ESUBREG__ORA_USER_ERROR_MSG "ORA-12727: invalid back reference in regular expression"
#define OB_ERR_REGEXP_ERANGE__ORA_USER_ERROR_MSG "ORA-12728: invalid range in regular expression"
#define OB_ERR_REGEXP_ECTYPE__ORA_USER_ERROR_MSG "ORA-12729: invalid character class in regular expression"
4684
#define OB_ERR_REGEXP_ECOLLATE__ORA_USER_ERROR_MSG "ORA-12731: invalid collation class in regular expression"
O
oceanbase-admin 已提交
4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865
#define OB_ERR_REGEXP_EBRACE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5818, braces {} not balanced in in regular expression"
#define OB_ERR_REGEXP_BADBR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5819, invalid repetition count(s) in regular expression"
#define OB_ERR_REGEXP_BADRPT__ORA_USER_ERROR_MSG                                                                  \
  "ORA-00600: internal error code, arguments: -5820, The regular expression was too complex and current library " \
  "can't be parsed"
#define OB_ERR_REGEXP_ASSERT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5821, regular expression internal error"
#define OB_ERR_REGEXP_INVARG__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5822, invalid argument in regular expression"
#define OB_ERR_REGEXP_MIXED__ORA_USER_ERROR_MSG                                                               \
  "ORA-00600: internal error code, arguments: -5823, character widths of regex and string differ in regular " \
  "expression"
#define OB_ERR_REGEXP_BADOPT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5824, invalid embedded option in regular expression"
#define OB_ERR_REGEXP_ETOOBIG__ORA_USER_ERROR_MSG                                                                \
  "ORA-00600: internal error code, arguments: -5825, nfa has too many states in regular expression, may be the " \
  "regular expression too long"
#define OB_NOT_SUPPORTED_ROWID_TYPE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5826, ROWID for tables without primary key is not implemented"
#define OB_ERR_PARALLEL_DDL_CONFLICT__ORA_USER_ERROR_MSG                                                             \
  "ORA-00600: internal error code, arguments: -5827, the definition of relative objects have been modified, please " \
  "check and retry"
#define OB_ERR_SUBSCRIPT_BEYOND_COUNT__ORA_USER_ERROR_MSG "ORA-06533: Subscript beyond count"
#define OB_ERR_NOT_PARTITIONED__ORA_USER_ERROR_MSG "ORA-14501: object is not partitioned"
#define OB_UNKNOWN_SUBPARTITION__ORA_USER_ERROR_MSG "ORA-14251: Specified subpartition does not exist"
#define OB_ERR_INVALID_SQL_ROW_LIMITING__ORA_USER_ERROR_MSG \
  "ORA-62550: Invalid SQL ROW LIMITING expression was specified."
#define INCORRECT_ARGUMENTS_TO_ESCAPE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5832, Incorrect arguments to ESCAPE"
#define STATIC_ENG_NOT_IMPLEMENT__ORA_USER_ERROR_MSG                                                                 \
  "ORA-00600: internal error code, arguments: -5833, not implemented in SQL static typing engine, will try the old " \
  "engine automatically"
#define OB_OBJ_ALREADY_EXIST__ORA_USER_ERROR_MSG "ORA-00955: name is already used by an existing object"
#define OB_DBLINK_NOT_EXIST_TO_ACCESS__ORA_USER_ERROR_MSG \
  "ORA-02019: connection description for remote database not found"
#define OB_DBLINK_NOT_EXIST_TO_DROP__ORA_USER_ERROR_MSG "ORA-02024: database link not found"
#define OB_ERR_ACCESS_INTO_NULL__ORA_USER_ERROR_MSG "ORA-06530: Reference to uninitialized composite"
#define OB_ERR_COLLECION_NULL__ORA_USER_ERROR_MSG "ORA-06531: Reference to uninitialized collection"
#define OB_ERR_NO_DATA_NEEDED__ORA_USER_ERROR_MSG "ORA-06548: no more rows needed"
#define OB_ERR_PROGRAM_ERROR__ORA_USER_ERROR_MSG "ORA-06501: PL/SQL: program error"
#define OB_ERR_ROWTYPE_MISMATCH__ORA_USER_ERROR_MSG \
  "ORA-06504: PL/SQL: Return types of Result Set variables or query do not match"
#define OB_ERR_STORAGE_ERROR__ORA_USER_ERROR_MSG "ORA-06500: PL/SQL: storage error"
#define OB_ERR_SUBSCRIPT_OUTSIDE_LIMIT__ORA_USER_ERROR_MSG "ORA-06532: Subscript outside of limit"
#define OB_ERR_INVALID_CURSOR__ORA_USER_ERROR_MSG "ORA-01001: invalid cursor"
#define OB_ERR_LOGIN_DENIED__ORA_USER_ERROR_MSG "ORA-01017: invalid username/password; logon deniedd"
#define OB_ERR_NOT_LOGGED_ON__ORA_USER_ERROR_MSG "ORA-01012: not logged on"
#define OB_ERR_SELF_IS_NULL__ORA_USER_ERROR_MSG "ORA-30625: method dispatch on NULL SELF argument is disallowed"
#define OB_ERR_TIMEOUT_ON_RESOURCE__ORA_USER_ERROR_MSG "ORA-00051: timeout occurred while waiting for a resource"
#define OB_COLUMN_CANT_CHANGE_TO_NOT_NULL__ORA_USER_ERROR_MSG \
  "ORA-01442: column to be modified to NOT NULL is already NOT NULL"
#define OB_COLUMN_CANT_CHANGE_TO_NULLALE__ORA_USER_ERROR_MSG \
  "ORA-01451: column to be modified to NULL cannot be modified to NULL"
#define OB_ENABLE_NOT_NULL_CONSTRAINT_VIOLATED__ORA_USER_ERROR_MSG \
  "ORA-02296: cannot enable (%.*s.%.*s) - null values found"
#define OB_ERR_ARGUMENT_SHOULD_CONSTANT__ORA_USER_ERROR_MSG "ORA-30496: Argument should be a constant."
#define OB_ERR_NOT_A_SINGLE_GROUP_FUNCTION__ORA_USER_ERROR_MSG "ORA-00937: not a single-group group function"
#define OB_ERR_ZERO_LENGTH_IDENTIFIER__ORA_USER_ERROR_MSG "ORA-01741: illegal zero-length identifier"
#define OB_ERR_PARAM_VALUE_INVALID__ORA_USER_ERROR_MSG \
  "ORA-02097: parameter cannot be modified because specified value is invalid"
#define OB_ERR_DBMS_SQL_CURSOR_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-29471: DBMS_SQL access denied"
#define OB_ERR_DBMS_SQL_NOT_ALL_VAR_BIND__ORA_USER_ERROR_MSG "ORA-01008: not all variables bound"
#define OB_ERR_CONFLICTING_DECLARATIONS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5858, Conflicting declarations: '%s' and '%s'"
#define OB_ERR_DROP_COL_REFERENCED_MULTI_COLS_CONSTRAINT__ORA_USER_ERROR_MSG \
  "ORA-12991: column is referenced in a multi-column constraint"
#define OB_ERR_MODIFY_COL_DATATYEP_REFERENCED_CONSTRAINT__ORA_USER_ERROR_MSG \
  "ORA-01463: cannot modify column datatype with current constraint(s)"
#define OB_ERR_PERCENTILE_VALUE_INVALID__ORA_USER_ERROR_MSG \
  "ORA-30493: The percentile value should be a number between 0 and 1."
#define OB_ERR_ARGUMENT_SHOULD_NUMERIC_DATE_DATETIME_TYPE__ORA_USER_ERROR_MSG \
  "ORA-30495: The argument should be of numeric or date/datetime type."
#define OB_ERR_ALTER_TABLE_RENAME_WITH_OPTION__ORA_USER_ERROR_MSG \
  "ORA-14047: ALTER TABLE|INDEX RENAME may not be combined with other operations"
#define OB_ERR_ONLY_SIMPLE_COLUMN_NAME_ALLOWED__ORA_USER_ERROR_MSG "ORA-01748: only simple column names allowed here."
#define OB_ERR_SAFE_UPDATE_MODE_NEED_WHERE_OR_LIMIT__ORA_USER_ERROR_MSG                                               \
  "ORA-00600: internal error code, arguments: -5865, You are using safe update mode and you tried to update a table " \
  "without a WHERE that uses a KEY column"
#define OB_ERR_SPECIFIY_PARTITION_DESCRIPTION__ORA_USER_ERROR_MSG \
  "ORA-14170: cannot specify <(sub)partition-description> clause in CREATE TABLE or CREATE INDEX"
#define OB_ERR_SAME_NAME_SUBPARTITION__ORA_USER_ERROR_MSG "ORA-14159: duplicate subpartition name %.*s"
#define OB_ERR_UPDATE_ORDER_BY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5868, Incorrect usage of UPDATE and ORDER BY"
#define OB_ERR_UPDATE_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5869, Incorrect usage of UPDATE and LIMIT"
#define OB_ROWID_TYPE_MISMATCH__ORA_USER_ERROR_MSG "ORA-00600: rowid type mismatch, expect %s, got %s"
#define OB_ROWID_NUM_MISMATCH__ORA_USER_ERROR_MSG "ORA-00600: rowid type mismatch, expect %ld, actual %ld"
#define OB_NO_COLUMN_ALIAS__ORA_USER_ERROR_MSG "ORA-00998: must name %.*s with a column alias"
#define OB_ERR_NUMERIC_NOT_MATCH_FORMAT_LENGTH__ORA_USER_ERROR_MSG \
  "ORA-01862: the numeric value does not match the length of the format item"
#define OB_ERR_INVALID_DATATYPE__ORA_USER_ERROR_MSG "ORA-00902: invalid datatype"
#define OB_ERR_NOT_COMPOSITE_PARTITION__ORA_USER_ERROR_MSG \
  "ORA-14253: table is not partitioned by composite partition method"
#define OB_ERR_SUBPARTITION_NOT_EXPECT_VALUES_IN__ORA_USER_ERROR_MSG \
  "ORA-14214: VALUES (<value list>) cannot be used for Range subpartitioned tables"
#define OB_ERR_SUBPARTITION_EXPECT_VALUES_IN__ORA_USER_ERROR_MSG "ORA-14217: VALUES (<value list>) clause expected"
#define OB_ERR_PARTITION_NOT_EXPECT_VALUES_LESS_THAN__ORA_USER_ERROR_MSG \
  "ORA-14310: VALUES LESS THAN or AT clause cannot be used with List partitioned tables"
#define OB_ERR_PARTITION_EXPECT_VALUES_LESS_THAN__ORA_USER_ERROR_MSG \
  "ORA-14311: Expecting VALUES LESS THAN or AT clause"
#define OB_ERR_PROGRAM_UNIT_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-04042: procedure, function, package, or package body does not exist"
#define OB_ERR_INVALID_RESTORE_POINT_NAME__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5881, invalid restore point name specified in connection string"
#define OB_ERR_INPUT_TIME_TYPE__ORA_USER_ERROR_MSG "ORA-14312: invalid time limit specified"
#define OB_ERR_IN_ARRAY_DML__ORA_USER_ERROR_MSG "ORA-24381: error(s) in array DML"
#define OB_ERR_TRIGGER_COMPILE_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5884, %s \'%.*s.%.*s\' compile error"
#define OB_ERR_MISSING_OR_INVALID_PASSWORD__ORA_USER_ERROR_MSG "ORA-00988: missing or invalid password(s)"
#define OB_ERR_NO_MATCHING_UK_PK_FOR_COL_LIST__ORA_USER_ERROR_MSG \
  "ORA-02270: no matching unique or primary key for this column-list"
#define OB_ERR_DUP_FK_IN_TABLE__ORA_USER_ERROR_MSG "ORA-02774: duplicate referential constraint specifications"
#define OB_ERR_DUP_FK_EXISTS__ORA_USER_ERROR_MSG "ORA-02775: such a referential constraint already exists in the table"
#define OB_ERR_INVALID_VIRTUAL_COLUMN_TYPE__ORA_USER_ERROR_MSG \
  "ORA-54003: specified data type is not supported for a virtual column"
#define OB_ERR_REFERENCED_TABLE_HAS_NO_PK__ORA_USER_ERROR_MSG "ORA-02268: referenced table does not have a primary key"
#define OB_ERR_MODIFY_PART_COLUMN_TYPE__ORA_USER_ERROR_MSG \
  "ORA-14060: data type or length of a table partitioning column may not be changed"
#define OB_ERR_MODIFY_SUBPART_COLUMN_TYPE__ORA_USER_ERROR_MSG \
  "ORA-14265: data type or length of a table subpartitioning column may not be changed"
#define OB_ERR_DECREASE_COLUMN_LENGTH__ORA_USER_ERROR_MSG \
  "ORA-01441: cannot decrease column length because some value is too big"
#define OB_ERR_DATETIME_INTERVAL_INTERNAL_ERROR__ORA_USER_ERROR_MSG "ORA-01891: Datetime/Interval internal error"
#define OB_ERR_REMOTE_PART_ILLEGAL__ORA_USER_ERROR_MSG \
  "ORA-14100: partition extended table name cannot refer to a remote object"
#define OB_ERR_A_VIEW_NOT_APPROPRIATE_HERE__ORA_USER_ERROR_MSG "ORA-01702: a view is not appropriate here"
#define OB_ROWID_VIEW_NO_KEY_PRESERVED__ORA_USER_ERROR_MSG \
  "ORA-01445: cannot select ROWID from, or sample, a join view without a key-preserved table"
#define OB_ROWID_VIEW_HAS_DISTINCT_ETC__ORA_USER_ERROR_MSG \
  "ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc"
#define OB_ERR_AT_LEAST_ONE_COLUMN_NOT_VIRTUAL__ORA_USER_ERROR_MSG \
  "ORA-54037: table must have at least 1 column that is not virtual"
#define OB_ERR_ONLY_PURE_FUNC_CANBE_INDEXED__ORA_USER_ERROR_MSG "ORA-01743: only pure functions can be indexed"
#define OB_ERR_ONLY_PURE_FUNC_CANBE_VIRTUAL_COLUMN_EXPRESSION__ORA_USER_ERROR_MSG \
  "ORA-54002: only pure functions can be specified in a virtual column expression"
#define OB_ERR_UPDATE_OPERATION_ON_VIRTUAL_COLUMNS__ORA_USER_ERROR_MSG \
  "ORA-54017: UPDATE operation disallowed on virtual columns"
#define OB_ERR_INVALID_COLUMN_EXPRESSION__ORA_USER_ERROR_MSG "ORA-54016: Invalid column expression was specified"
#define OB_ERR_IDENTITY_COLUMN_COUNT_EXCE_LIMIT__ORA_USER_ERROR_MSG "ORA-30669: table can have only one identity column"
#define OB_ERR_INVALID_NOT_NULL_CONSTRAINT_ON_IDENTITY_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-30670: invalid NOT NULL constraint specified on an identity column"
#define OB_ERR_CANNOT_MODIFY_NOT_NULL_CONSTRAINT_ON_IDENTITY_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-30671: cannot modify NOT NULL constraint on an identity column"
#define OB_ERR_CANNOT_DROP_NOT_NULL_CONSTRAINT_ON_IDENTITY_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-30672: cannot drop NOT NULL constraint on an identity column"
#define OB_ERR_COLUMN_MODIFY_TO_IDENTITY_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-30673: column to be modified is not an identity column"
#define OB_ERR_IDENTITY_COLUMN_CANNOT_HAVE_DEFAULT_VALUE__ORA_USER_ERROR_MSG \
  "ORA-30674: identity column cannot have a default value"
#define OB_ERR_IDENTITY_COLUMN_MUST_BE_NUMERIC_TYPE__ORA_USER_ERROR_MSG \
  "ORA-30675: identity column must be a numeric type"
#define OB_ERR_PREBUILT_TABLE_MANAGED_CANNOT_BE_IDENTITY_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-32792: prebuilt table managed column cannot be an identity column"
#define OB_ERR_CANNOT_ALTER_SYSTEM_GENERATED_SEQUENCE__ORA_USER_ERROR_MSG \
  "ORA-32793: cannot alter a system-generated sequence"
#define OB_ERR_CANNOT_DROP_SYSTEM_GENERATED_SEQUENCE__ORA_USER_ERROR_MSG \
  "ORA-32794: cannot drop a system-generated sequence"
#define OB_ERR_INSERT_INTO_GENERATED_ALWAYS_IDENTITY_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-32795: cannot insert into a generated always identity column"
#define OB_ERR_UPDATE_GENERATED_ALWAYS_IDENTITY_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-32796: cannot update a generated always identity column"
#define OB_ERR_IDENTITY_COLUMN_SEQUENCE_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION__ORA_USER_ERROR_MSG \
  "ORA-32797: identity column sequence mismatch in ALTER TABLE EXCHANGE PARTITION"
#define OB_ERR_CANNOT_RENAME_SYSTEM_GENERATED_SEQUENCE__ORA_USER_ERROR_MSG \
  "ORA-32798: cannot rename a system-generated sequence"
#define OB_ERR_REVOKE_BY_COLUMN__ORA_USER_ERROR_MSG \
  "ORA-01750: UPDATE/REFERENCES may only be REVOKEd from the whole table, not by column"
#define OB_ERR_TYPE_BODY_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-04067: not executed, type body '%.*s' does not exist"
#define OB_ERR_INVALID_ARGUMENT_FOR_WIDTH_BUCKET__ORA_USER_ERROR_MSG \
  "ORA-30494: The argument [%s] of WIDTH_BUCKET function is NULL or invalid."
#define OB_ERR_CBY_NO_MEMORY__ORA_USER_ERROR_MSG "ORA-30009: Not enough memory for CONNECT BY operation"
#define OB_ERR_ILLEGAL_PARAM_FOR_CBY_PATH__ORA_USER_ERROR_MSG \
  "ORA-30003: illegal parameter in SYS_CONNECT_BY_PATH function"
#define OB_ERR_HOST_UNKNOWN__ORA_USER_ERROR_MSG "ORA-29257: host %.*s unknown"
#define OB_ERR_WINDOW_NAME_IS_NOT_DEFINE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -5929, Window name '%.*s' is not defined."
#define OB_ERR_OPEN_CURSORS_EXCEEDED__ORA_USER_ERROR_MSG "ORA-01000: maximum open cursors exceeded"
#define OB_ERR_ARG_INVALID__ORA_USER_ERROR_MSG "ORA-21560: argument %.*s is null, invalid, or out of range"
#define OB_ERR_ILL_NAME_STRING__ORA_USER_ERROR_MSG "ORA-21560: unexpected name string '%.*s'"
J
jg0 已提交
4866
#define OB_ERR_INCORRECT_VALUE_FOR_FUNCTION__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5936, Incorrect %.*s value: '%.*s' for function %.*s"
O
oceanbase-admin 已提交
4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188
#define OB_TRANSACTION_SET_VIOLATION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6001, Transaction set changed during the execution"
#define OB_TRANS_ROLLBACKED__ORA_USER_ERROR_MSG "ORA-24761: transaction rolled back"
#define OB_ERR_EXCLUSIVE_LOCK_CONFLICT__ORA_USER_ERROR_MSG "ORA-30006: resource busy; acquire with WAIT timeout expired"
#define OB_ERR_SHARED_LOCK_CONFLICT__ORA_USER_ERROR_MSG "ORA-02049: timeout: distributed transaction waiting for lock"
#define OB_TRY_LOCK_ROW_CONFLICT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6005, Try lock row conflict"
#define OB_ERR_EXCLUSIVE_LOCK_CONFLICT_NOWAIT__ORA_USER_ERROR_MSG \
  "ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired"
#define OB_CLOCK_OUT_OF_ORDER__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6201, Clock out of order"
#define OB_MASK_SET_NO_NODE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6203, Mask set has no node"
#define OB_TRANS_HAS_DECIDED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6204, Transaction has been decided"
#define OB_TRANS_INVALID_STATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6205, Transaction state invalid"
#define OB_TRANS_STATE_NOT_CHANGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6206, Transaction state not changed"
#define OB_TRANS_PROTOCOL_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6207, Transaction protocol error"
#define OB_TRANS_INVALID_MESSAGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6208, Transaction message invalid"
#define OB_TRANS_INVALID_MESSAGE_TYPE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6209, Transaction message type invalid"
#define OB_TRANS_TIMEOUT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6210, Transaction is timeout"
#define OB_TRANS_KILLED__ORA_USER_ERROR_MSG "ORA-24761: transaction rolled back: transaction is killed"
#define OB_TRANS_STMT_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6212, Statement is timeout"
#define OB_TRANS_CTX_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-24761: transaction rolled back: transaction context does not exist"
#define OB_PARTITION_IS_FROZEN__ORA_USER_ERROR_MSG "ORA-24761: transaction rolled back: partition is frozen"
#define OB_PARTITION_IS_NOT_FROZEN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6215, Partition is not frozen"
#define OB_TRANS_INVALID_LOG_TYPE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6219, Transaction invalid log type"
#define OB_TRANS_SQL_SEQUENCE_ILLEGAL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6220, SQL sequence illegal"
#define OB_TRANS_CANNOT_BE_KILLED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6221, Transaction context cannot be killed"
#define OB_TRANS_STATE_UNKNOWN__ORA_USER_ERROR_MSG "ORA-25405: transaction status unknown"
#define OB_TRANS_IS_EXITING__ORA_USER_ERROR_MSG "ORA-24761: transaction rolled back: Transaction exiting"
#define OB_TRANS_NEED_ROLLBACK__ORA_USER_ERROR_MSG "ORA-24761: transaction rolled back: transaction needs rollback"
#define OB_TRANS_UNKNOWN__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6225, Transaction result is unknown"
#define OB_ERR_READ_ONLY_TRANSACTION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6226, Cannot execute statement in a READ ONLY transaction"
#define OB_PARTITION_IS_NOT_STOPPED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6227, Partition is not stopped"
#define OB_PARTITION_IS_STOPPED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6228, Partition has been stopped"
#define OB_PARTITION_IS_BLOCKED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6229, Partition has been blocked"
#define OB_TRANS_RPC_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6230, transaction rpc timeout"
#define OB_REPLICA_NOT_READABLE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6231, replica is not readable"
#define OB_PARTITION_IS_SPLITTING__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6232, Partition is splitting"
#define OB_TRANS_COMMITED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6233, Transaction has been commited"
#define OB_TRANS_CTX_COUNT_REACH_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-24761: transaction rolled back: transaction context count reach limit"
#define OB_TRANS_CANNOT_SERIALIZE__ORA_USER_ERROR_MSG "ORA-08177: can't serialize access for this transaction"
#define OB_TRANS_WEAK_READ_VERSION_NOT_READY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6236, transaction weak read version is not ready"
#define OB_GTS_STANDBY_IS_INVALID__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6237, gts standby is invalid"
#define OB_GTS_UPDATE_FAILED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6238, gts update failed"
#define OB_GTS_IS_NOT_SERVING__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6239, gts is not serving"
#define OB_PG_PARTITION_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6240, pg partition not exist"
#define OB_TRANS_STMT_NEED_RETRY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6241, transaction statement need retry"
#define OB_SAVEPOINT_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-01086: savepoint does not exist"
#define OB_TRANS_WAIT_SCHEMA_REFRESH__ORA_USER_ERROR_MSG                                                            \
  "ORA-00600: internal error code, arguments: -6243, local schema is not new enough, replaying logs of user table " \
  "from standby cluster needs to wait for schema refreshing "
#define OB_TRANS_OUT_OF_THRESHOLD__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6244, out of transaction threshold"
#define OB_TRANS_XA_NOTA__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6245, Unknown XID"
#define OB_TRANS_XA_RMFAIL__ORA_USER_ERROR_MSG                                                                      \
  "ORA-00600: internal error code, arguments: -6246, The command cannot be executed when global transaction is in " \
  "the %s state"
#define OB_TRANS_XA_DUPID__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6247, The XID already exists"
#define OB_TRANS_XA_OUTSIDE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6248, Some work is done outside global transaction"
#define OB_TRANS_XA_INVAL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6249, Invalid arguments were given"
#define OB_TRANS_XA_RMERR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6250, Resource manager error occurred in the transaction branch"
#define OB_TRANS_XA_PROTO__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6251, Routine invoked in an improper context"
#define OB_TRANS_XA_RBROLLBACK__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6252, Rollback was caused by an unspecified reason"
#define OB_TRANS_XA_RBTIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6253, Transaction branch took long"
#define OB_TRANS_XA_RDONLY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6254, Transaction was read-only and has been committed"
#define OB_TRANS_XA_RETRY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6255, Routine returned with no effect and may be re-issued"
#define OB_ERR_ROW_NOT_LOCKED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6256, Row has not been locked"
#define OB_EMPTY_PG__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6257, Empty partition group"
#define OB_TRANS_XA_ERR_COMMIT__ORA_USER_ERROR_MSG "ORA-02089: COMMIT is not allowed in a subordinate session"
#define OB_ERR_RESTORE_POINT_EXIST__ORA_USER_ERROR_MSG "ORA-38778: Restore point %s already exists"
#define OB_ERR_RESTORE_POINT_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-38780: Restore point %s does not exists"
#define OB_ERR_BACKUP_POINT_EXIST__ORA_USER_ERROR_MSG "ORA-38778: Restore point %s already exists"
#define OB_ERR_BACKUP_POINT_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-38780: Restore point %s does not exists"
#define OB_ERR_RESTORE_POINT_TOO_MANY__ORA_USER_ERROR_MSG \
  "ORA-38779: cannot create restore point - too many restore points"
#define OB_TRANS_XA_BRANCH_FAIL__ORA_USER_ERROR_MSG \
  "ORA-02051: another session or branch in same transaction failed or finalized"
#define OB_LOG_ID_NOT_FOUND__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6301, log id not found"
#define OB_LSR_THREAD_STOPPED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6302, log scan runnable thread stop"
#define OB_NO_LOG__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6303, no log ever scanned"
#define OB_LOG_ID_RANGE_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6304, log id range error"
#define OB_LOG_ITER_ENOUGH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6305, iter scans enough files"
#define OB_CLOG_INVALID_ACK__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6306, invalid ack msg"
#define OB_CLOG_CACHE_INVALID__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6307, clog cache invalid"
#define OB_EXT_HANDLE_UNFINISH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6308, external executor handle do not finish"
#define OB_CURSOR_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6309, cursor not exist"
#define OB_STREAM_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6310, stream not exist"
#define OB_STREAM_BUSY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6311, stream busy"
#define OB_FILE_RECYCLED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6312, file recycled"
#define OB_REPLAY_EAGAIN_TOO_MUCH_TIME__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6313, replay eagain cost too much time"
#define OB_MEMBER_CHANGE_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6314, member change log sync failed"
#define OB_NO_NEED_BATCH_CTX__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6315, no need batch ctx"
#define OB_TOO_LARGE_LOG_ID__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6316, too large log id"
#define OB_ALLOC_LOG_ID_NEED_RETRY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6317, alloc log id need retry"
#define OB_TRANS_ONE_PC_NOT_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6318, transaction one pc not allowed"
#define OB_LOG_NEED_REBUILD__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6319, need rebuild"
#define OB_TOO_MANY_LOG_TASK__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6320, too many log tasks"
#define OB_INVALID_BATCH_SIZE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6321, ob invalid batch size"
#define OB_CLOG_SLIDE_TIMEOUT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -6322, ob clog slide timeout"
#define OB_ELECTION_WARN_LOGBUF_FULL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7000, The log buffer is full"
#define OB_ELECTION_WARN_LOGBUF_EMPTY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7001, The log buffer is empty"
#define OB_ELECTION_WARN_NOT_RUNNING__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7002, The object is not running"
#define OB_ELECTION_WARN_IS_RUNNING__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7003, The object is running"
#define OB_ELECTION_WARN_NOT_REACH_MAJORITY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7004, Election does not reach majority"
#define OB_ELECTION_WARN_INVALID_SERVER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7005, The server is not valid"
#define OB_ELECTION_WARN_INVALID_LEADER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7006, The leader is not valid"
#define OB_ELECTION_WARN_LEADER_LEASE_EXPIRED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7007, The leader lease is expired"
#define OB_ELECTION_WARN_INVALID_MESSAGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7010, The message is not valid"
#define OB_ELECTION_WARN_MESSAGE_NOT_INTIME__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7011, The message is not intime"
#define OB_ELECTION_WARN_NOT_CANDIDATE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7012, The server is not candidate"
#define OB_ELECTION_WARN_NOT_CANDIDATE_OR_VOTER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7013, The server is not candidate or voter"
#define OB_ELECTION_WARN_PROTOCOL_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7014, Election protocol error"
#define OB_ELECTION_WARN_RUNTIME_OUT_OF_RANGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7015, The task run time out of range"
#define OB_ELECTION_WARN_LAST_OPERATION_NOT_DONE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7021, Last operation has not done"
#define OB_ELECTION_WARN_CURRENT_SERVER_NOT_LEADER__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7022, Current server is not leader"
#define OB_ELECTION_WARN_NO_PREPARE_MESSAGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7024, There is not prepare message"
#define OB_ELECTION_ERROR_MULTI_PREPARE_MESSAGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7025, There is more than one prepare message"
#define OB_ELECTION_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7026, Election does not exist"
#define OB_ELECTION_MGR_IS_RUNNING__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7027, Election manager is running"
#define OB_ELECTION_WARN_NO_MAJORITY_PREPARE_MESSAGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7029, Election msg pool not have majority prepare message"
#define OB_ELECTION_ASYNC_LOG_WARN_INIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7030, Election async log init error"
#define OB_ELECTION_WAIT_LEADER_MESSAGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7031, Election waiting leader message"
#define OB_ELECTION_GROUP_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7032, Election group not exist"
#define OB_UNEXPECT_EG_VERSION__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7033, unexpected eg_version"
#define OB_ELECTION_GROUP_MGR_IS_RUNNING__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7034, election_group_mgr is running"
#define OB_ELECTION_MGR_NOT_RUNNING__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7035, Election manager is not running"
#define OB_ELECTION_ERROR_VOTE_MSG_CONFLICT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7036, Receive change leader msg and vote msg with same T1 timestamp"
#define OB_ELECTION_ERROR_DUPLICATED_MSG__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7037, Receive duplicated prepare/vote msg with same T1 timestamp"
#define OB_ELECTION_WARN_T1_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7038, T1 timestamp is not match"
#define OB_TRANSFER_TASK_COMPLETED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7100, transfer task completed"
#define OB_TOO_MANY_TRANSFER_TASK__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7101, too many transfer tasks"
#define OB_TRANSFER_TASK_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7102, transfer task exist"
#define OB_TRANSFER_TASK_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7103, transfer task not exist"
#define OB_NOT_ALLOW_TO_REMOVE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7104, not allow to remove"
#define OB_RG_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7105, replication group not match"
#define OB_TRANSFER_TASK_ABORTED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7106, transfer task aborted"
#define OB_TRANSFER_INVALID_MESSAGE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7107, transfer invalid message"
#define OB_TRANSFER_CTX_TS_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -7108, transfer ctx_ts not match"
#define OB_SERVER_IS_INIT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -8001, Server is initializing"
#define OB_SERVER_IS_STOPPING__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -8002, Server is stopping"
#define OB_PACKET_CHECKSUM_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -8003, Packet checksum error"
#define OB_PACKET_CLUSTER_ID_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -8004, Packet cluster_id not match"
#define OB_URI_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9001, URI error"
#define OB_FINAL_MD5_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9002, OSS file MD5 error"
#define OB_OSS_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9003, OSS error"
#define OB_INIT_MD5_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9004, Init MD5 fail"
#define OB_OUT_OF_ELEMENT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9005, Out of element"
#define OB_UPDATE_MD5_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9006, Update MD5 fail"
#define OB_FILE_LENGTH_INVALID__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9007, Invalid OSS file length"
#define OB_NOT_READ_ALL_DATA__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9008, Read all data fail"
#define OB_BUILD_MD5_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9009, Build MD5 fail"
#define OB_MD5_NOT_MATCH__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9010, OSS file MD5 not match"
#define OB_BACKUP_FILE_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9011, cannot find backup file"
#define OB_OSS_DATA_VERSION_NOT_MATCHED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9012, Can not get data version from timestamp"
#define OB_OSS_WRITE_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9013, Write OSS file error"
#define OB_RESTORE_IN_PROGRESS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9014, Another restore is in progress"
#define OB_AGENT_INITING_BACKUP_COUNT_ERROR__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9015, agent initing backup count error"
#define OB_CLUSTER_NAME_NOT_EQUAL__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9016, ob cluster name not equal"
#define OB_RS_LIST_INVAILD__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9017, rs list invalid"
#define OB_AGENT_HAS_FAILED_TASK__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9018, agent has failed task"
#define OB_RESTORE_PARTITION_IS_COMPELETE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9019, restore partition is compelete"
#define OB_RESTORE_PARTITION_TWICE__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9020, restore partition twice"
#define OB_STOP_DROP_SCHEMA__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9022, physical backup switch is on"
#define OB_CANNOT_START_LOG_ARCHIVE_BACKUP__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9023, cannot start log archive backup"
#define OB_ALREADY_NO_LOG_ARCHIVE_BACKUP__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9024, log archive backup is already disabled"
#define OB_LOG_ARCHIVE_BACKUP_INFO_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9025, log archive backup info not exists"
#define OB_INVALID_BACKUP_DEST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9026, backup destination is not valid"
#define OB_LOG_ARCHIVE_INTERRUPTED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9027, ob log archive interrupted"
#define OB_LOG_ARCHIVE_STAT_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9028, ob log archive stat not match"
#define OB_LOG_ARCHIVE_NOT_RUNNING__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9029, log archive is not running"
#define OB_LOG_ARCHIVE_INVALID_ROUND__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9030, log archive invalid round"
#define OB_REPLICA_CANNOT_BACKUP__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9031, Cannot backup ob replica"
#define OB_BACKUP_INFO_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9032, backup info not exists"
#define OB_BACKUP_INFO_NOT_MATCH__ORA_USER_ERROR_MSG                                                               \
  "ORA-00600: internal error code, arguments: -9033, Backup meta info stored in system dictionary does not match " \
  "with current system status"
#define OB_LOG_ARCHIVE_ALREADY_STOPPED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9034, log archive already stopped"
#define OB_RESTORE_INDEX_FAILED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9035, restore index failed"
#define OB_BACKUP_IN_PROGRESS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9036, Backup is in progress"
#define OB_INVALID_LOG_ARCHIVE_STATUS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9037, log archive status is not valid"
#define OB_CANNOT_ADD_REPLICA_DURING_SET_MEMBER_LIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9038, Cannot add replica during set member list in restore"
#define OB_LOG_ARCHIVE_LEADER_CHANGED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9039, pg log archive leader changed"
#define OB_BACKUP_CAN_NOT_START__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9040, backup can not start, because %s"
#define OB_CANCEL_BACKUP_NOT_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9041, cancel backup do not allow"
#define OB_BACKUP_DATA_VERSION_GAP_OVER_LIMIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9042, backup data version gap over limit"
#define OB_PG_LOG_ARCHIVE_STATUS_NOT_INIT__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9043, pg log archive status is still invalid"
#define OB_BACKUP_DELETE_DATA_IN_PROGRESS__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9044, delete backup data is in progress"
#define OB_BACKUP_DELETE_BACKUP_SET_NOT_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9045, delete backup set do not allow"
#define OB_INVALID_BACKUP_SET_ID__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9046, backup set id is not valid"
#define OB_BACKUP_INVALID_PASSWORD__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9047, invalid password for backup"
#define OB_ISOLATED_BACKUP_SET__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9048, backup set is isolated by two log archive round"
#define OB_CANNOT_CANCEL_STOPPED_BACKUP__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9049, backup status is stopped, can not cancel"
#define OB_BACKUP_BACKUP_CAN_NOT_START__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9050, no backup data to be backuped up"
#define OB_BACKUP_MOUNT_FILE_NOT_VALID__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9051, backup mount file is not valid"
#define OB_BACKUP_CLEAN_INFO_NOT_MATCH__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9052, backup clean info not match"
#define OB_CANCEL_DELETE_BACKUP_NOT_ALLOWED__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9053, cancel delete backup do not allow"
#define OB_BACKUP_CLEAN_INFO_NOT_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9054, backup clean info not exists"
5189
#define OB_IO_LIMIT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9061, IO limit"
O
oceanbase-admin 已提交
5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246
#define OB_NO_SUCH_FILE_OR_DIRECTORY__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9100, no such file or directory"
#define OB_FILE_OR_DIRECTORY_EXIST__ORA_USER_ERROR_MSG \
  "ORA-00600: internal error code, arguments: -9101, file or directory already exist"
#define OB_ERR_DUPLICATE_HAVING_CLAUSE_IN_TABLE_EXPRESSION__ORA_USER_ERROR_MSG \
  "PLS-00119: Duplicate having-clause in table expression"
#define OB_ERR_INOUT_PARAM_PLACEMENT_NOT_PROPERLY__ORA_USER_ERROR_MSG \
  "PLS-00254: OUT and IN/OUT modes cannot be used in this context"
#define OB_ERR_OBJECT_NOT_FOUND__ORA_USER_ERROR_MSG "ORA-31603: object '%.*s' of type %.*s not found in schema '%.*s'"
#define OB_ERR_INVALID_INPUT_VALUE__ORA_USER_ERROR_MSG \
  "ORA-31600: invalid input value %.*s for parameter %.*s in function %.*s"
#define OB_ERR_GOTO_BRANCH_ILLEGAL__ORA_USER_ERROR_MSG \
  "PLS-00375: illegal GOTO statement; this GOTO cannot branch to label '%.*s'"
#define OB_ERR_ONLY_SCHEMA_LEVEL_ALLOW__ORA_USER_ERROR_MSG "PLS-00157: Only schema-level programs allow %s"
#define OB_ERR_DECL_MORE_THAN_ONCE__ORA_USER_ERROR_MSG "PLS-00371: at most one declaration for '%.*s' is permitted"
#define OB_ERR_DUPLICATE_FILED__ORA_USER_ERROR_MSG \
  "PLS-00410: duplicate fields in RECORD,TABLE or argument list are not permitted"
#define OB_ERR_AUTONOMOUS_TRANSACTION_ILLEGAL__ORA_USER_ERROR_MSG \
  "PLS-00710: Pragma AUTONOMOUS_TRANSACTION cannot be specified here"
#define OB_ERR_EXIT_CONTINUE_ILLEGAL__ORA_USER_ERROR_MSG \
  "PLS-00376: illegal EXIT/CONTINUE statement; it must appear inside a loop"
#define OB_ERR_LABEL_ILLEGAL__ORA_USER_ERROR_MSG "PLS-00373: EXIT/CONTINUE label '%.*s' must label a LOOP statement"
#define OB_ERR_CURSOR_LEFT_ASSIGN__ORA_USER_ERROR_MSG \
  "PLS-00321: expression '%.*s' is inappropriate as the left hand side of anassignment statement"
#define OB_ERR_INIT_NOTNULL_ILLEGAL__ORA_USER_ERROR_MSG \
  "PLS-00218: a variable declared NOT NULL must have an initialization assignment"
#define OB_ERR_INIT_CONST_ILLEGAL__ORA_USER_ERROR_MSG \
  "PLS-00322: Constant declarations should contain initialization assignments"
#define OB_ERR_CURSOR_VAR_IN_PKG__ORA_USER_ERROR_MSG \
  "PLS-00994: Cursor Variables cannot be declared as part of a package"
#define OB_ERR_LIMIT_CLAUSE__ORA_USER_ERROR_MSG "PLS-00438: value in LIMIT clause: \'%.*s\' use is invalid"
#define OB_ERR_EXPRESSION_WRONG_TYPE__ORA_USER_ERROR_MSG "PLS-00382: expression is of wrong type"
#define OB_ERR_TYPE_SPEC_NOT_EXIST__ORA_USER_ERROR_MSG \
  "PLS-00304: cannot compile body of '%.*s' without its specification"
#define OB_ERR_TYPE_SPEC_NO_ROUTINE__ORA_USER_ERROR_MSG                                                     \
  "PLS-00539: subprogram '%.*s' is declared in an object type body and must be defined in the object type " \
  "specification"
#define OB_ERR_TYPE_BODY_NO_ROUTINE__ORA_USER_ERROR_MSG                                                            \
  "PLS-00538: subprogram or cursor '%.*s' is declared in an object type specification and must be defined in the " \
  "object type body"
#define OB_ERR_IDENTIFIER_TOO_LONG__ORA_USER_ERROR_MSG "PLS-00114: identifier '%.*s' too long"
#define OB_SP_RAISE_APPLICATION_ERROR__ORA_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"
#define OB_CLOB_ONLY_SUPPORT_WITH_MULTIBYTE_FUN__ORA_USER_ERROR_MSG \
  "ORA-22998: CLOB or NCLOB in multibyte character set not supported"
#define OB_ERR_UPDATE_TWICE__ORA_USER_ERROR_MSG "ORA-30926: unable to get a stable set of rows in the source tables"
#define OB_ERR_FLASHBACK_QUERY_WITH_UPDATE__ORA_USER_ERROR_MSG "ORA-08187: snapshot expression not allowed here"
#define OB_ERR_UPDATE_ON_EXPR__ORA_USER_ERROR_MSG \
  "ORA-38104: Columns referenced in the ON Clause cannot be updated:'%.*s'.'%.*s'"
#define OB_ERR_SPECIFIED_ROW_NO_LONGER_EXISTS__ORA_USER_ERROR_MSG "ORA-08006: specified row no longer exists"
#define OB_ERR_DATA_TOO_LONG_MSG_FMT_V2__ORA_USER_ERROR_MSG \
  "ORA-12899: value too large for column %.*s (actual: %ld, maximum: %ld)"
#define OB_ERR_INVALID_DATE_MSG_FMT_V2__ORA_USER_ERROR_MSG \
  "ORA-01861: Incorrect datetime value for column '%.*s' at row %ld"

const char* ob_error_name(const int oberr);
5247 5248 5249
const char* ob_error_cause(const int oberr);
const char* ob_error_solution(const int oberr);

O
oceanbase-admin 已提交
5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268
int ob_mysql_errno(const int oberr);
int ob_mysql_errno_with_check(const int oberr);
const char* ob_sqlstate(const int oberr);
const char* ob_strerror(const int oberr);
const char* ob_str_user_error(const int oberr);

int ob_oracle_errno(const int oberr);
int ob_oracle_errno_with_check(const int oberr);
const char* ob_oracle_strerror(const int oberr);
const char* ob_oracle_str_user_error(const int oberr);

int ob_errpkt_errno(const int oberr, const bool is_oracle_mode);
const char* ob_errpkt_strerror(const int oberr, const bool is_oracle_mode);
const char* ob_errpkt_str_user_error(const int oberr, const bool is_oracle_mode);

}  // end namespace common
}  // end namespace oceanbase

#endif  // OCEANBASE_LIB_OB_ERRNO_H_