summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-03-22 12:21:06 +0400
committerunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-03-22 12:21:06 +0400
commit1fdab610a23080f92b1af13a597964dea2679073 (patch)
treeda7d045323a7be100fbeaf859ca51cfee2e67b7c /sql/item.h
parent54a0f623c733b10f03308edae5503b7bcb81fcf9 (diff)
parent52d366293c2344a6d5d7678d18627b60bee1954f (diff)
downloadmariadb-git-1fdab610a23080f92b1af13a597964dea2679073.tar.gz
Merge bk@192.168.21.1:mysql-5.0
into mysql.com:/home/hf/work/mrg/mysql-5.0-opt sql/item.h: Auto merged sql/sql_base.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_yacc.yy: Auto merged
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index 786d65ff6f4..7b0d18e19c5 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -1901,6 +1901,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; }