-- Have you tried adding the quotes around the command name by hand?
Yes, and that didn't work:
-- terminate called after throwing an instance of 'mysqlpp::BadConversion'
-- what(): Bad type conversion: "info" incompatible with "i" type
I'd guess because of this: std::vector<string> command_tokens;
-- Have you tried other manipulators?
No, as far as I've understood, quote is the best one to use and the
one fitting the best in this case, no?
-- What does it say?
It says this:
-- 'info' * FROM `command` WHERE `name` =
Which is just what I expected as that's what's the store() call throws anyway.
2008/8/22 Warren Young <mysqlpp@stripped>
> Alex wrote:
>> terminate called after throwing an instance of 'mysqlpp::BadQuery'
>> what(): You have an error in your SQL syntax; check the manual that
>> corresponds to your MySQL server version for the right syntax to use near
>> ''info' * from `command` where `name` =' at line 1
> Put this right before the store() call:
> What does it say?
> Have you tried other manipulators?
> Have you tried adding the quotes around the command name by hand?
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe: http://lists.mysql.com/plusplus?unsub=1
GamerzWoW - http://www.gamerzwow.net