diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-05-23 14:57:29 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-05-23 14:58:03 +0400 |
commit | c83018751cc8eed11279eb6df555bd66c153fa9a (patch) | |
tree | 3d6fa41a975ca9ad1cee5308feda49b787183987 /sql/sql_view.cc | |
parent | 826f9d4f7e99973cafe7654697d7c50b8b64b76b (diff) | |
download | mariadb-git-c83018751cc8eed11279eb6df555bd66c153fa9a.tar.gz |
MDEV-19566 Remove Item::name related strlen() calls in constructors of some Item_string descendands
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r-- | sql/sql_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc index b130fbc099b..04cdfbcb5bf 100644 --- a/sql/sql_view.cc +++ b/sql/sql_view.cc @@ -556,7 +556,7 @@ bool mysql_create_view(THD *thd, TABLE_LIST *views, } while ((item= it++, name= nm++)) { - item->set_name(thd, name->str, (uint) name->length, system_charset_info); + item->set_name(thd, *name); item->is_autogenerated_name= FALSE; } } |