From: Warren Young Date: August 22 2008 3:21pm Subject: Re: A way to copy mysqlpp::StoreQueryResult into a std::map? List-Archive: http://lists.mysql.com/plusplus/7903 Message-Id: <48AED98B.7090306@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Alex wrote: > It says this: > > -- 'info' * FROM `command` WHERE `name` = It's probably a bug in MySQL++: the stream manipulator is overwriting the start of the query, instead of appending to it. In the meantime, change it to: mysqlpp::Query qry_help_cmd = mysql_conn.query(); qry_help_cmd << "SELECT * FROM `command` WHERE `name` = " << quote << command_tokens[1];