MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / find

Method find

src/dsql/ExprNodes.cpp:261–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261bool LookupValueList::find(thread_db* tdbb, Request* request, const ValueExprNode* value, const dsc* desc) const
262{
263 const auto sortedList = init(tdbb, request);
264 fb_assert(sortedList && sortedList->hasData());
265
266 if (!sortedList->front().desc)
267 request->req_flags |= req_null;
268 else
269 request->req_flags &= ~req_null;
270
271 return sortedList->exist(SortValueItem(value, desc));
272}
273
274//--------------------
275

Callers 1

pass1Method · 0.45

Calls 5

SortValueItemClass · 0.85
initFunction · 0.70
hasDataMethod · 0.45
frontMethod · 0.45
existMethod · 0.45

Tested by

no test coverage detected