EllisLab/CodeIgniter — pull request #1487 by IT-Can (2012-06-15 13:28:16+00:00)
Title: Database more logging when there is a Query error.

Database more logging when there is a Query error. The current situation is when you get a log of a query error, it is like this:

Query error: Unknown column 'user_id' in 'where clause'

It is easier to also know what the query is that failed...