diff options
author | Igor Babaev <igor@askmonty.org> | 2013-08-29 12:32:09 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2013-08-29 12:32:09 -0700 |
commit | 59af095da430d539333c404b9ee372fd414d6bd3 (patch) | |
tree | 878ec939c347031d30a180c63dca204863e85a99 /sql/table.h | |
parent | 28a9fea122e40bdb9f199f053cc70299656b7018 (diff) | |
parent | 37f18d2318c966b84a5e91a31c0985a9b2d0d9fd (diff) | |
download | mariadb-git-59af095da430d539333c404b9ee372fd414d6bd3.tar.gz |
Merge 5.3->5.5
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index cfdc0ffd077..7a946d63bcc 100644 --- a/sql/table.h +++ b/sql/table.h @@ -2129,6 +2129,16 @@ struct TABLE_LIST bool single_table_updatable(); + bool is_inner_table_of_outer_join() + { + for (TABLE_LIST *tbl= this; tbl; tbl= tbl->embedding) + { + if (tbl->outer_join) + return true; + } + return false; + } + private: bool prep_check_option(THD *thd, uint8 check_opt_type); bool prep_where(THD *thd, Item **conds, bool no_where_clause); |