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

Function copyField

src/yvalve/alt.cpp:828–845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826
827template <typename T1, typename T2>
828void copyField(T1& f, T2 from, short flag)
829{
830 Firebird::LocalStatus s;
831 Firebird::CheckStatusWrapper statusWrapper(&s);
832
833 if (flag && from)
834 {
835 f.set(&statusWrapper, from);
836 check(&statusWrapper);
837 f.setEntered(&statusWrapper, 1);
838 check(&statusWrapper);
839 }
840 else
841 {
842 f.setEntered(&statusWrapper, 0);
843 check(&statusWrapper);
844 }
845}
846
847} // anonymous namespace
848

Callers 2

API_ROUTINE isc_add_userFunction · 0.85

Calls 3

checkFunction · 0.50
setMethod · 0.45
setEnteredMethod · 0.45

Tested by

no test coverage detected