fix bugs in master
This commit is contained in:
@ -2006,7 +2006,7 @@ int ObSqlParameterization::get_related_user_vars(const ParseNode *tree, common::
|
||||
// do nothing
|
||||
} else {
|
||||
if (T_USER_VARIABLE_IDENTIFIER == tree -> type_) {
|
||||
if (OB_ISNULL(tree -> str_value_) || tree -> str_len_ <= 0) {
|
||||
if (OB_ISNULL(tree -> str_value_) || tree -> str_len_ < 0) {
|
||||
ret = OB_INVALID_ARGUMENT;
|
||||
LOG_WARN("invalid argument", K(ret), K(tree -> str_value_), K(tree -> str_len_));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user