On 12/08/2014 17:01, Mark Rotteveel wrote:
> On 12-8-2014 21:24, Adriano dos Santos Fernandes wrote:
>> On 12/08/2014 16:17, Mark Rotteveel wrote:
>>> Am I correct to understand, that in the C API isc_dsql_prepare_m will
>>> allow me to specify the database information items to request together
>>> with the statement prepare, allowing me to circumvent the allocation and
>>> handling of XSQLDA, and instead gives we a response buffer that I can
>>> process the same as I already do in the wire protocol implementation?
>>>
>>>
>> Yes, you're correct.
> Thanks,
>
> Does something similar apply to the other _m methods?
>
>
Yes, and the _m methods are the ones we put in the new API.

Non-_m (who uses SQLDA) methods are wrappers for the _m methods.

So as you see, as you need to maintain methods dealing with buffers,
it's probably better to depend on the _m methods instead of SQLDA/SQLVAR
too.

You can look the details in why.cpp.


Adriano


------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to