From: Warren Young Date: August 24 2010 10:16am Subject: Re: mysql++ 3.1.0 upgrade issues List-Archive: http://lists.mysql.com/plusplus/9030 Message-Id: <778E1AD9-B5B9-4F72-B365-91965B75A4BB@etr-usa.com> MIME-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On Aug 23, 2010, at 4:57 PM, Jason Toffaletti wrote: > I put together some code that reproduces the problem Thanks, that was enough to make the problem clear. The bug was introduced as part of a change to allow repeating template = query parameters (e.g. "%0q ...stuff... %0q") which worked fine for = every case but Query::storein() with template query parameters, which we = currently have no tests for. You can either check the current svn version out, or go into your = lib/query.cpp file and make six changes of this form: - if (!parse_elems_.empty() && !template_defaults.processing_) { + if ((parse_elems_.size() =3D=3D 2) && = !template_defaults.processing_) { This reverts part of the previous patch without apparently reverting us = to the broken pre-3.1.0 behavior.=