From 8c009306424e2414f9b63f4a4ed7dc1f66bd19f9 Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Sun, 16 Aug 2009 10:25:24 +0300 Subject: MWL#17: Table elimination - Fix trivial valgrind failures that shown up after review --- sql/opt_table_elimination.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sql/opt_table_elimination.cc b/sql/opt_table_elimination.cc index 85a986cd641..28b445f91a9 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; -- cgit v1.2.1