From 8b0270ff9a70a5ac01d1af87059f2f0bd8a41ce6 Mon Sep 17 00:00:00 2001 From: Adriano dos Santos Fernandes Date: Fri, 25 Oct 2024 18:08:43 -0300 Subject: [PATCH] Code improvement. --- src/dsql/DdlNodes.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/dsql/DdlNodes.h b/src/dsql/DdlNodes.h index edf0f1b69b..ffa46aa959 100644 --- a/src/dsql/DdlNodes.h +++ b/src/dsql/DdlNodes.h @@ -1761,13 +1761,7 @@ public: public: CreateIndexNode(MemoryPool& p, const MetaName& aName) : DdlNode(p), - name(p, aName), - unique(false), - descending(false), - relation(nullptr), - columns(nullptr), - computed(nullptr), - partial(nullptr) + name(p, aName) { } @@ -1788,8 +1782,8 @@ protected: public: MetaName name; - bool unique; - bool descending; + bool unique = false; + bool descending = false; bool active = true; NestConst relation; NestConst columns;