summaryrefslogtreecommitdiff
path: root/sql/sql_tvc.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2018-06-05 11:56:19 +0400
committerAlexander Barkov <bar@mariadb.com>2018-06-05 11:56:19 +0400
commitf4dfc609cf89001e948566336f8f2b93ee147723 (patch)
tree62a44a1dd397b8ae4b405e2c75c00593ea8a62d2 /sql/sql_tvc.cc
parentab297744b7318645159cd5f9ec26378473cecf52 (diff)
downloadmariadb-git-f4dfc609cf89001e948566336f8f2b93ee147723.tar.gz
MDEV-16388 Replace member Item::fixed to virtual method is_fixed()
Diffstat (limited to 'sql/sql_tvc.cc')
-rw-r--r--sql/sql_tvc.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_tvc.cc b/sql/sql_tvc.cc
index 188ba8c4629..f81fe173c7d 100644
--- a/sql/sql_tvc.cc
+++ b/sql/sql_tvc.cc
@@ -173,7 +173,7 @@ bool get_type_attributes_for_tvc(THD *thd,
Item *item;
for (uint holder_pos= 0 ; (item= it++); holder_pos++)
{
- DBUG_ASSERT(item->fixed);
+ DBUG_ASSERT(item->is_fixed());
holders[holder_pos].add_argument(item);
}
}
@@ -251,7 +251,6 @@ bool table_value_constr::prepare(THD *thd, SELECT_LEX *sl,
holders[pos].type_handler(),
&holders[pos]/*Type_all_attributes*/,
holders[pos].get_maybe_null());
- new_holder->fix_fields(thd, 0);
sl->item_list.push_back(new_holder);
}