summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2011-12-07 01:03:00 +0400
committerSergey Petrunya <psergey@askmonty.org>2011-12-07 01:03:00 +0400
commit8e25dcfcd7bc1ccf9d65b2f12eba4543ed1bf9f4 (patch)
tree902b1c51f21914d62467f9ec550d9dab22ad1897 /sql/item_subselect.h
parent264aaf111d0493f0472e704ad7dda426f81376ea (diff)
downloadmariadb-git-8e25dcfcd7bc1ccf9d65b2f12eba4543ed1bf9f4.tar.gz
BUG#868908: Crash in check_simple_equality() with semijoin + materialization + prepared statement
- Part 1 of the fix: for semi-join merged subqueries, calling child_join->optimize() until we're done with all PS-lifetime optimizations in the parent.
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 28ce0061729..ae096ac1a39 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -449,6 +449,7 @@ public:
double jtbm_read_time;
double jtbm_record_count;
bool is_jtbm_merged;
+ bool is_jtbm_const_tab;
/*
TRUE<=>this is a flattenable semi-join, false overwise.