10 messages in com.mysql.lists.plusplusRe: BadConverion::what()=Tried to con...
FromSent OnAttachments
Drew Vogel11 Dec 2005 10:15 
Drew Vogel11 Dec 2005 10:42 
Warren Young12 Dec 2005 06:06.patch
Drew Vogel12 Dec 2005 06:33 
Warren Young12 Dec 2005 07:48 
Drew Vogel12 Dec 2005 10:37 
Warren Young12 Dec 2005 13:51 
Drew Vogel12 Dec 2005 14:01 
Drew Vogel15 Dec 2005 18:21 
Chris Frey19 Dec 2005 12:09 
Subject:Re: BadConverion::what()=Tried to convert "0.00P\uffffI" to a "d
From:Warren Young (mysq@etr-usa.com)
Date:12/12/2005 06:06:01 AM
List:com.mysql.lists.plusplus
Attachments:

Drew Vogel wrote:

On line 4 below, a BadConversion exception is thrown, with the what() message of:

Tried to convert "0.00P\uffffI" to a "d

I don't know why the message is truncated. Try the attached patch, to see if the symptom changes. It just changes the way this message is constructed.

As for why the error occurs, if the data truly is accurately represented in that error, then there's no wonder it runs into a bad conversion. That most definitely is not a valid double. What do you get when you use the basic 'mysql' command-line client to dump the data from this row? What if you try casting that fourth field to a std::string instead?