On 4/12/2011 8:37 PM, Adrian Cornish wrote:
>
> I was think along the lines to to check the field count of the result set -
> as suggested in the C API page - but Warrens solution is more elegant and
> better for mysqlpp.
Also, my solution won't crash before you get a chance to check the field
count. :)
Trace the code, Adrian. With Query::storein_sequence(), you don't get a
chance to check field counts between the use() call and where the rows
are consumed. It's all wrapped up inside MySQL++, so it's MySQL++'s
problem. Can't fob it off on the end user this time. :)