diff options
author | bell@sanja.is.com.ua <> | 2004-10-25 17:32:28 +0300 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-10-25 17:32:28 +0300 |
commit | 3d389a038ecf8d3c36530a04629452fe74c35f89 (patch) | |
tree | afc8943b8f56ae85e2d764dfe4921c803e11dcea /sql/table.h | |
parent | 6a46a05a938ad22da18fdf3d9f07d360fd2898de (diff) | |
download | mariadb-git-3d389a038ecf8d3c36530a04629452fe74c35f89.tar.gz |
fixed detection of updating table on which we select (BUG#6032)
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sql/table.h b/sql/table.h index 3e2a61d5a21..de048e7cc5c 100644 --- a/sql/table.h +++ b/sql/table.h @@ -232,8 +232,6 @@ typedef struct st_table_list st_table_list *ancestor; /* most upper view this table belongs to */ st_table_list *belong_to_view; - /* next_global before adding VIEW tables */ - st_table_list *old_next; Item *where; /* VIEW WHERE clause condition */ Item *check_option; /* WITH CHECK OPTION condition */ LEX_STRING query; /* text of (CRETE/SELECT) statement */ @@ -286,12 +284,6 @@ typedef struct st_table_list bool setup_ancestor(THD *thd, Item **conds, uint8 check_option); bool placeholder() {return derived || view; } void print(THD *thd, String *str); - inline st_table_list *next_independent() - { - if (view) - return old_next; - return next_global; - } } TABLE_LIST; class Item; |