On 24-7-2014 19:35, Dimitry Sibiryakov wrote:
> 24.07.2014 18:59, Mark Rotteveel wrote:
>> What is your point? That problem already exists with how it currently
>> works. The cursor referenced should be checked at execute time, not at
>> prepare time.
>
>     In this case what's wrong with name bound to result set?

The standard and some APIs (eg JDBC) expect you to set the cursor name 
before executing the query, and disallow it once the cursor is open. As 
there is no result set before you execute, you can't set the cursor name 
on a result set.

Second as I already mentioned most of those APIs also expect that once 
set subsequent executes of the same statement handle will use the same 
cursor name.

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