List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:November 28 2005 1:51am
Subject:Re: BLOB in an SSQLS
View as plain text  
On Mon, Nov 28, 2005 at 12:38:08AM +0100, Viktor STARK wrote:
> The problem is that - if I understood things correctly - I can only
> define a BLOB as a std::string. And when I execute my query and try to
> access the data in the BLOB, it stops after the first hex 00 (which is
> "normal" since it's a string). Problem is that even if I access the
> data() member of the string, I only get the bytes till the first 00.

Just to make sure, you've checked the size() of the string, right?

I have a bad feeling that somewhere the data is being assigned with
operator=(), but I don't know for sure.  This would take some time,
delving into custom.pl.

- 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