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

Method getSessionTimeZone

src/jrd/cvt.cpp:603–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601
602
603USHORT EngineCallbacks::getSessionTimeZone()
604{
605 thread_db* tdbb = JRD_get_thread_data();
606
607 if (tdbb && (tdbb->getType() == ThreadData::tddDBB) && tdbb->getAttachment())
608 return tdbb->getAttachment()->att_current_timezone;
609
610 return TimeZoneUtil::GMT_ZONE;
611}
612
613
614void EngineCallbacks::isVersion4(bool& v4)

Callers 1

evlDateDiffFunction · 0.45

Calls 3

JRD_get_thread_dataFunction · 0.85
getTypeMethod · 0.45
getAttachmentMethod · 0.45

Tested by

no test coverage detected