diff options
author | monty@mashka.mysql.fi <> | 2002-06-11 11:20:31 +0300 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2002-06-11 11:20:31 +0300 |
commit | 2aecdd1a91bf8386829146609ce0219c51793841 (patch) | |
tree | 8fcaabe013fff43cf466235067f2c47f0cd66531 /sql/mini_client.cc | |
parent | db41437a100e204e60f45d5c9a6b26f63e512659 (diff) | |
download | mariadb-git-2aecdd1a91bf8386829146609ce0219c51793841.tar.gz |
Big code cleanup/review before 4.0.2 release.
(All commit emails since 4.0.1 checked)
This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
Diffstat (limited to 'sql/mini_client.cc')
-rw-r--r-- | sql/mini_client.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/mini_client.cc b/sql/mini_client.cc index ffb5d659238..19e94054272 100644 --- a/sql/mini_client.cc +++ b/sql/mini_client.cc @@ -354,7 +354,7 @@ mc_net_safe_read(MYSQL *mysql) if (socket_errno != SOCKET_EINTR) { mc_end_server(mysql); - if(net->last_errno != ER_NET_PACKET_TOO_LARGE) + if (net->last_errno != ER_NET_PACKET_TOO_LARGE) { net->last_errno=CR_SERVER_LOST; strmov(net->last_error,ER(net->last_errno)); @@ -375,7 +375,7 @@ max_allowed_packet on this server"); net->last_errno=uint2korr(pos); pos+=2; len-=2; - if(!net->last_errno) + if (!net->last_errno) net->last_errno = CR_UNKNOWN_ERROR; } else @@ -791,7 +791,7 @@ mc_mysql_connect(MYSQL *mysql,const char *host, const char *user, else { user = getenv("USER"); - if(!user) user = "mysql"; + if (!user) user = "mysql"; strmov((char*) buff+5, user ); } |