summaryrefslogtreecommitdiff
path: root/sql-common/client.c
diff options
context:
space:
mode:
authormkindahl@dl145h.mysql.com <>2008-01-30 16:03:00 +0100
committermkindahl@dl145h.mysql.com <>2008-01-30 16:03:00 +0100
commit219a75056aec9f2420909a7bf52e77fa4792f9dc (patch)
tree5718a5af3c09c59f20c1a2cca72da33e9c852e55 /sql-common/client.c
parent3bcab5899dddf492bde3386cd5a43af7030709db (diff)
downloadmariadb-git-219a75056aec9f2420909a7bf52e77fa4792f9dc.tar.gz
Post-merge changes.
Diffstat (limited to 'sql-common/client.c')
-rw-r--r--sql-common/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index 0ca7ef16c0d..da35c12730c 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -2095,7 +2095,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
/* Check if version of protocol matches current one */
mysql->protocol_version= net->read_pos[0];
- DBUG_DUMP("packet",(char*) net->read_pos,10);
+ DBUG_DUMP("packet",(uchar*) net->read_pos,10);
DBUG_PRINT("info",("mysql protocol version %d, server=%d",
PROTOCOL_VERSION, mysql->protocol_version));
if (mysql->protocol_version != PROTOCOL_VERSION)
@@ -2221,7 +2221,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
Send client_flag, max_packet_size - unencrypted otherwise
the server does not know we want to do SSL
*/
- if (my_net_write(net,buff,(uint) (end-buff)) || net_flush(net))
+ if (my_net_write(net, (uchar*) buff, (uint) (end-buff)) || net_flush(net))
{
set_mysql_extended_error(mysql, CR_SERVER_LOST, unknown_sqlstate,
ER(CR_SERVER_LOST_EXTENDED),