anchor.diff:      loop([X,P], [fun stmt_next_result_pre/2, fun recv_status/2, fun stmt_next_result_post/3]).
   
   
  -%% == protected ==
  +%% == private ==
   
   -spec binary_to_float(binary(),non_neg_integer()) -> float().
   binary_to_float(Binary, _Decimals) ->
  
positive.code:             {error, Reason, P}
      end.
  
  %% -- priate: loop,refresh --
  
  refresh_pre(Options, #protocol{}=P) ->
      {ok, [<<?COM_REFRESH,Options>>,reset(P)]}.
  
  %% -- priate: loop,select_db --
  
  select_db_pre(Database, #protocol{}=P) ->
      {ok, [<<?COM_INIT_DB,Database/binary>>,reset(P)]}.
  
  %% -- priate: loop,stat --
  
  stat_pre(#protocol{}=P) ->
      {ok, [<<?COM_STATISTICS>>,reset(P)]}.
  
negative.code: next_result_pre(#protocol{}=P) ->
      {ok, [zreset(P)]}.
  
  %% -- internal: loop,ping --
  
  ping_pre(#protocol{}=P) ->
      {ok, [<<?COM_PING>>,reset(P)]}.
  