* Optimised use of $e->getTraceAsString() so it gets called far less often
- using this tracestring is one reliable technique to discover the originating function for bad SQL
- I optimised this by first checking for the SQL pattern at the start of the SQL string