Subject Re: [ib-support] isc_dsql_exec_immed2() doesn't bring the value
Author C R Zamana
Claudio Valderrama C. wrote:
> "C R Zamana" <zamana@...> wrote in message
> news:3BBB3673.3020703@......
>>I'm playing now with the API of Firebird ( beta2 ) in
>>The question is that the function describe in the
>>subject does not bring the result of a "select count(*) from ..."
>>in the allocated XSLQDA structure.
> Does your program follow the guidelines shown in API Guide around
> page 329? Do you set properly the XSQLDA structures? There's a
> member where you tell the engine the length of the struct
> (number of repetitions, to be more accurate). Do you test the
> status vector? I'm not sure if the engine considers that a
> singleton select. If you can modify your example to work
> against employee.gdb it would be easier to test to see what
> happens inside the engine.

Paul Reeves give me the solution and the missing
point was filling some members with the appropriate values.
The API Guide states that the referenced function "prepares
and execute", but not that it "describes".

Thank you.
Best regards.

zamana@... | "Emacs is a nice OS - but it lacks a good text
zamana@... | editor. That's why I'm using Vim. Anonymous |