fix some spell problem
This commit is contained in:
@ -120,7 +120,7 @@ int ObCreateUserResolver::resolve(const ParseNode &parse_tree)
|
||||
if (lib::is_oracle_mode() && 0 != host_name.compare(OB_DEFAULT_HOST_NAME)) {
|
||||
ret = OB_NOT_SUPPORTED;
|
||||
LOG_USER_ERROR(OB_NOT_SUPPORTED, "create user with hostname");
|
||||
LOG_WARN("create user shoud not use hostname in oracle mode", K(ret));
|
||||
LOG_WARN("create user should not use hostname in oracle mode", K(ret));
|
||||
}
|
||||
ObString password;
|
||||
ObString need_enc_str = ObString::make_string("NO");
|
||||
|
||||
@ -103,7 +103,7 @@ int ObDCLResolver::check_password_strength(common::ObString &password, common::O
|
||||
}
|
||||
} else {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("the value of password policy is unexpectd", K(ret));
|
||||
LOG_WARN("the value of password policy is unexpected", K(ret));
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
@ -95,7 +95,7 @@ int ObDropUserResolver::resolve(const ParseNode &parse_tree)
|
||||
SQL_RESV_LOG(WARN, "user_list_node is null", K(ret));
|
||||
} else {
|
||||
uint64_t tenant_id = params_.session_info_->get_effective_tenant_id();
|
||||
// resovle user_list_node
|
||||
// resolved user_list_node
|
||||
for (int i = 0; i < user_list_node->num_child_ && OB_SUCCESS == ret; ++i) {
|
||||
if (OB_ISNULL(user_list_node->children_[i])) {
|
||||
ret = OB_ERR_PARSE_SQL;
|
||||
|
||||
@ -117,7 +117,7 @@ int ObGrantStmt::add_role(const common::ObString &role)
|
||||
|
||||
// Pust the first user_name and host_name into role[0] and role[1]
|
||||
// And the rest of user_names and host_names shall be saved in remain_roles
|
||||
// The remain_roles is used to keep compatibility with previouse logic
|
||||
// The remain_roles is used to keep compatibility with previous logic
|
||||
int ObGrantStmt::add_user(const common::ObString &user_name,
|
||||
const common::ObString &host_name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user