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() == 2) && !template_defaults.processing_) {
This reverts part of the previous patch without apparently reverting us to the broken
pre-3.1.0 behavior.