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

Function get_new_dpb

src/remote/client/interface.cpp:8675–8695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8673
8674
8675static bool get_new_dpb(ClumpletWriter& dpb, const ParametersSet& par, bool loopback)
8676{
8677/**************************************
8678 *
8679 * g e t _ n e w _ d p b
8680 *
8681 **************************************
8682 *
8683 * Functional description
8684 * Fetch user_string out of dpb.
8685 * Analyze and prepare dpb for attachment to remote server.
8686 *
8687 **************************************/
8688 bool redirection = Config::getRedirection();
8689 if (((loopback || !redirection) && dpb.find(par.address_path)) || dpb.find(par.map_attach))
8690 {
8691 status_exception::raise(Arg::Gds(isc_unavailable));
8692 }
8693
8694 return dpb.find(par.user_name);
8695}
8696
8697
8698static void info(CheckStatusWrapper* status,

Callers 3

attachMethod · 0.85
createMethod · 0.85
attachSvcMethod · 0.85

Calls 3

raiseFunction · 0.85
GdsClass · 0.85
findMethod · 0.45

Tested by

no test coverage detected