diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-04-03 16:55:42 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-04-05 15:03:02 +0400 |
commit | d433277f530689aa3869bad93ed6105e5e0cf954 (patch) | |
tree | c3df130745d5991bed03e2dc977d9847feecd01a /sql/sp_head.cc | |
parent | cae6bf2b9c0c109b429e6db98dfc0ca8a13408d6 (diff) | |
download | mariadb-git-d433277f530689aa3869bad93ed6105e5e0cf954.tar.gz |
A cleanup for MDEV-10914 ROW data type for stored routine variables
Addressing Monty's review suggestions
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r-- | sql/sp_head.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc index 9376ada40ba..9bd10aac473 100644 --- a/sql/sp_head.cc +++ b/sql/sp_head.cc @@ -3501,11 +3501,11 @@ sp_instr_set_row_field_by_name::print(String *str) str->qs_append(STRING_WITH_LEN("set ")); str->qs_append(var->name.str, var->name.length); str->qs_append('.'); - str->qs_append(m_field_name.str); + str->qs_append(m_field_name.str, m_field_name.length); str->qs_append('@'); str->qs_append(m_offset); str->qs_append("[\"",2); - str->qs_append(m_field_name.str); + str->qs_append(m_field_name.str, m_field_name.length); str->qs_append("\"]",2); str->qs_append(' '); m_value->print(str, enum_query_type(QT_ORDINARY | |