opencart/opencart — pull request #366 by jimymodi (2013-01-23 07:38:57+00:00)
Title: Display actual file and line number where the sql error is occured.

Make a change to display actual file and line number where the sql error is occured.
When there is a sql error it will also display model file name where the error is occured.