Subject | Strange status vector returned from isc_query_service |
---|---|
Author | Ryan Baldwin |
Post date | 2003-11-09T13:16:45Z |
Hello everyone,
I am unable to work out how too interpret the following status vector based
on the interbase/firebird documentation. The first long in the first cluster
is 1 so the second long should be an InterBase error message - but their is
no message for the value '1'.
1
1
335544366
1
336330774
0
0
0
0
...
I am getting this status vector returned from a call too isc_query_service
where the service is meant to be backing up a database. I get this status
vector when backing up a database programmatically - where GBAK fails with
the following message.
gbak: ERROR: segment buffer length shorter than expected
gbak: ERROR: gds_$get_segment failed
gbak: Exiting before completion due to errors
The same code when backing up a database where gbak succeeds will too
succeed and saves the output from the multiple calls too isc_query_service
too a file and all is fine.
Is their more too parsing the status vector when making calls too the
services API ? I cant find anything in the documentation too explain this.
Thanks
Ryan
I am unable to work out how too interpret the following status vector based
on the interbase/firebird documentation. The first long in the first cluster
is 1 so the second long should be an InterBase error message - but their is
no message for the value '1'.
1
1
335544366
1
336330774
0
0
0
0
...
I am getting this status vector returned from a call too isc_query_service
where the service is meant to be backing up a database. I get this status
vector when backing up a database programmatically - where GBAK fails with
the following message.
gbak: ERROR: segment buffer length shorter than expected
gbak: ERROR: gds_$get_segment failed
gbak: Exiting before completion due to errors
The same code when backing up a database where gbak succeeds will too
succeed and saves the output from the multiple calls too isc_query_service
too a file and all is fine.
Is their more too parsing the status vector when making calls too the
services API ? I cant find anything in the documentation too explain this.
Thanks
Ryan