diff options
Diffstat (limited to 'sql/table.h')
| -rw-r--r-- | sql/table.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index 183ade8f1d9..313dde4731a 100644 --- a/sql/table.h +++ b/sql/table.h @@ -2733,6 +2733,11 @@ struct TABLE_LIST m_table_ref_version == s->get_table_ref_version()); } + bool is_base_table() + { + return m_table_ref_type == TABLE_REF_BASE_TABLE; + } + /** Record the value of metadata version of the corresponding table definition cache element in this parse tree node. |
