anchor.diff:      update_cursor_exec(SKey, Pid, IsSec, Lock).
   
   update_cursor_exec(SKey, Pid, IsSec, Lock) when Lock==none;Lock==optimistic ->
  -    Result = gen_server:call(Pid, {update_cursor_execute, IsSec, SKey, Lock}),
  +    Result = gen_server:call(Pid, {update_cursor_execute, IsSec, SKey, Lock},?CALL_TIMEOUT(update_cursor_execute)),
       % ?Debug("update_cursor_execute ~p~n", [Result]),
       case Result of
           KeyUpd when is_list(KeyUpd) ->  KeyUpd;
  
positive.code: 
  -include("imem_seco.hrl").
  -include("imem_sql.hrl").
  
  %% gen_server
  -behaviour(gen_server).
  
negative.code: update_cursor_prepare(SKey, #stmtResult{stmtRef=Pid}, IsSec, ChangeList) ->
      update_cursor_prepare(SKey, Pid, IsSec, ChangeList);
  update_cursor_prepare(SKey, Pid, IsSec, ChangeList) when is_pid(Pid) ->
      case gen_server:call(Pid, {update_cursor_prepare, IsSec, SKey, ChangeList},?CALL_TIMEOUT(update_cursor_prepare)) of
          ok ->   ok;
          Error-> throw(Error)
      end.
  