From: Warren Young Date: January 28 2009 2:27am Subject: Re: storein with parameters List-Archive: http://lists.mysql.com/plusplus/8330 Message-Id: <497FC2AD.6070104@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Jim Wallace wrote: > If I have just one parameter, > it compiles ok Are you sure it's doing what you want, or just that it compiles? > if more than one, it files to compile. Yes, a function got removed in 3.0 for reasons that escape me. Try this patch and let me know whether it fixes the problem, and doesn't cause any other problems: Index: lib/query.h =================================================================== --- lib/query.h (revision 2432) +++ lib/query.h (working copy) @@ -924,6 +924,12 @@ storein_set(con, s); } + template + void storein(T& con, SQLQueryParms& p) + { + storein(con, str(p)); + } + /// \brief Replace an existing row's data with new data. /// /// This function builds an UPDATE SQL query using the new row data That last line got wrapped by my mailer, so fix it if you patch(1) your copy, instead of cut and pasting it.