From: Warren Young Date: April 27 2011 3:50am Subject: Re: crash when using blob on empty table List-Archive: http://lists.mysql.com/plusplus/9339 Message-Id: MIME-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On Apr 26, 2011, at 5:45 PM, Dmitry Selin wrote: > <------><------><------> Row r =3D res.fetch_row();//** > <------><------><------> if(!r.empty()) //** Try testing r for truthiness instead. The bool conversion for Row tests = empty() and several other things. It may be that one of these other = things is critical here. > and i receive segmentation fault and no exception ... So run it in a debugger and pull up a stack trace when it crashes. > i think the problem is in UseQueryResult.=20 You'd know that for certain if you had a stack trace.=