mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge with new VARCHAR code
This commit is contained in:
@ -511,6 +511,11 @@ bool Protocol::send_fields(List<Item> *list, uint flags)
|
||||
CHARSET_INFO *cs= system_charset_info;
|
||||
Send_field field;
|
||||
item->make_field(&field);
|
||||
|
||||
/* Keep things compatible for old clients */
|
||||
if (field.type == MYSQL_TYPE_VARCHAR)
|
||||
field.type= MYSQL_TYPE_VAR_STRING;
|
||||
|
||||
prot.prepare_for_resend();
|
||||
|
||||
if (thd->client_capabilities & CLIENT_PROTOCOL_41)
|
||||
|
Reference in New Issue
Block a user