1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

6 commits

Author SHA1 Message Date
Guo Xiang Tan
3baace687c Use teardown helper method.
Follow-Up to https://github.com/rails/rails/pull/14348

Ensure that SQLCounter.clear_log is called after each test.

This is a step to prevent side effects when running tests. This will allow us to run them in random order.
2014-03-14 20:48:59 -07:00
Daniel Schierbeck
1cc63e94db Don't try to EXPLAIN select_db calls 2013-05-10 16:21:59 +02:00
Xavier Noria
ef7a48df75 let EXPLAIN use a thread locals registry [John J. Wang & Xavier Noria]
Closes #10198.
2013-04-16 22:46:55 +02:00
kennyj
5bb056d268 Don't explain except normal CRUD sql. 2012-09-17 00:22:34 +09:00
Aaron Patterson
8edd6deae8 explain listener does not care about time, so use evented listener 2012-06-20 14:20:55 -07:00
Xavier Noria
1e5cdbddfc let automatic EXPLAIN ignore CACHE notifications 2012-02-03 16:10:39 -08:00