propelorm/Propel2 — pull request #434 by gigablah (2013-08-22 03:54:33+00:00)
Title: Fix ProfilerStatementWrapper usage in ProfilerConnectionWrapper

250c4ab changed how `StatementWrapper` should be instantiated in `ConnectionWrapper`. The change was not carried over to `ProfilerConnectionWrapper`, so any project using that class would break.

For consistency I've changed `query()` to also return a `ProfilerStatementWrapper` object, and removed the unused arguments in `log()`.

On an unrelated note, I've added an ORDER BY to the query in `OnDemandFormatterTest::testFormatALotOfResults()`, otherwise the test fails if the order of results is not guaranteed: https://travis-ci.org/gigablah/Propel2/jobs/10479314