summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-11-24 22:20:32 +0100
committerSergei Golubchik <serg@mariadb.org>2015-11-24 22:21:42 +0100
commita099686e2e9fdc3d7dc2948cc13165c9e8aaf11d (patch)
treeee4de670880d865298c544f300896771cf43a32e /sql/sql_select.cc
parent13989b36c1b8a5cc38a128ef1a071a7c8365ad9a (diff)
downloadmariadb-git-a099686e2e9fdc3d7dc2948cc13165c9e8aaf11d.tar.gz
cleanup: remove Field->stored_in_db, Create_field->stored_in_db
and don't set Create_field->sql_type to MYSQL_TYPE_VIRTUAL temporarily only to change it again few lines later.
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 51abcd9cf34..72804b27d58 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -15678,7 +15678,6 @@ Field *create_tmp_field_from_field(THD *thd, Field *org_field,
else if (org_field->type() == FIELD_TYPE_DOUBLE)
((Field_double *) new_field)->not_fixed= TRUE;
new_field->vcol_info= 0;
- new_field->stored_in_db= TRUE;
new_field->cond_selectivity= 1.0;
new_field->next_equal_field= NULL;
new_field->option_list= NULL;