Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / databases / mysql56-client / patches / patch-sql_net__serv.cc
blob665cd0c97922a341f84a0d78294be1e19dcd3cf1
1 $NetBSD$
3 --- sql/net_serv.cc.orig 2013-04-28 13:54:10.000000000 +0000
4 +++ sql/net_serv.cc
5 @@ -316,7 +316,7 @@ my_bool my_net_write(NET *net, const uch
6 #ifndef DEBUG_DATA_PACKETS
7 DBUG_DUMP("packet_header", buff, NET_HEADER_SIZE);
8 #endif
9 - rc= test(net_write_buff(net,packet,len));
10 + rc= my_test(net_write_buff(net,packet,len));
11 MYSQL_NET_WRITE_DONE(rc);
12 return rc;
14 @@ -390,7 +390,7 @@ net_write_command(NET *net,uchar command
16 int3store(buff,length);
17 buff[3]= (uchar) net->pkt_nr++;
18 - rc= test(net_write_buff(net, buff, header_size) ||
19 + rc= my_test(net_write_buff(net, buff, header_size) ||
20 (head_len && net_write_buff(net, header, head_len)) ||
21 net_write_buff(net, packet, len) || net_flush(net));
22 MYSQL_NET_WRITE_DONE(rc);
23 @@ -525,7 +525,7 @@ net_write_raw_loop(NET *net, const uchar
24 #endif
27 - return test(count);
28 + return my_test(count);
32 @@ -700,7 +700,7 @@ static my_bool net_read_raw_loop(NET *ne
33 #endif
36 - return test(count);
37 + return my_test(count);