summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-06-01 16:59:21 +0200
committerSergei Golubchik <serg@mariadb.org>2018-06-04 12:32:23 +0200
commit45dee3fc83f1f88115e60b72398c7f6b66bfde40 (patch)
treed9a203a3bd5ed5e6f2c270246da3642ce996af44 /sql/sql_handler.cc
parentac9cc638923836cb7f0d44d1919ad2d5afc2a9f4 (diff)
downloadmariadb-git-45dee3fc83f1f88115e60b72398c7f6b66bfde40.tar.gz
cleanup: remove TABLE::vcol_set
use a read_set instead. a bit in the read_set means "the field value is needed" (read or generated, whatever it takes).
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index faf9fcbe906..c03a004e669 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -433,8 +433,6 @@ bool mysql_ha_open(THD *thd, TABLE_LIST *tables, SQL_HANDLER *reopen)
/* Always read all columns */
table->read_set= &table->s->all_set;
- if (table->vcol_set)
- table->vcol_set= &table->s->all_set;
/* Restore the state. */
thd->set_open_tables(backup_open_tables);