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

Method prepareStatement

src/jrd/Attachment.cpp:327–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327Jrd::PreparedStatement* Jrd::Attachment::prepareStatement(thread_db* tdbb, jrd_tra* transaction,
328 const string& text, Firebird::MemoryPool* pool)
329{
330 pool = pool ? pool : tdbb->getDefaultPool();
331 return FB_NEW_POOL(*pool) PreparedStatement(tdbb, *pool, this, transaction, text, true);
332}
333
334
335Jrd::PreparedStatement* Jrd::Attachment::prepareStatement(thread_db* tdbb, jrd_tra* transaction,

Callers 2

validateAccessFunction · 0.80
setInitialOptionsMethod · 0.80

Calls 2

PreparedStatementClass · 0.70
getDefaultPoolMethod · 0.45

Tested by

no test coverage detected