def execute(*bind_values)
      t = Time.now
      @executor.execute(*bind_values).tap do |rs|
        rs.info[:execution_time] ||= Time.now - t
        if logger.debug?
          logger.debug(
            "(%.6f) %s %s" % [
              rs.execution_time,
              command,
              ("<Bind: #{bind_values.inspect}>" unless bind_values.empty?)
            ]
          )
        end
      end
    rescue RDO::Exception => e
      logger.fatal(e.message) if logger.fatal?
      raise
    end
def execute(*bind_values)
      t = Time.now
      @executor.execute(*bind_values).tap do |rs|
        rs.info[:execution_time] ||= Time.now - t
        if logger.debug?
          logger.debug(
            "(%.6f) %s %s" % [
              rs.execution_time,
              command,
              ("<Bind: #{bind_values.inspect}>" unless bind_values.empty?)
            ]
          )
        end
      end
    rescue RDO::Exception => e
      logger.fatal(e.message) if logger.fatal?
      raise
    end
Initialize a new Statement wrapping the given StatementExecutor.

 @param [Object] executor
   any object that responds to #execute, #connection and #command
 Execute the command using the given bind values.

 @param [Object...] args
   bind parameters to use in place of '?'