List:MySQL++« Previous MessageNext Message »
From:Joseph Hesse Date:August 9 2011 4:39pm
Subject:Problem with exec()
View as plain text  
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

Thread
Problem with exec()Joseph Hesse9 Aug
  • Re: Problem with exec()Adrian Cornish9 Aug
  • Re: Problem with exec()Warren Young10 Aug