diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-10-10 22:19:53 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-10-10 22:19:53 +0400 |
commit | 5e17b1f7cbfc256850ed139a0a4898040e16ff60 (patch) | |
tree | 23a2ca0da556bccef315b71a42ba419bdcfd2f08 /sql/log_event_server.cc | |
parent | f5833a4e4507454a4f70510c97e6e75a709c5722 (diff) | |
download | mariadb-git-5e17b1f7cbfc256850ed139a0a4898040e16ff60.tar.gz |
A small cleanup for MDEV-16309 Split ::create_tmp_field() into virtual methods in Item
These two methods:
- Item_result_field::create_tmp_field_ex()
- Item_func_user_var::create_tmp_field_ex()
had duplicate code, except that they used a different type handler.
Adding a protected method Item_result_field::create_tmp_field_ex_from_handler()
with a "const Type_handler*" parameter, and reusing it from the
two mentioned methods.
Diffstat (limited to 'sql/log_event_server.cc')
0 files changed, 0 insertions, 0 deletions