Subject | Re: [ib-support] isc_dsql_exec_immed2() doesn't bring the value |
---|---|
Author | Claudio Valderrama C. |
Post date | 2001-10-16T03:58:25Z |
"C R Zamana" <zamana@...> wrote in message
news:3BBB3673.3020703@......
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.
C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing
news:3BBB3673.3020703@......
>Does your program follow the guidelines shown in API Guide around page 329?
> Hi!
>
> I'm playing now with the API of Firebird ( beta2 ) in
> Linux.
>
> 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.
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.
C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing