anchor.diff:                   bind ->
                        finish(State, ok);
                    execute_batch ->
  -                     State
  +                     Batch =
  +                         case State#state.batch of
  +                             [] -> 
  +                                 {_, {_, B}} = queue:get(State#state.queue),
  +                                 B;
  +                             B -> B
  +                         end,
  +                     State#state{batch = Batch}
                end,
       {noreply, State2};
   
  
positive.code:                    _ ->
                         [Result | Results]
                 end,
      State#state{types = [],
                  columns = [],
                  rows = [],
                  results = Results2}.
  
  add_row(State = #state{queue = Q, rows = Rows}, Data) ->
      Rows2 = case queue:get(Q) of
  
negative.code:                 columns = [],
                  rows = [],
                  results = [],
                  batch = [],
                  sync_required,
                  txstatus}).
  
  