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

Method internalOpen

src/jrd/recsrc/ConditionalStream.cpp:55–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void ConditionalStream::internalOpen(thread_db* tdbb) const
56{
57 Request* const request = tdbb->getRequest();
58 Impure* const impure = request->getImpure<Impure>(m_impure);
59
60 impure->irsb_next = m_boolean->execute(tdbb, request) ? m_first : m_second;
61
62 impure->irsb_flags = irsb_open;
63 impure->irsb_next->open(tdbb);
64}
65
66void ConditionalStream::close(thread_db* tdbb) const
67{

Callers

nothing calls this directly

Calls 3

getRequestMethod · 0.45
executeMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected