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

Method isVersion4

src/jrd/cvt.cpp:614–622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612
613
614void EngineCallbacks::isVersion4(bool& v4)
615{
616 thread_db* tdbb = JRD_get_thread_data();
617
618 if (tdbb && (tdbb->getType() == ThreadData::tddDBB) && tdbb->getRequest())
619 {
620 v4 = (tdbb->getRequest()->getStatement()->blrVersion == 4);
621 }
622}

Callers

nothing calls this directly

Calls 4

JRD_get_thread_dataFunction · 0.85
getTypeMethod · 0.45
getRequestMethod · 0.45
getStatementMethod · 0.45

Tested by

no test coverage detected