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

Method linkId

src/common/db_alias.cpp:347–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345
346#ifdef HAVE_ID_BY_NAME
347 void linkId(DbName* db, const UCharBuffer& id)
348 {
349 fb_assert(!db->id);
350
351 Id* i = FB_NEW_POOL(getPool()) Id(getPool(), id, db);
352 ids.add(i);
353 idHash.add(i);
354 db->id = i;
355 }
356#endif
357
358 private:

Callers 1

notifyDatabaseNameFunction · 0.80

Calls 2

IdClass · 0.85
addMethod · 0.45

Tested by

no test coverage detected