On 24-7-2014 18:49, Dimitry Sibiryakov wrote: > 24.07.2014 18:39, Mark Rotteveel wrote: >> A cursor name should remain set for the lifetime of the statement, >> unless it is explicitly set to a different value. > > Ok. If there is two statements: one with cursor name and other using > WHERE CURRENT OF, > what should happen is the first statement is closed, unprepared and then > prepared with > different SQL text - completely different select from different table?
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. 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