Display SQL query?

Does anyone know how to display the SQL queries that Omeka generates in their entirety?

My search form is broken. I have upgraded to Omeka 1.0 (from beta) to no avail. The error/SQL log does not list the queries in their entirety or the file that is causing the problem.

Any help would be greatly, greatly appreciated.


By the way, we are running mysql 5.0.45 ...