From bef823971eb13cedea9a6d26a3fd782514cfeb2f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 14 Nov 2013 14:24:23 +0100 Subject: [PATCH] Call fixed RecordCache::add MP-499 This ensures that proper comspec is used for cached records. --- src/filter_session_shared.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/filter_session_shared.cpp b/src/filter_session_shared.cpp index 00b05c9..0ee10fb 100644 --- a/src/filter_session_shared.cpp +++ b/src/filter_session_shared.cpp @@ -1128,8 +1128,7 @@ void yf::SessionShared::Frontend::present(mp::Package &package, found_set->m_record_cache.add( odr, b_resp->records->u.databaseOrSurDiagnostics, - *req->resultSetStartPoint, - *f_resp->numberOfRecordsReturned); + *req->resultSetStartPoint, p_req->recordComposition); } bc->release_backend(found_backend); } -- 1.7.10.4