| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | August 22 2008 3:21pm |
| Subject: | Re: A way to copy mysqlpp::StoreQueryResult into a std::map? | ||
| View as plain text | |||
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];
