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

Method insertIfp

src/isql/InputDevices.cpp:200–208  ·  view source on GitHub ↗

Shortcut for inserting the currently input file in the indev chain.

Source from the content-addressed store, hash-verified

198
199// Shortcut for inserting the currently input file in the indev chain.
200bool InputDevices::insertIfp()
201{
202 if (insert(NULL, "", ""))
203 {
204 m_head->copy_from(&m_ifp);
205 return true;
206 }
207 return false;
208}
209
210// Remove the top (last inserted) indev in the chain.
211bool InputDevices::remove()

Callers

nothing calls this directly

Calls 2

copy_fromMethod · 0.80
insertFunction · 0.50

Tested by

no test coverage detected