← Back to team overview

maria-developers team mailing list archive

Re: [Commits] 2606b87: MDEV-9117: Client Server capability negotiation for MariaDB specific functionality

 

On 25.11.2015 14:03, Oleksandr Byelkin wrote:

+++ b/sql-common/client.c
@@ -2486,7 +2486,7 @@ static int send_client_reply_packet(MCPVIO_EXT *mpvio,
   if (mysql->client_flag & CLIENT_PROTOCOL_41)
   {
     /* 4.1 server and 4.1 client has a 32 byte option flag */
-    int4store(buff,mysql->client_flag);
+    int4store(buff, mysql->client_flag);
     int4store(buff+4, net->max_packet_size);
     buff[8]= (char) mysql->charset->number;
     bzero(buff+9, 32-9);
@@ -2494,7 +2494,7 @@ static int send_client_reply_packet(MCPVIO_EXT *mpvio,
   }
   else
   {
-    int2store(buff, mysql->client_flag);
+    int2store(buff, (mysql->client_flag));
     int3store(buff+2, net->max_packet_size);
     end= buff+5;
   }

oops, sorry, I'll fix above


References