From: Warren Young Date: April 13 2011 5:43am Subject: Re: Crash in DBDriver::fetch_row on a heavily loaded system... List-Archive: http://lists.mysql.com/plusplus/9328 Message-Id: <4DA537EB.2020802@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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. :)