<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -41,7 +41,7 @@ module QueryReviewer
     end
 
     def select_with_review(sql, *args)
-      sql.gsub!(/^SELECT /i, &quot;SELECT SQL_NO_CACHE &quot;)
+      sql.gsub!(/^SELECT /i, &quot;SELECT SQL_NO_CACHE &quot;) if QueryReviewer::CONFIGURATION[&quot;disable_sql_cache&quot;]
       @logger.silence { execute(&quot;SET PROFILING=1&quot;) } if QueryReviewer::CONFIGURATION[&quot;profiling&quot;]
       t1 = Time.now
       query_results = select_without_review(sql, *args)</diff>
      <filename>lib/query_reviewer/mysql_adapter_extensions.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,6 +6,7 @@ all:
     profiling: enabled
     production_data: true
     max_safe_key_length: 100
+    disable_sql_cache: true    
 
     warn_severity: 3
     critical_severity: 7</diff>
      <filename>query_reviewer_defaults.yml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5ab0dd729ce85298bf43a1f3b2ea2f2e6d602e09</id>
    </parent>
  </parents>
  <author>
    <name>David Stevenson</name>
    <email>david@flouri.sh</email>
  </author>
  <url>http://github.com/dsboulder/query_reviewer/commit/f6b53e0745f6fbd5251951b51cfd4e891a24c3b3</url>
  <id>f6b53e0745f6fbd5251951b51cfd4e891a24c3b3</id>
  <committed-date>2008-05-09T14:26:00-07:00</committed-date>
  <authored-date>2008-05-09T14:26:00-07:00</authored-date>
  <message>ds: ability to disable the MYSQL and RAILS query caches during profiling</message>
  <tree>3e62d5d3cc07a290e82c6eb83099804b64b71dd8</tree>
  <committer>
    <name>David Stevenson</name>
    <email>david@flouri.sh</email>
  </committer>
</commit>
