diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-05-04 16:05:21 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-05-04 16:05:21 +0400 |
commit | fe127562e2bfa0306d0a32eeb886764af577019d (patch) | |
tree | 1f886c2642f9d288e60d97899de575a94d43f2cd /sql/item_func.cc | |
parent | ae5b31fe52e272a2cebbdf9bf8c230d622dc8ec3 (diff) | |
download | mariadb-git-fe127562e2bfa0306d0a32eeb886764af577019d.tar.gz |
MDEV-12687 Split Item::send() into virtual method in Type_handler
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index ee5472a4de0..9fc626b54f5 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -4980,7 +4980,7 @@ void Item_func_set_user_var::print_as_stmt(String *str, args[0]->print_parenthesised(str, query_type, precedence()); } -bool Item_func_set_user_var::send(Protocol *protocol, String *str_arg) +bool Item_func_set_user_var::send(Protocol *protocol, st_value *buffer) { if (result_field) { @@ -4988,7 +4988,7 @@ bool Item_func_set_user_var::send(Protocol *protocol, String *str_arg) update(); return protocol->store(result_field); } - return Item::send(protocol, str_arg); + return Item::send(protocol, buffer); } void Item_func_set_user_var::make_field(THD *thd, Send_field *tmp_field) |