anchor.diff:      bind_vars/2,
       exec_stmt/1,
       fetch_rows/2,
  -    close/1,
  -    inject_rowid/1
  +    close/1
   ]).
   
   %% gen_server callbacks
  
positive.code: %% Copyright 2012 K2Informatics GmbH, Root Laengenbold, Switzerland
  %%
  %% Licensed under the Apache License, Version 2.0 (the "License");
  %% you may not use this file except in compliance with the License.
  
negative.code:     end.
  
  prep_sql(Sql, {?MODULE, PortPid, SessionId}) when is_binary(Sql) ->
      R = gen_server:call(PortPid, {port_call, [?PREP_STMT, SessionId, Sql]}, ?PORT_TIMEOUT),
      timer:sleep(100), % Port driver breaks on faster pipe access
      case R of
          {stmt,StmtId} -> {?MODULE, statement, PortPid, StmtId};
  