-
Notifications
You must be signed in to change notification settings - Fork 983
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@@ -224,16 +224,16 @@ | ||
/* see conc-71: we need to check the socket status first: | ||
if the socket is dead we set net->error, so net_flush | ||
will report an error */ | ||
- while (net_check_socket_status(net->vio->sd)) | ||
- { | ||
+// while (net_check_socket_status(net->vio->sd)) | ||
+// { | ||
/* vio_read returns size_t. so casting to long is required to check for -1 */ | ||
- if ((long)vio_read(net->vio, (gptr)net->buff, (size_t) net->max_packet) <= 0) | ||
+/* if ((long)vio_read(net->vio, (gptr)net->buff, (size_t) net->max_packet) <= 0) | ||
{ | ||
net->error= 2; | ||
DBUG_PRINT("info", ("socket disconnected")); | ||
DBUG_VOID_RETURN; | ||
} | ||
- } | ||
+ } */ | ||
net->compress_pkt_nr= net->pkt_nr=0; /* Ready for new command */ | ||
net->write_pos=net->buff; | ||
DBUG_VOID_RETURN; |