36 #include "sql_class.h"
37 #ifdef HAVE_REPLICATION
52 size_t Count __attribute__((unused)))
55 NET *net= &(current_thd)->net;
56 DBUG_ENTER(
"_my_b_net_read");
58 if (!info->end_of_file)
61 if (read_length == packet_error)
72 info->read_end = (info->read_pos = (uchar*) net->read_pos) + read_length;
73 Buffer[0] = info->read_pos[0];
80 info->pos_in_file+= read_length;
81 info->request_pos=info->read_pos;