[FEAT MERGE]patch sql compat feature to 431

This commit is contained in:
SevenJ-swj
2024-04-15 16:07:24 +00:00
committed by ob-robot
parent 71c32f94b0
commit 6423e587c1
177 changed files with 16669 additions and 1854 deletions

View File

@ -11137,13 +11137,13 @@ static const _error _error_OB_ERR_CIRCULAR_ROLE_GRANT_DETECTED = {
.error_name = "OB_ERR_CIRCULAR_ROLE_GRANT_DETECTED",
.error_cause = "Internal Error",
.error_solution = "Contact OceanBase Support",
.mysql_errno = -1,
.mysql_errno = ER_ROLE_GRANTED_TO_ITSELF,
.sqlstate = "HY000",
.str_error = "circular role grant detected",
.str_user_error = "circular role grant detected",
.str_error = "The GRANT would create a loop",
.str_user_error = "User account `%.*s`@`%.*s` is directly or indirectly granted to the role `%.*s`@`%.*s`. The GRANT would create a loop",
.oracle_errno = 1934,
.oracle_str_error = "ORA-01934: circular role grant detected",
.oracle_str_user_error = "ORA-01934: circular role grant detected"
.oracle_str_user_error = "ORA-01934: User account `%.*s`@`%.*s` is directly or indirectly granted to the role `%.*s`@`%.*s`. The GRANT would create a loop"
};
static const _error _error_OB_ERR_INVALID_PRIVILEGE_ON_DIRECTORIES = {
.error_name = "OB_ERR_INVALID_PRIVILEGE_ON_DIRECTORIES",
@ -11185,7 +11185,7 @@ static const _error _error_OB_ERR_ROLE_NOT_GRANTED_OR_DOES_NOT_EXIST = {
.error_name = "OB_ERR_ROLE_NOT_GRANTED_OR_DOES_NOT_EXIST",
.error_cause = "Internal Error",
.error_solution = "Contact OceanBase Support",
.mysql_errno = -1,
.mysql_errno = ER_ROLE_NOT_GRANTED,
.sqlstate = "HY000",
.str_error = "role not granted or does not exist",
.str_user_error = "role '%.*s' not granted or does not exist",
@ -11209,13 +11209,13 @@ static const _error _error_OB_ERR_ROLE_NOT_GRANTED_TO = {
.error_name = "OB_ERR_ROLE_NOT_GRANTED_TO",
.error_cause = "Internal Error",
.error_solution = "Contact OceanBase Support",
.mysql_errno = -1,
.mysql_errno = ER_ROLE_NOT_GRANTED,
.sqlstate = "HY000",
.str_error = "ROLE not granted to",
.str_user_error = "ROLE '%.*s' not granted to '%.*s'",
.str_user_error = "`%.*s`@`%.*s` is not granted to `%.*s`@`%.*s`",
.oracle_errno = 1951,
.oracle_str_error = "ORA-01951: ROLE not granted to",
.oracle_str_user_error = "ORA-01951: ROLE '%.*s' not granted to '%.*s'"
.oracle_str_user_error = "ORA-01951: ROLE '%.*s%.*s' not granted to '%.*s%.*s'"
};
static const _error _error_OB_ERR_CANNOT_GRANT_TO_A_ROLE_WITH_GRANT_OPTION = {
.error_name = "OB_ERR_CANNOT_GRANT_TO_A_ROLE_WITH_GRANT_OPTION",