throw out schema error when sequence schema is not found

This commit is contained in:
raywill
2022-03-21 14:35:54 +08:00
committed by LINxiansheng
parent ea76dae8e4
commit 483ef5e6a7
2 changed files with 5 additions and 4 deletions

View File

@ -14667,7 +14667,7 @@ int ObDDLService::do_modify_system_variable(
char value_buf[BUF_SIZE];
ObString new_value(modify_var.get_value());
if (0 == MEMCMP(modify_var.get_name().ptr(), PARALLEL_MAX_SERVERS, modify_var.get_name().length())) {
if (0 == STRNCMP(modify_var.get_name().ptr(), PARALLEL_MAX_SERVERS, modify_var.get_name().length())) {
// If the value of parallel_max_servers exceeds the maximum allowed by unit, reduce the configuration
LOG_INFO("parallel_max_servers update", K(modify_var));
common::ObArray<share::ObUnitInfo> units;