On 07/30/2016 02:51 PM, Dimitry Sibiryakov wrote: > Hello, All. > > Should IResultSet returned by IStatement::openCursor remain in working > state after > free() call? > I.e. is following code allowed? > > IResultSet* rs = stmt->openCursor(...); > stmt->free(); << raise an error here > rs->fetchNext(...); << or here - where you like better > > How about two results sets from one statement? What should do following > code? > > IResultSet* rs1 = stmt->openCursor(...); > IResultSet* rs2 = stmt->openCursor(...); << raise an error here > rs1->fetchNext(...); > rs2->fetchNext(...); >
------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel