Is there a difference to https://github.com/senny/rails/blob/5523b4aaea72c1bb0dc15223509c58956dd882a2/activerecord/test/cases/explain_test.rb#L22-L32 besides the access through `Thread`?