anchor.diff:  driver_debug_log(fatal, Message, Args) ->
       ?LOG_FATAL(Message, Args).
   
  -driver_debug(Level, Query, Parameters) ->
  -    driver_debug_log(Level, "SQL(equery): ~p ~p", [Query, Parameters]).
  -
  -driver_debug(Level, Query) ->
  -    driver_debug_log(Level, "SQL(squery): ~p", [Query]).
  +driver_debug(Level, Query, Parameters, Result) ->
  +    driver_debug_log(Level, "SQL(equery): ~p ~p = ~p",
  +                     [Query, Parameters, Result]).
  +
  +driver_debug(Level, Query, Result) ->
  +    driver_debug_log(Level, "SQL(squery): ~p = ~p",
  +                     [Query, Result]).
   
   % Rows in the wg format only use binary strings for data
   wg_to_common({ok, I}) ->
  
positive.code:                      timeout = Timeout,
                       interface = Interface,
                       debug_level = DebugLevel}) ->
      if
          DebugLevel =:= off ->
              ok;
          true ->
              driver_debug(DebugLevel, Query, Parameters)
      end,
      Native = ?MODULE_SEMIOCAST:extended_query(Query, Parameters, [],
                                                Timeout, Connection),
      if
          Interface =:= common ->
              semiocast_to_common(Native);
  
negative.code:                      timeout = Timeout,
                       interface = Interface,
                       debug_level = DebugLevel}) ->
      Native = ?MODULE_SEMIOCAST:simple_query(Query, [], Timeout, Connection),
      if
          DebugLevel =:= off ->
              ok;
          true ->
              driver_debug(DebugLevel, Query, Native)
      end,
      if
          Interface =:= common ->
              semiocast_to_common(Native);
  