From d9f5000a3b64dcfa469b66b194fc12af408a5dc8 Mon Sep 17 00:00:00 2001 From: Joo Youngjin <68979537+youngjinj@users.noreply.github.com> Date: Wed, 18 Oct 2023 17:26:00 +0900 Subject: [PATCH] [CBRD-24009] Plan cache is not updated when view changes including inline view. (#2915) (#4688) http://jira.cubrid.org/browse/CBRD-24009 backport #2915 --- src/parser/view_transform.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/parser/view_transform.c b/src/parser/view_transform.c index 28e0b38b1a1..718a29adca0 100644 --- a/src/parser/view_transform.c +++ b/src/parser/view_transform.c @@ -8865,12 +8865,6 @@ mq_class_lambda (PARSER_CONTEXT * parser, PT_NODE * statement, PT_NODE * class_, } else { - if (newspec->info.spec.entity_name == NULL) - { - newspec->info.spec.entity_name = spec->info.spec.entity_name; - /* spec will be free later, we don't want the entity_name will be freed */ - spec->info.spec.entity_name = NULL; - } newspec->info.spec.range_var->info.name.original = spec->info.spec.range_var->info.name.original; }