Skip to content

Commit 8b0270f

Browse files
committed
Code improvement.
1 parent 5b455e3 commit 8b0270f

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/dsql/DdlNodes.h

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,13 +1761,7 @@ class CreateIndexNode : public DdlNode
17611761
public:
17621762
CreateIndexNode(MemoryPool& p, const MetaName& aName)
17631763
: DdlNode(p),
1764-
name(p, aName),
1765-
unique(false),
1766-
descending(false),
1767-
relation(nullptr),
1768-
columns(nullptr),
1769-
computed(nullptr),
1770-
partial(nullptr)
1764+
name(p, aName)
17711765
{
17721766
}
17731767

@@ -1788,8 +1782,8 @@ class CreateIndexNode : public DdlNode
17881782

17891783
public:
17901784
MetaName name;
1791-
bool unique;
1792-
bool descending;
1785+
bool unique = false;
1786+
bool descending = false;
17931787
bool active = true;
17941788
NestConst<RelationSourceNode> relation;
17951789
NestConst<ValueListNode> columns;

0 commit comments

Comments
 (0)