I am executing a MySQL query that has an error.
The query does not return anything, it creates a temporary table.
I know it has an error because I tried to execute it separately from a
command prompt.
I am using Fedora 14 Linux.
I'm just showing pseudocode.
I can create a small working example if that would help.
/////////////////////
query << "My Query";
if(!query.exec())
{
// error code
}
/////////////////////
My problem is that the error code never gets executed.
When the query is correct the query always gets executed.
Any help would be appreciated.
Thank you,
Joe