diff options
author | unknown <sanja@montyprogram.com> | 2012-09-05 23:23:58 +0300 |
---|---|---|
committer | unknown <sanja@montyprogram.com> | 2012-09-05 23:23:58 +0300 |
commit | 54bb28d4a151d0eb5c3b74edb40ddf6e118c124b (patch) | |
tree | 51f71f55c54b4fbf5bc0229527b40fc475d63211 /sql/table.h | |
parent | 589c62fefec759a467b6dec1badb2cd283564845 (diff) | |
download | mariadb-git-54bb28d4a151d0eb5c3b74edb40ddf6e118c124b.tar.gz |
MDEV-486 LP BUG#1010116 fix.
Link view/derived table fields to a real table to check turning the table record to null row.
Item_direct_view_ref wrapper now checks if table is turned to null row.
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index 6ce6c83c604..8ce73162aaf 100644 --- a/sql/table.h +++ b/sql/table.h @@ -1671,6 +1671,7 @@ struct TABLE_LIST TABLE_LIST *find_underlying_table(TABLE *table); TABLE_LIST *first_leaf_for_name_resolution(); TABLE_LIST *last_leaf_for_name_resolution(); + TABLE *get_real_join_table(); bool is_leaf_for_name_resolution(); inline TABLE_LIST *top_table() { return belong_to_view ? belong_to_view : this; } |