diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-04-01 20:29:45 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-04-02 17:04:20 +0400 |
commit | 4d12a6458e96bf5e20c7109969fbd34bfd1cbaf5 (patch) | |
tree | d29922b69ffbe4a4637fb5ab4f5bcc965d7dab2b /libmysqld | |
parent | e10f9e6c810bf0ced6d79f486d6625d2ed04932e (diff) | |
download | mariadb-git-4d12a6458e96bf5e20c7109969fbd34bfd1cbaf5.tar.gz |
MDEV-19125 Change Send_field::type from enum_field_types to Type_handler*
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/lib_sql.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index 30e40246cb0..8326b5da2df 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -1073,7 +1073,7 @@ bool Protocol_text::store_field_metadata(const THD * thd, client_field->length= server_field.max_octet_length(charset_for_protocol, thd_cs); } - client_field->type= server_field.type; + client_field->type= server_field.type_handler()->type_code_for_protocol(); client_field->flags= (uint16) server_field.flags; client_field->decimals= server_field.decimals; |