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

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to