[fix] remove some internal urls and emails
This commit is contained in:
@ -649,7 +649,7 @@ int ObParser::split_multiple_stmt(const ObString &stmt,
|
||||
//first try parse part str, because it's have less length and need less memory
|
||||
if (OB_FAIL(tmp_ret = parse(part, parse_result, parse_mode, false, true))) {
|
||||
//if parser part str failed, then try parse all remain part, avoid parse many times
|
||||
//bug: https://work.aone.alibaba-inc.com/issue/34642901
|
||||
//bug:
|
||||
tmp_ret = OB_SUCCESS;
|
||||
tmp_ret = parse(remain_part, parse_result, parse_mode);
|
||||
}
|
||||
|
||||
@ -304,7 +304,7 @@ do {
|
||||
yyerror(NULL, result, "node or result is NULL\n"); \
|
||||
YYABORT_UNEXPECTED; \
|
||||
} else if (OB_UNLIKELY(!result->pl_parse_info_.is_pl_parse_ && 0 != result->question_mark_ctx_.count_)) { \
|
||||
/* 如果是PL过来的sql语句,不要检查:https://work.aone.alibaba-inc.com/issue/22935971*/ \
|
||||
/* 如果是PL过来的sql语句,不要检查:
|
||||
yyerror(NULL, result, "Unknown column '?'\n"); \
|
||||
YYABORT_UNEXPECTED; \
|
||||
} else { \
|
||||
@ -971,7 +971,7 @@ int STORE_PARAM_NODE_NEED_PARAMETERIZE(ParamList *param,
|
||||
} \
|
||||
} while (0);
|
||||
|
||||
// bugfix: https://work.aone.alibaba-inc.com/issue/39093490
|
||||
// bugfix:
|
||||
// convert '%' to '%%' for printf's format string.
|
||||
#define ESCAPE_PERCENT(result, src, dst)\
|
||||
do {\
|
||||
@ -992,7 +992,7 @@ do {\
|
||||
}\
|
||||
} while (0)\
|
||||
|
||||
// bugfix:https://work.aone.alibaba-inc.com/issue/41048982
|
||||
// bugfix:
|
||||
// avoid '\0' in the middle of a str.
|
||||
#define CHECK_STR_LEN_MATCH(src_str, str_len) \
|
||||
do { \
|
||||
|
||||
@ -1438,7 +1438,7 @@ BEGIN(in_c_comment);
|
||||
if (NULL != node->str_value_
|
||||
&& *(yytext + 2) == *(yytext + 1 + node->str_len_)
|
||||
&& (*(yytext + 2) == '`')) {
|
||||
// bugfix: https://work.aone.alibaba-inc.com/issue/36863983
|
||||
// bugfix:
|
||||
// support "select @@`xxx`;" as "select @@xxx;"
|
||||
node->str_value_ += 1;
|
||||
node->str_len_ -= 2;
|
||||
|
||||
@ -17297,7 +17297,7 @@ ACCESS
|
||||
;
|
||||
|
||||
/*注释掉的关键字有规约冲突暂时注释了,都是一些sql中常用的关键字,后面按需打开,增加这块代码逻辑是为了支持在mysql中允许以
|
||||
表名+列名的方式使用关键字,比如"select key.key from test.key"(https://code.aone.alibaba-inc.com/oceanbase/oceanbase/codereview/4069885)
|
||||
表名+列名的方式使用关键字,比如"select key.key from test.key"(
|
||||
*/
|
||||
mysql_reserved_keyword:
|
||||
ACCESSIBLE
|
||||
|
||||
Reference in New Issue
Block a user