Fix error message
This commit is contained in:
@ -173,7 +173,7 @@ int ObVariableSetResolver::resolve_set_variable(
|
|||||||
if (0 == var_node.variable_name_.case_compare("ob_compatibility_mode") &&
|
if (0 == var_node.variable_name_.case_compare("ob_compatibility_mode") &&
|
||||||
0 == strncasecmp(value_node.str_value_, "oracle", std::min(static_cast<int32_t>(value_node.str_len_), 6))) {
|
0 == strncasecmp(value_node.str_value_, "oracle", std::min(static_cast<int32_t>(value_node.str_len_), 6))) {
|
||||||
ret = OB_NOT_SUPPORTED;
|
ret = OB_NOT_SUPPORTED;
|
||||||
LOG_USER_ERROR(OB_NOT_SUPPORTED, "Not support oracle mode");
|
LOG_USER_ERROR(OB_NOT_SUPPORTED, "Oracle mode");
|
||||||
} else if (OB_FAIL(ObResolverUtils::resolve_const_expr(params_, value_node, var_node.value_expr_, NULL))) {
|
} else if (OB_FAIL(ObResolverUtils::resolve_const_expr(params_, value_node, var_node.value_expr_, NULL))) {
|
||||||
LOG_WARN("resolve variable value failed", K(ret));
|
LOG_WARN("resolve variable value failed", K(ret));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user