diff options
author | Igor Babaev <igor@askmonty.org> | 2011-05-22 15:47:46 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2011-05-22 15:47:46 -0700 |
commit | 317e04ce67d97ab4a11582236f1e46ccf25c94fb (patch) | |
tree | 7dc7ab6f520ddfec266d1670b922ed60a9d578bb /sql/table.cc | |
parent | 63d6dbc4abe4e06a9fc4c933c91ea207b5d722d8 (diff) | |
download | mariadb-git-317e04ce67d97ab4a11582236f1e46ccf25c94fb.tar.gz |
Fixed 2 valgrind bugs in the tree for mwl #106.
One was due the fact that the field SELECT_LEX::insert_tables was not
initialized while the second was due to missing initialization of
JOIN_TAB::preread_init_done in subselect_hash_sj_engine::make_unique_engine.
Removed an invalid assert.
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc index 898a42044d7..290a82eb56a 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -3797,7 +3797,6 @@ bool TABLE_LIST::prep_check_option(THD *thd, uint8 check_opt_type) if (where) { - DBUG_ASSERT(where->fixed); check_option= where->copy_andor_structure(thd); } if (is_cascaded) |