Position of `debugInfo` call
Position of `debugInfo` call
RagnarGrootKoerkamp
Posts: 48Questions: 14Answers: 1
When the _prepare
method (for the mysql driver) is called with an invalid query, an error will be thrown before the query is added to the debug log. It would be better to call debugInfo
at the start of this method, so that debugging also works for invalid queries.
This discussion has been closed.
Replies
I completely concur. I've committed this change and it also will be in 1.6.2. Many thanks for this!
Regards,
Allan