    # File lib/phusion_passenger/rails3_extensions/init.rb, line 92
            def sql(event)
                    log = Thread.current[PASSENGER_ANALYTICS_WEB_LOG]
                    if log
                            name = event.payload[:name]
                            sql = event.payload[:sql]
                            digest = Digest::MD5.hexdigest("#{name}\0#{sql}\0#{rand}")
                            log.measured_time_points("DB BENCHMARK: #{digest}",
                                    event.time, event.end, "#{name}\n#{sql}")
                    end
            end