On 24-7-2014 15:38, Adriano dos Santos Fernandes wrote:
>> But what solution can we suggest? Move setCursorName back to IStatement
>> and blank it when cursor is closed?
>
> It's better than have setCursorName in IResultSet.

Neither are a good solution. setCursorName should be in IStatement, and 
the value should be kept after a cursor close. However changing the 
value of the cursor name should be allowed if there is no cursor 
currently open(!).

>>   Last is required to make IBO happy.
>> IMHO in old API this is required. But what about new one? What it worse
>> - change in behavior or ugly semantics?
>>
> Maybe a flag in the new API close method to use the old or the good
> behavior?

Please don't do that. Change it to be in line with the behavior 
described in SQL CLI.

Mark
-- 
Mark Rotteveel

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to