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

Method add

src/jrd/Mapping.cpp:109–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108
109 void add(const AuthReader::Info& info)
110 {
111 ClumpletWriter to(WideUnTagged, MAX_DPB_SIZE);
112
113 add(to, AuthReader::AUTH_TYPE, info.type);
114 add(to, AuthReader::AUTH_NAME, info.name);
115 add(to, AuthReader::AUTH_PLUGIN, info.plugin);
116 add(to, AuthReader::AUTH_SECURE_DB, info.secDb);
117 add(to, AuthReader::AUTH_ORIG_PLUG, info.origPlug);
118
119 if (to.getBufferLength())
120 {
121 moveNext();
122 insertBytes(sequence++, to.getBuffer(), to.getBufferLength());
123 }
124 }
125
126private:
127 void add(ClumpletWriter& to, const unsigned char tag, const NoCaseString& str)

Callers 2

searchMethod · 0.45
mapUserMethod · 0.45

Calls 7

addFunction · 0.50
getBufferLengthMethod · 0.45
getBufferMethod · 0.45
hasDataMethod · 0.45
insertStringMethod · 0.45
c_strMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected