diff --git a/sql/opt_table_elimination.cc b/sql/opt_table_elimination.cc index 85a986cd641740ac52f1c0e493e576eb4a57dda2..28b445f91a946a20eae0c0222dbd92d1fabc9d08 100644 --- a/sql/opt_table_elimination.cc +++ b/sql/opt_table_elimination.cc @@ -40,13 +40,16 @@ Table elimination is redone on every PS re-execution. */ -class Value_dep +class Value_dep : public Sql_alloc { public: enum { VALUE_FIELD, VALUE_TABLE, } type; /* Type of the object */ + + Value_dep(): bound(FALSE), next(NULL) + {} bool bound; Value_dep *next;