Skip to content

Commit

Permalink
Merge pull request Eonblast#19 from seth/no-debug
Browse files Browse the repository at this point in the history
Re-comment debug call to io:format in emysql_tcp.erl
  • Loading branch information
Eonblast committed Jan 19, 2012
2 parents 27a69ee + 3e53188 commit 99f1616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emysql_tcp.erl
Expand Up @@ -34,7 +34,7 @@
-define(ETS_SELECT(TableID), ets:select(TableID,[{{'_','$2'},[],['$2']}])).

send_and_recv_packet(Sock, Packet, SeqNum) ->
io:format("~nsend_and_receive_packet: SEND SeqNum: ~p, Binary: ~p~n", [SeqNum, <<(size(Packet)):24/little, SeqNum:8, Packet/binary>>]),
%-% io:format("~nsend_and_receive_packet: SEND SeqNum: ~p, Binary: ~p~n", [SeqNum, <<(size(Packet)):24/little, SeqNum:8, Packet/binary>>]),
%-% io:format("~p send_and_recv_packet: send~n", [self()]),
case gen_tcp:send(Sock, <<(size(Packet)):24/little, SeqNum:8, Packet/binary>>) of
ok ->
Expand Down

0 comments on commit 99f1616

Please sign in to comment.