summaryrefslogtreecommitdiff
path: root/sql/net_serv.cc
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2009-10-09 13:06:41 +0400
committerKonstantin Osipov <kostja@sun.com>2009-10-09 13:06:41 +0400
commit62672568bd6eaefab8c4d5b3d9701010c394dba3 (patch)
tree62e98f865c4d831935560c631a06fb9e76207bc5 /sql/net_serv.cc
parenta7b014805775602aa02948bd5fc00335de9a4aa6 (diff)
downloadmariadb-git-62672568bd6eaefab8c4d5b3d9701010c394dba3.tar.gz
Backport to 5.4 the following changesets:
revno: 2476.785.24 committer: kostja@bodhi.(none) timestamp: Tue 2007-10-16 20:19:00 +0400 message: Reflect a rename of a member in the client ABI (a compatible change). ---------------------------------------------------------- revno: 2476.423.26 committer: kostja@bodhi.(none) timestamp: Tue 2007-10-16 20:12:37 +0400 message: Update the client ABI to reflect member rename (this is a backward-compatible change). ---------------------------------------------------------- revno: 2476.785.22 committer: kostja@bodhi.(none) timestamp: Tue 2007-10-16 19:37:25 +0400 message: Remove some remains of support of 3.22 protocol. This was in fact dead code, since the option to talk 3.22 protocol was removed in 4.1 and there is no other protocol negotiation mechanism besides this option.
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r--sql/net_serv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc
index 7ff26c50afc..7a830e0961a 100644
--- a/sql/net_serv.cc
+++ b/sql/net_serv.cc
@@ -125,7 +125,7 @@ my_bool my_net_init(NET *net, Vio* vio)
MYF(MY_WME))))
DBUG_RETURN(1);
net->buff_end=net->buff+net->max_packet;
- net->error=0; net->return_errno=0; net->return_status=0;
+ net->error=0; net->return_status=0;
net->pkt_nr=net->compress_pkt_nr=0;
net->write_pos=net->read_pos = net->buff;
net->last_error[0]=0;