Hello to everyone,

I'm currently programming a client interface for a MySQL DB using MySQL++ api. When trying to save a Broker record to the database with the following code :

std::string QuerySQL = d_Query.preview();

if (QuerySQL.empty())
return true;

if (returnResult)
d_Res = d_Query.store();
else
d_Query.exec(QuerySQL);

Whether I use the store() or the exec() method I always get the same error message. Can someone tell me what is the right thing to do in order to not get this irritating error message.

Thanks in advance for any help.

Luc.


---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to