summaryrefslogtreecommitdiff
path: root/sql/item_func.h
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 /sql/item_func.h
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 'sql/item_func.h')
-rw-r--r--sql/item_func.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index f33b936d8c7..74e469ea9f3 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -2414,7 +2414,7 @@ public:
bool update_hash(void *ptr, size_t length, enum Item_result type,
CHARSET_INFO *cs, bool unsigned_arg);
bool send(Protocol *protocol, st_value *buffer);
- void make_field(THD *thd, Send_field *tmp_field);
+ void make_send_field(THD *thd, Send_field *tmp_field);
bool check(bool use_result_field);
void save_item_result(Item *item);
bool update();
@@ -2840,7 +2840,7 @@ public:
sp_result_field :
tmp_table_field_from_field_type(table);
}
- void make_field(THD *thd, Send_field *tmp_field);
+ void make_send_field(THD *thd, Send_field *tmp_field);
longlong val_int()
{