8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00

Fixed CORE-2117 - Incorrect ROW_COUNT value with indexed retrieval and subquery

This commit is contained in:
asfernandes 2008-10-11 15:46:43 +00:00
parent a3c30a6aef
commit 0793554269

View File

@ -2026,8 +2026,8 @@ jrd_nod* EXE_looper(thread_db* tdbb, jrd_req* request, jrd_nod* in_node)
case nod_for:
switch (request->req_operation) {
case jrd_req::req_evaluate:
request->req_records_affected.clear();
RSE_open(tdbb, (RecordSource*) node->nod_arg[e_for_rsb]);
request->req_records_affected.clear();
case jrd_req::req_return:
if (node->nod_arg[e_for_stall]) {
node = node->nod_arg[e_for_stall];