firebird
firebird copied to clipboard
Fix #8185 - SIGSEGV with WHERE CURRENT OF statement with statement cache turned on
BTW, where FLAG_ORPHAN is reset so reused statement won't throw "invalid handle" error?
BTW, where FLAG_ORPHAN is reset so reused statement won't throw "invalid handle" error?
Statement link to the cursor is established at prepare time. Once the cursor request is disposed, links are broken forever, until someone compiles another statement.