diff options
author | bell@sanja.is.com.ua <> | 2005-01-20 10:41:37 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2005-01-20 10:41:37 +0200 |
commit | e9ad508542fe1c5416739da349d9404c1d8896b8 (patch) | |
tree | 688e14daabde23993878846e8b67af1f4d180abf /sql/net_serv.cc | |
parent | a13efc7d65eecdf79cbbf7d6782fee7ab47814d9 (diff) | |
download | mariadb-git-e9ad508542fe1c5416739da349d9404c1d8896b8.tar.gz |
Fixed problem of sending ERROR to client after OK or EOF (BUG#6804)
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r-- | sql/net_serv.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc index bd3bbe3e1a9..2de5853599f 100644 --- a/sql/net_serv.cc +++ b/sql/net_serv.cc @@ -121,8 +121,7 @@ my_bool my_net_init(NET *net, Vio* vio) DBUG_RETURN(1); net->buff_end=net->buff+net->max_packet; net->vio = vio; - net->no_send_ok = 0; - net->no_send_eof = 0; + net->no_send_ok= net->no_send_eof= net->no_send_error= 0; net->error=0; net->return_errno=0; net->return_status=0; net->pkt_nr=net->compress_pkt_nr=0; net->write_pos=net->read_pos = net->buff; |