Skip to content

Commit

Permalink
style: Fixed PT_CHANGE_OWNER conditional check inside semantic_check
Browse files Browse the repository at this point in the history
  • Loading branch information
jongmin-won committed Apr 11, 2024
1 parent 0fc408b commit 2de54d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/parser/semantic_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -10000,8 +10000,7 @@ pt_check_alter_serial (PARSER_CONTEXT * parser, PT_NODE * node)

if (!start_val && !increment_val && !max_val && !min_val
&& cyclic == 0 && no_max == 0 && no_min == 0
&& no_cyclic == 0 && !cached_num_val && no_cache == 0
&& owner_name == NULL && node->info.serial.comment == NULL)
&& no_cyclic == 0 && !cached_num_val && no_cache == 0 && node->info.serial.comment == NULL)
{
PT_ERRORmf (parser, node, MSGCAT_SET_PARSER_SEMANTIC, MSGCAT_SEMANTIC_SERIAL_ALTER_NO_OPTION, 0);
return;
Expand Down

0 comments on commit 2de54d1

Please sign in to comment.