anchor.diff:      {reply, Reply, State#state{updPlan=UpdatePlan1}};  
   handle_call({update_cursor_execute, IsSec, _SKey, Lock}, _From, #state{seco=SKey, fetchCtx=FetchCtx0, updPlan=UpdatePlan, statement=Stmt}=State) ->
       #fetchCtx{metarec=MetaRec}=FetchCtx0,
  -    ?Log("UpdateMetaRec ~p~n", [MetaRec]),
  +    % ?Log("UpdateMetaRec ~p~n", [MetaRec]),
       Reply = try 
           case FetchCtx0#fetchCtx.monref of
               undefined ->    ok;
  
positive.code:                             {Tag,R2}
                      end
                  end,
                  ?Log("map KeyUpdateRaw ~p~n", [KeyUpdateRaw]),
                  lists:map(Wrap, KeyUpdateRaw)
          end
      catch
  
negative.code:     end,
      % ?Log("replace_sort result ~p~n", [Reply]),
      {reply, Reply, State};
  handle_call({fetch_close, _IsSec, _SKey}, _From, #state{statement=Stmt,fetchCtx=FetchCtx0}=State) ->
      % imem_meta:log_to_db(debug,?MODULE,handle_call,[{from,_From},{status,Status}],"fetch_close"),
      #fetchCtx{pid=Pid, monref=MonitorRef, status=Status} = FetchCtx0,
      case Status of
          undefined ->    ok;                             % close is ignored
          done ->         ok;                             % normal close after completed fetch
  