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

Function bug_lck

src/jrd/lck.cpp:874–892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

872
873
874static void bug_lck(const TEXT* string)
875{
876/**************************************
877 *
878 * b u g _ l c k
879 *
880 **************************************
881 *
882 * Functional description
883 * Log the bug message, initialize the status vector
884 * and get out.
885 *
886 **************************************/
887 TEXT s[128];
888
889 sprintf(s, "Fatal lock interface error: %.96s", string);
890 gds__log(s);
891 ERR_post(Arg::Gds(isc_db_corrupt) << Arg::Str(string));
892}
893
894
895static bool compatible(const Lock* lock1, const Lock* lock2, USHORT level2)

Callers 5

LCK_finiFunction · 0.85
get_owner_handleFunction · 0.85
get_owner_typeFunction · 0.85
LCK_initFunction · 0.85
internal_dequeueFunction · 0.85

Calls 3

GdsClass · 0.85
StrClass · 0.85
ERR_postFunction · 0.70

Tested by

no test coverage detected