mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
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".
This commit is contained in:
@ -821,7 +821,7 @@ bool Protocol::send_result_set_metadata(List<Item> *list, uint flags)
|
||||
char *pos;
|
||||
CHARSET_INFO *cs= system_charset_info;
|
||||
Send_field field;
|
||||
item->make_field(thd, &field);
|
||||
item->make_send_field(thd, &field);
|
||||
|
||||
/* limit number of decimals for float and double */
|
||||
if (field.type == MYSQL_TYPE_FLOAT || field.type == MYSQL_TYPE_DOUBLE)
|
||||
|
Reference in New Issue
Block a user