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

Method decUseCount

src/jrd/Collation.cpp:1161–1176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1159}
1160
1161void Collation::decUseCount(thread_db* tdbb)
1162{
1163 fb_assert(useCount >= 0);
1164
1165 if (useCount > 0)
1166 {
1167 useCount--;
1168
1169 if (!useCount)
1170 {
1171 fb_assert(existenceLock);
1172 if (obsolete)
1173 LCK_re_post(tdbb, existenceLock);
1174 }
1175 }
1176}
1177
1178
1179} // namespace Jrd

Callers 2

releaseMethod · 0.80
TRA_release_transactionFunction · 0.80

Calls 1

LCK_re_postFunction · 0.85

Tested by

no test coverage detected