anchor.diff:  
   -spec refresh([term()]) -> {ok,result(),handle()}|{error,_,handle()}.
   refresh(Args) ->
  -    loop(Args, [fun refresh_pre/2, fun send/2, fun recv_result/1]).
  +    loop(Args, [fun refresh_pre/2, fun send/2, fun recv/1]).
   
   -spec select_db([term()]) -> {ok,result(),handle()}|{error,_,handle()}.
   select_db(Args) ->
  -    loop(Args, [fun select_db_pre/2, fun send/2, fun recv_result/1]).
  +    loop(Args, [fun select_db_pre/2, fun send/2, fun recv/1]).
   
   
   -spec query([term()]) ->
  
positive.code: auth_alt(Args) ->
      loop(Args, [fun auth_alt_pre/3, fun send/2, fun auth_alt_post/1]).
  
  -spec version(handshake()) -> version().
  version(#handshake{version=V}) ->
      V.
  
  
  -spec ping([term()]) -> {ok,result(),handle()}|{error,_,handle()}.
  ping(Args) ->
      loop(Args, [fun ping_pre/1, fun send/2, fun recv_result/1]).
  
  -spec stat([term()]) -> {ok,binary(),handle()}|{error,_,handle()}.
  stat(Args) ->
  
negative.code: %% << sql/protocol.cc (< 5.7) : net_send_error_packet/4
  %%    sql/protocol_classic.cc : net_send_error_packet/7
  %% -----------------------------------------------------------------------------
  recv_reason(Handle) ->
      recv_reason(#reason{}, myer_handle:caps(Handle), Handle).
  
  recv_reason(#reason{errno=undefined}=R, Caps, Handle) ->
      {ok, U, H} = recv_unsigned(2, Handle),
      recv_reason(R#reason{errno = U}, Caps, H);
  recv_reason(#reason{reserved=undefined}=R, Caps, Handle)
    when ?IS_SET(Caps,?CLIENT_PROTOCOL_41) ->
      {ok, B, H} = recv_binary(1, Handle), % <<$#>>
      recv_reason(R#reason{reserved = B}, Caps, H);
  recv_reason(#reason{state=undefined}=R, Caps, Handle)
    when ?IS_SET(Caps,?CLIENT_PROTOCOL_41) ->
      {ok, B, H} = recv_binary(5, Handle),
      recv_reason(R#reason{state = B}, Caps, H);
  recv_reason(#reason{message=undefined}=R, Caps, Handle)->
      {ok, B, H} = recv_binary(remains(Handle), Handle),
      recv_reason(R#reason{message = B}, Caps, H);
  recv_reason(#reason{}=R, _Caps, Handle) ->
      {error, R, Handle}. % != ok
  