06.08.2014 14:06, Alex Peshkoff wrote:
>> >     I would suggest for IStatus following methods:
>> >
>> >int check() - returns 0 if status is empty, 1 if has warnings and 2 if has 
>> >errors
>> >
>> >char* getText() - return fully interpreted text
>> >
>> >ICode* getCode(ISC_STATUS code) - return object encapsulating a definite 
>> >gdscode block or
>> >NULL if such code isn't inside
>> >
> Why not? Seems very reasonable.

   I would only ask to make possible following code to work without resource 
leaks:

char* FKName = status->getCode(isc_foreign_key)->params(0);

   Currently with IRefCounted such style is impossible.

-- 
   WBR, SD.

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to