Front page | perl.dbi.users |
Postings from January 2002
ShowErrorStatement bug
Thread Next
From:
Philip Mak
Date:
January 7, 2002 05:57
Subject:
ShowErrorStatement bug
Message ID:
20020107131523.GO12185@trapezoid.interserver.net
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?
Thread Next
-
ShowErrorStatement bug
by Philip Mak