summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorunknown <timour@askmonty.org>2010-09-05 18:43:47 +0300
committerunknown <timour@askmonty.org>2010-09-05 18:43:47 +0300
commit18ad3bdc2fa3bbe1bfd7e433adb0bc6b3dbce8c8 (patch)
tree6c257aff7c14aa611fc2a7f76149dc830c7ed9e8 /sql/item_cmpfunc.h
parentaa195b25704b4e67423654422ce0b601b54f809d (diff)
downloadmariadb-git-18ad3bdc2fa3bbe1bfd7e433adb0bc6b3dbce8c8.tar.gz
MWL#89: Cost-based choice between Materialization and IN->EXISTS transformation
Fixes for multiple problems/bugs/test failures that resulted from moving subquery optimization from the execution phase to the optimization phase.
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 053a54349c2..e161c1baa84 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -265,6 +265,8 @@ public:
void keep_top_level_cache();
Item *transform(Item_transformer transformer, uchar *arg);
virtual Item *expr_cache_insert_transformer(uchar *thd_arg);
+ bool is_expensive_processor(uchar *arg);
+ bool is_expensive();
};
class Comp_creator