patch 4.0

This commit is contained in:
wangzelin.wzl
2022-10-24 10:34:53 +08:00
parent 4ad6e00ec3
commit 93a1074b0c
10533 changed files with 2588271 additions and 2299373 deletions

View File

@ -15,10 +15,10 @@
#include "lib/utility/ob_macro_utils.h"
#define NULL_PTR(x) (OB_UNLIKELY(NULL == (x)))
#define NULL_PTR(x) (OB_UNLIKELY(NULL == (x)))
static const int64_t OB_MAX_PARSER_INT16_VALUE = 32738;
// errno keep consistency with with ob_define.h
//errno keep consistency with with ob_define.h
static const int32_t OB_PARSER_ERR_NO_MEMORY = -4013;
static const int32_t OB_PARSER_ERR_UNEXPECTED = -4016;
static const int32_t OB_PARSER_ERR_EMPTY_QUERY = -5253;
@ -26,5 +26,13 @@ static const int32_t OB_PARSER_ERR_PARSE_SQL = -5001;
static const int32_t OB_PARSER_ERR_SIZE_OVERFLOW = -4019;
static const int32_t OB_PARSER_SUCCESS = 0;
static const int32_t OB_PARSER_ERR_ILLEGAL_NAME = -5018;
static const int32_t OB_PARSER_ERR_TOO_BIG_DISPLAYWIDTH = -5205;
static const int32_t OB_PARSER_ERR_STR_LITERAL_TOO_LONG = -9644;
static const int32_t OB_PARSER_ERR_NOT_VALID_ROUTINE_NAME = -5980;
static const int32_t OB_PARSER_ERR_MUST_RETURN_SELF = -9646;
static const int32_t OB_PARSER_ERR_ONLY_FUNC_CAN_PIPELINED = -9600;
static const int32_t OB_PARSER_ERR_NO_ATTR_FOUND = -9650;
static const int32_t OB_PARSER_ERR_NON_INT_LITERAL = -9605;
static const int32_t OB_PARSER_ERR_NUMERIC_OR_VALUE_ERROR = -5677;
static const int32_t OB_PARSER_ERR_NON_INTEGRAL_NUMERIC_LITERAL = -9670;
#endif /*OCEANBASE_SQL_PARSER_PARSE_DEFINE_*/