diff options
author | Alexander Barkov <bar@mariadb.com> | 2018-03-20 13:02:44 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-02-23 17:43:59 +0400 |
commit | 80c3fd184d4eeb66cd520079c3d23595e52cfdc0 (patch) | |
tree | 1785816792a2a8b8616803de27366bd171f425b5 /sql/item_func.cc | |
parent | 8036ad541e9da4073a6136052e41c22c758b770e (diff) | |
download | mariadb-git-80c3fd184d4eeb66cd520079c3d23595e52cfdc0.tar.gz |
Backporting MDEV-15597 Add class Load_data_outvar and avoid using Item::STRING_ITEM for Item_user_var_as_out_param detection
This is a part of "MDEV-18045 Backporting the MDEV-15497 changes to 10.2 branch"
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index f755deea23b..28933aba7af 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -5751,7 +5751,9 @@ my_decimal* Item_user_var_as_out_param::val_decimal(my_decimal *decimal_buffer) } -void Item_user_var_as_out_param::print_for_load(THD *thd, String *str) +void Item_user_var_as_out_param::load_data_print_for_log_event(THD *thd, + String *str) + const { str->append('@'); append_identifier(thd, str, name.str, name.length); |