diff options
author | gkodinov/kgeorge@magare.gmz <> | 2007-03-20 19:49:38 +0200 |
---|---|---|
committer | gkodinov/kgeorge@magare.gmz <> | 2007-03-20 19:49:38 +0200 |
commit | 354c364ad4fd23587374bfe91ca6c7de22ed2662 (patch) | |
tree | 563495cf458bd9a81b6885b7855f23c12fd43c68 /sql/item.h | |
parent | 31b9145ab3de8813a10937f0894d3e127e78533c (diff) | |
parent | 28962a76a3a1e9bd91a85ec238f6e6fdca1736a2 (diff) | |
download | mariadb-git-354c364ad4fd23587374bfe91ca6c7de22ed2662.tar.gz |
Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into magare.gmz:/home/kgeorge/mysql/autopush/B24484-5.0
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index c2084fb727c..7e507a49da6 100644 --- a/sql/item.h +++ b/sql/item.h @@ -1898,6 +1898,11 @@ public: { return depended_from ? OUTER_REF_TABLE_BIT : (*ref)->used_tables(); } + void update_used_tables() + { + if (!depended_from) + (*ref)->update_used_tables(); + } table_map not_null_tables() const { return (*ref)->not_null_tables(); } void set_result_field(Field *field) { result_field= field; } bool is_result_field() { return 1; } |