1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Better comments

This commit is contained in:
Sergey Petrunya
2013-10-05 13:48:45 +04:00
parent abcf14e595
commit 062b7bfa39
3 changed files with 7 additions and 4 deletions

View File

@ -2382,6 +2382,13 @@ protected:
bool impossible_where;
bool no_partitions;
public:
/*
When single-table UPDATE updates a VIEW, that VIEW's select is still
listed as the first child. When we print EXPLAIN, it looks like a
subquery.
In order to get rid of it, updating_a_view=TRUE means that first child
select should not be shown when printing EXPLAIN.
*/
bool updating_a_view;
TABLE *table;