anchor.diff:  	 execute/2,
   	 execute/3,
   	 execute/4,
  -	 unprepare/1,
  +	 unprepare/2,
   	 get_prepared/1,
   	 get_prepared/2,
   
  -	 transaction/2,
   	 transaction/3,
  +	 transaction/4,
   
   	 get_result_field_info/1,
   	 get_result_rows/1,
  
positive.code: get_result_reason(#mysql_result{error=Reason}) ->
      Reason.
  
  connect([ServerName, PoolId, Host, Port, User, Password, Database, Reconnect]) ->
  	connect(ServerName, PoolId, Host, Port, User, Password, Database, Reconnect).
  
  connect(ServerName, PoolId, Host, undefined, User, Password, Database, Reconnect) ->
      connect(ServerName, PoolId, Host, ?PORT, User, Password, Database, undefined,
  
negative.code: 		Res ->
  		    Res
  	    end;
  	Err->
  	    Err
      end.
  
  refresh_connect(ServerName, PoolId, Host, Port, User, Password, Database, Encoding, Reconnect,
         LinkConnection, OldState) ->
      Port1 = if Port == undefined -> ?PORT; true -> Port end,
      Fun = if LinkConnection ->
  		  fun mysql_conn:start_link/8;
  	     true ->
  		  fun mysql_conn:start/8
  	  end,
  
  %%    {ok, LogFun} = gen_server:call(ServerName, get_logfun),
  	LogFun = OldState#state.log_fun,
      case Fun(Host, Port1, User, Password, Database, LogFun,
  	     Encoding, PoolId) of
  	{ok, ConnPid} ->
  	    Conn = new_conn(ServerName, PoolId, ConnPid, Reconnect, Host, Port1, User,
  			    Password, Database, Encoding),
  		NewState = add_conn(Conn, OldState),
  		{ok, ConnPid, NewState};
  %% 	    case gen_server:call(
  %% 		   ServerName, {add_conn, Conn}) of
  %% 		ok ->
  %% 		    {ok, ConnPid};
  %% 		Res ->
  %% 		    Res
  %% 	    end;
  	Err->
  	    Err
      end.
  