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

Method set

src/jrd/Mapping.cpp:582–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580 { }
581
582 void set(What find, const AuthReader::Info& val)
583 {
584 fb_assert(find != FND_NOTHING);
585
586 if (val.plugin.hasData())
587 find = FND_PLUG;
588 if (find == found && value != val.name)
589 Arg::Gds(isc_map_undefined).raise();
590
591 if (find > found)
592 {
593 found = find;
594 value = val.name;
595 if (val.plugin.hasData())
596 method = val.plugin;
597 else
598 method = "Mapped from " + val.origPlug;
599 }
600 }
601
602 NoCaseString value;
603 NoCaseString method;

Callers 1

mapUserMethod · 0.45

Calls 3

GdsClass · 0.85
hasDataMethod · 0.45
raiseMethod · 0.45

Tested by

no test coverage detected