Subject Re: [Firebird-Architect] Re: C API Upgrade?
Author Alex Peshkov
On Thursday 31 January 2008 17:17, zedalaye wrote:
> > Can you provide a list of functions you suggest?
>
> At least, It would be very handy to have a function that returns the
> contents of a column (given a statement handle and a column index) in
> a char * buffer, that do all the complex stuff of converting data,
> blobs from firebird datatypes into "standard strings".

What should be done for non-character data? I can imagine use of sprintf() for
numerics, but please explain what to do with non-text BLOBs?

> For example, this would ease me to finish my firebird integration into
> SphinxSearch... because, for now, I'm blocked with memory management
> and blobs management.

Telling true, do not understand your problems here...
Have a look at examples/api, it will provide you not only ideas what to do,
but even ready blocks of code.

> The same code for MySQL and PostgreSQL in SphinxSearch is only ONE
> line long !!!!

Please provide full format of desired function call.