List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:November 28 2005 10:34pm
Subject:Re: BLOB in an SSQLS
View as plain text  
On Mon, Nov 28, 2005 at 03:18:22PM -0700, Warren Young wrote:
> Chris Frey wrote:
> >
> >Looks like a limitation in the conversion from Row.at() into ColData, which
> >takes only a char* in the constructor.
> >
> >I don't know if Warren has fixed this in his private/devel tree or not.
> >This sounds familiar to me and I don't know why. :-)
> 
> I don't recall anything about it.

Must be my imagination.


> I presume that you're wanting to add 
> an std::string overload.  There may be a reason it can't be done.  We've 
> run into char* vs. std::string vs. SQLString vs.... problems before.

Should be fixable.  Might not maintain ABI compatibility though.

The main problem is that data/size of raw field data is maintained right
up to the Row::at() conversion, where suddenly ColData has no notion of
anything but a char* in the constructor.

- Chris

Thread
BLOB in an SSQLSViktor STARK28 Nov
  • Re: BLOB in an SSQLSChris Frey28 Nov
    • Re: BLOB in an SSQLSChris Frey28 Nov
      • Re: BLOB in an SSQLSWarren Young28 Nov
        • Re: BLOB in an SSQLSChris Frey28 Nov
  • Re: BLOB in an SSQLSWarren Young28 Nov
    • Re: BLOB in an SSQLSChris Frey28 Nov
      • Re: BLOB in an SSQLSWarren Young28 Nov
      • Re: BLOB in an SSQLSViktor STARK29 Nov
    • Re: BLOB in an SSQLSViktor STARK29 Nov