Initialize all fields in Expr struct
This commit is contained in:
parent
2b27b27554
commit
e7c2833e43
|
@ -14,7 +14,12 @@ namespace hsql {
|
||||||
select(nullptr),
|
select(nullptr),
|
||||||
name(nullptr),
|
name(nullptr),
|
||||||
table(nullptr),
|
table(nullptr),
|
||||||
alias(nullptr) {};
|
alias(nullptr),
|
||||||
|
fval(0),
|
||||||
|
ival(0),
|
||||||
|
ival2(0),
|
||||||
|
opType(kOpNone),
|
||||||
|
distinct(false) {};
|
||||||
|
|
||||||
Expr::~Expr() {
|
Expr::~Expr() {
|
||||||
delete expr;
|
delete expr;
|
||||||
|
|
Loading…
Reference in New Issue