Skip to content

Commit

Permalink
remove the part that does free_and_init when new_trigger_stmt_str is …
Browse files Browse the repository at this point in the history
…null.
  • Loading branch information
jongmin-won committed Dec 23, 2024
1 parent c747dfd commit 1f14a07
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/parser/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,6 @@ pt_compile_trigger_stmt (PARSER_CONTEXT * parser, const char *trigger_stmt, DB_O
change_trigger_action_query (parser, statement->info.scope.stmt->info.trigger_action.expression, with_evaluate);
if (new_trigger_stmt_str == NULL)
{
free_and_init (new_trigger_stmt_str);
return NULL;
}

Expand Down

0 comments on commit 1f14a07

Please sign in to comment.