From 1f14a076d961bab5a65884254c22c5069306eeee Mon Sep 17 00:00:00 2001 From: jongmin-won Date: Tue, 24 Dec 2024 01:16:15 +0900 Subject: [PATCH] remove the part that does free_and_init when new_trigger_stmt_str is null. --- src/parser/compile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/parser/compile.c b/src/parser/compile.c index a3cdadcb27..5b981b7747 100644 --- a/src/parser/compile.c +++ b/src/parser/compile.c @@ -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; }