diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2009-08-16 10:25:24 +0300 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2009-08-16 10:25:24 +0300 |
commit | 8c009306424e2414f9b63f4a4ed7dc1f66bd19f9 (patch) | |
tree | 2007da50e8ddf1db554f2cd2b8344f176d53b7cb /sql/opt_table_elimination.cc | |
parent | 405a36ae399022ab26a066bc1fb3c718071d9182 (diff) | |
download | mariadb-git-8c009306424e2414f9b63f4a4ed7dc1f66bd19f9.tar.gz |
MWL#17: Table elimination
- Fix trivial valgrind failures that shown up after review
Diffstat (limited to 'sql/opt_table_elimination.cc')
-rw-r--r-- | sql/opt_table_elimination.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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; |