On 12-7-2014 20:49, Adriano dos Santos Fernandes wrote:
> Em 12-07-2014 15:40, Mark Rotteveel escreveu:
>> On 12-7-2014 20:36, Dmitry Yemanov wrote:
>>> 12.07.2014 21:22, Mark Rotteveel wrote:
>>>
>>>> Was this functionality always broken, or has this been forgotten in the
>>>> implementation of Firebird 3?
>>>
>>> It was deprecated and not supported by the new API.
>>
>> Too bad, it would have been nice to have this ;)
>>
>
> It was something to create blobs with the DSQL API. Not something you're
> guessing, AFAIR.
I don't think so, the Firebird 2.5 sources (remote\interface.cpp) has this:
ISC_STATUS GDS_DSQL_INSERT(ISC_STATUS* user_status,
Rsr** stmt_handle,
USHORT blr_length,
const UCHAR* blr,
USHORT msg_type,
USHORT /*msg_length*/,
UCHAR* msg)
{
/**************************************
*
* d s q l _ i n s e r t
*
**************************************
*
* Functional description
* Insert next record into a dynamic SQL cursor.
*
**************************************/
The description is pretty clear. And looking at the signature of the
method, it is almost identical to an execute:
ISC_STATUS GDS_DSQL_EXECUTE(ISC_STATUS* user_status,
Rtr** rtr_handle,
Rsr** stmt_handle,
USHORT blr_length,
const UCHAR* blr,
USHORT msg_type,
USHORT msg_length,
UCHAR* msg)
The implementation of the method itself is almost a duplicate of
GDS_DSQL_EXECUTE2.
Mark
--
Mark Rotteveel
------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel