Re: [Firebird-devel] isc_dsql_execute_immediate and FB3

2016-05-18 Thread Dimitry Sibiryakov
18.05.2016 13:22, Alex Peshkoff wrote: > Looks like text: > > -SQLDA missing or other SQLDA error > -Wrong number of columns or parameters (expected 1, got 0) > > will be better. Right error to be isc_dsql_no_output_sqlda. One must find out why isc_dsql_wrong_param_num is produced

Re: [Firebird-devel] isc_dsql_execute_immediate and FB3

2016-05-18 Thread Alex Peshkoff
On 05/18/2016 01:25 PM, Paul Reeves wrote: > > > The behaviour of this function seems to have changed slightly. > > In FB 2.5 this string: > >SELECT * FROM DEPT_BUDGET(0) > > will execute in isc_dsql_execute_immediate without error. > > > If the server is FB 3.0 and the client is Fb 2.5 this

Re: [Firebird-devel] isc_dsql_execute_immediate and FB3

2016-05-18 Thread Dimitry Sibiryakov
18.05.2016 12:25, Paul Reeves wrote: > Obviously select statements are not meant to work with > isc_dsql_execute_immediate. isc_dsql_execute_immediate() is not supposed to work with any statement that returns any data. isql_dsql_exec_immed2() must be used for that. The error is strange

[Firebird-devel] isc_dsql_execute_immediate and FB3

2016-05-18 Thread Paul Reeves
The behaviour of this function seems to have changed slightly. In FB 2.5 this string: SELECT * FROM DEPT_BUDGET(0) will execute in isc_dsql_execute_immediate without error. If the server is FB 3.0 and the client is Fb 2.5 this error is thrown: Dynamic SQL Error -SQLDA missing or