# File lib/seamless_database_pool/connection_statistics.rb, line 48
    def increment_connection_statistic(method)
      if @counting_pool_statistics
        yield
      else
        begin
          @counting_pool_statistics = true
          stat = connection_statistics[method] || 0
          @connection_statistics[method] = stat + 1
          yield
        ensure
          @counting_pool_statistics = false
        end
      end
    end