Hello,
> PS: From current BK source, you can get chunks(or any offset of desired
> data from a particular column in the resultset) using
> 'mysql_fetch_column' (this API is not yet documented).
It will be a good solution for me. Will this function be exported/documented
in 4.1.1 build? When can I expect this version to be availlable?
Best regards,
Vladimir Zheleznyak
----- Original Message -----
From: "Venu" <venu@xxxxxxxxx>
To: "Vladimir Zheleznyak" <ikar@xxxxxxxxx>
Cc: "Sinisa Milivojevic" <sinisa@xxxxxxxxx>; <bugs@xxxxxxxxxxxxxxx>
Sent: Wednesday, July 30, 2003 11:49 AM
Subject: Re: mysql_bind_result does not support BLOB fields
> On Wed, 2003-07-30 at 00:53, Vladimir Zheleznyak wrote:
> > Hello,
>
> Hi !!
>
> Using binary protocol, from 4.1.0 and above (preferably 4.1.1) you can
> send blob/clob data in chunks to server using 'mysql_send_long_data()'.
>
> Though the counter part is not yet ready; and we are in the discussion
> process to support the counter part API in 5.0 (mysql_get_long_data()).
>
> Coming to your mysql_bind_result for blobs, I couldn't able to reproduce
> the behavior, as it worked for me. Can you please send your call
> sequence ?
>
> PS: From current BK source, you can get chunks(or any offset of desired
> data from a particular column in the resultset) using
> 'mysql_fetch_column' (this API is not yet documented).
>
> Thanks
>
> >
> > I have in view copying portions of data from row-buffer on client, but
not
> > receiving portions of data from server.
> >
> > One more variant is publishing client internal row buffer. This variant
is
> > more preferable considering performance.
> >
> > Best regards,
> > Vladimir Zheleznyak
> >
> > ----- Original Message -----
> > From: "Sinisa Milivojevic" <sinisa@xxxxxxxxx>
> > To: <ikar@xxxxxxxxx>
> > Cc: <bugs@xxxxxxxxxxxxxxx>
> > Sent: Tuesday, July 29, 2003 7:17 PM
> > Subject: Re: mysql_bind_result does not support BLOB fields
> >
> >
> > > Vladimir Zheleznyak writes:
> > > >
> > > > Hello,
> > > >
> > > > > What alternative solution would you suggest ??
> > > >
> > > > For example you can provide function to read BLOB-field value
> > part-by-part.
> > > > Something like this:
> > > >
> > > > unsigned int mysql_fetch_blob(MYSQL_STMT *stmt, unsigned int
field_num,
> > char
> > > > * Buf, unsigned int Count)
> > > >
> > > > Accordingly, for getting whole value it is necessary to call
> > > > mysql_fetch_blob for each field in cycle.
> > > >
> > > > Best regards,
> > > > Vladimir Zheleznyak
> > > >
> > >
> > > This is not yet doable.
> > >
> > > Partial sending / receiving will not be in the works until 5.*
> > >
> > > --
> > >
> > > Regards,
> > >
> > > --
> > > For technical support contracts, go to
https://order.mysql.com/?ref=msmi
> > > __ ___ ___ ____ __
> > > / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
<sinisa@xxxxxxxxx>
> > > / /|_/ / // /\ \/ /_/ / /__ MySQL AB
> > > /_/ /_/\_, /___/\___\_\___/ Fulltime Developer and Support
Coordinator
> > > <___/ www.mysql.com Larnaca, Cyprus
> > >
> > >
> > >
> --
> Venu, Software Developer
> Palo Alto, CA, USA
> MySQL Inc, http://www.mysql.com
>
>
>
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@xxxxxxxxxxx
|