mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
This is an implementation of two WL items:
- WL#3158: IM: Instance configuration extensions; - WL#3159: IM: --bootstrap and --start-default-instance modes The following new statements have been added: - CREATE INSTANCE; - DROP INSTANCE; The behaviour of the following statements have been changed: - SET; - UNSET; - FLUSH INSTANCES; - SHOW INSTANCES; - SHOW INSTANCE OPTIONS;
This commit is contained in:
@ -163,7 +163,7 @@ int send_fields(struct st_net *net, LIST *fields)
|
||||
Buffer send_buff;
|
||||
char small_buff[4];
|
||||
uint position= 0;
|
||||
NAME_WITH_LENGTH *field;
|
||||
LEX_STRING *field;
|
||||
|
||||
/* send the number of fileds */
|
||||
net_store_length(small_buff, (uint) list_length(fields));
|
||||
@ -173,7 +173,7 @@ int send_fields(struct st_net *net, LIST *fields)
|
||||
while (tmp)
|
||||
{
|
||||
position= 0;
|
||||
field= (NAME_WITH_LENGTH *) tmp->data;
|
||||
field= (LEX_STRING *) tmp->data;
|
||||
|
||||
store_to_protocol_packet(&send_buff,
|
||||
(char*) "", &position); /* catalog name */
|
||||
@ -184,9 +184,9 @@ int send_fields(struct st_net *net, LIST *fields)
|
||||
store_to_protocol_packet(&send_buff,
|
||||
(char*) "", &position); /* table name alias */
|
||||
store_to_protocol_packet(&send_buff,
|
||||
field->name, &position); /* column name */
|
||||
field->str, &position); /* column name */
|
||||
store_to_protocol_packet(&send_buff,
|
||||
field->name, &position); /* column name alias */
|
||||
field->str, &position); /* column name alias */
|
||||
send_buff.reserve(position, 12);
|
||||
if (send_buff.is_error())
|
||||
goto err;
|
||||
|
Reference in New Issue
Block a user