> The bug is that preview is inserting a null byte into the query string
> on every call. Two calls, two null bytes; three calls, three null
> bytes. One ever responded to by bug report. Changes in the new
> release were made to allow null bytes in query strings, so possibly
> the old code masked the error and the new code reveals it.
Hm... What for null byte is inserting? IMHO result of function
std::string.c_str() everywhere is a zero terminated string.
I comment line
*this << std::ends;
in Query::str(...), and it's working. At least for me (Linux, gcc 4.1.1) and
at least for simple queries.