On Mon, Jan 07, 2002 at 08:15:23AM -0500, Philip Mak wrote: > I've never been able to get ShowErrorStatement to work correctly. It > seems to always display a previous query that I executed, rather than > the one that caused the actual error. For example: > > DBD::mysql::db do failed: Unknown column 'companyId' in 'where clause' [for >statement ``SELECT * FROM companies WHERE id = '4''']) > > You can tell that the error message doesn't match with the statement > because there is no companyId in the statement. > > Does anyone know how to fix this?
Easy. Send me a self-contained test case that demonstrates the poroblem in as small amount of code as possible, and using the latest DBI. Then it'll magically get fixed, or at least it'll seem like it :) Tim.
