anchor.diff:                              {Tag,R2}
                       end
                   end,
  -                ?Log("map KeyUpdateRaw ~p~n", [KeyUpdateRaw]),
  +                % ?Log("map KeyUpdateRaw ~p~n", [KeyUpdateRaw]),
                   lists:map(Wrap, KeyUpdateRaw)
           end
       catch
  
positive.code:     end,
      % ?Log("replace_sort result ~p~n", [Reply]),
      {reply, Reply, State};
  handle_call({fetch_close, _IsSec, _SKey}, _From, #state{statement=Stmt,fetchCtx=#fetchCtx{pid=Pid, monref=MonitorRef, status=Status}}=State) ->
      % imem_meta:log_to_db(debug,?MODULE,handle_call,[{from,_From},{status,Status}],"fetch_close"),
      case Status of
          undefined ->    ok;                             % close is ignored
          done ->         ok;                             % normal close after completed fetch
  
negative.code:         tailing ->      unsubscribe(Stmt);              % client stops tail mode
          aborted ->      ok                              % client acknowledges abort
      end,
      FetchCtx1 = FetchCtx0#fetchCtx{pid=undefined, monref=undefined, status=undefined},   
      {reply, ok, State#state{fetchCtx=FetchCtx1}}.      % client may restart the fetch now
  
  handle_cast({fetch_recs_async, _IsSec, _SKey, Sock, _Opts}, #state{fetchCtx=#fetchCtx{status=done}}=State) ->
      % ?Log("fetch_recs_async called in status done~n", []),
  