From: Alex Date: August 22 2008 2:37pm Subject: Re: A way to copy mysqlpp::StoreQueryResult into a std::map? List-Archive: http://lists.mysql.com/plusplus/7902 Message-Id: <323104f80808220737u64ae5907w8e8ceeb107cd7c86@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -- 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 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 > > 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: > > slog.clog(qry_help_cmd.str()); > > 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=xtzgzorex@stripped > -- GamerzWoW - http://www.gamerzwow.net