summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2018-04-05 21:27:33 +0400
committerAlexander Barkov <bar@mariadb.com>2018-04-05 21:27:33 +0400
commita1a966fc0e084494da0f4ff88d41908e094865b9 (patch)
tree676b2bbb32ff250fc670a2363eacb6ad584c213e /libmysqld
parentd8da97b09abec8fba2398f6ff6d84285b0752400 (diff)
downloadmariadb-git-a1a966fc0e084494da0f4ff88d41908e094865b9.tar.gz
Cleanup: renaming methods make_field(Send_field*) to make_send_field(..)
Renaming methods: - Field::make_field(Send_field*) to make_send_field(..) - Item::make_field(THD *,Send_field *) to make_send_field(..) - Item::init_make_field(Send_field *, enum_field_type) to init_make_send_field(..) These names looked similar to other functions that are used for a very different purpose (creating Field instances): - Public function "Field * make_field(..)" - Method "Field *Column_defitinion::make_field(..)" The rename makes it's easier to search the code using "grep".
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index 4f78c97e723..d32a96255b9 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -1034,7 +1034,7 @@ bool Protocol::send_result_set_metadata(List<Item> *list, uint flags)
while ((item= it++))
{
Send_field server_field;
- item->make_field(thd, &server_field);
+ item->make_send_field(thd, &server_field);
/* Keep things compatible for old clients */
if (server_field.type == MYSQL_TYPE_VARCHAR)