summaryrefslogtreecommitdiff
path: root/sql/sql_union.cc
diff options
context:
space:
mode:
authorunknown <timour@askmonty.org>2010-07-18 15:59:24 +0300
committerunknown <timour@askmonty.org>2010-07-18 15:59:24 +0300
commitaa195b25704b4e67423654422ce0b601b54f809d (patch)
tree8397078e60a3643a5261bcb6895e8ecf6fb3d558 /sql/sql_union.cc
parent78ddd9ffe621697a8518bf0a82821032d4ff48fe (diff)
downloadmariadb-git-aa195b25704b4e67423654422ce0b601b54f809d.tar.gz
MWL#89: Cost-based choice between Materialization and IN->EXISTS transformation
Step2 in the separation of the creation of IN->EXISTS equi-join conditions from their injection. The goal of this separation is to make it possible that the IN->EXISTS conditions can be used for cost estimation without actually modifying the subquery. This patch separates row_value_in_to_exists_transformer() into two methods: - create_row_value_in_to_exists_cond(), and - inject_row_value_in_to_exists_cond() The patch performs minimal refactoring of the code so that it is easier to solve problems resulting from the separation. There is a lot to be simplified in this code, but this will be done separately.
Diffstat (limited to 'sql/sql_union.cc')
0 files changed, 0 insertions, 0 deletions