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

Method createBatch

src/jrd/jrd.cpp:5250–5262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5248
5249
5250IBatch* JAttachment::createBatch(CheckStatusWrapper* status, ITransaction* transaction,
5251 unsigned stmtLength, const char* sqlStmt, unsigned dialect,
5252 IMessageMetadata* inMetadata, unsigned parLength, const unsigned char* par)
5253{
5254 RefPtr<IStatement> tmpStatement(REF_NO_INCR, prepare(status, transaction, stmtLength, sqlStmt,
5255 dialect, 0));
5256 if (status->getState() & IStatus::STATE_ERRORS)
5257 {
5258 return NULL;
5259 }
5260
5261 return tmpStatement->createBatch(status, inMetadata, parLength, par);
5262}
5263
5264
5265IReplicator* JAttachment::createReplicator(CheckStatusWrapper* user_status)

Callers 3

flushMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 12

check_databaseFunction · 0.85
transliterateExceptionFunction · 0.85
trace_warningFunction · 0.85
successful_completionFunction · 0.85
assignRefNoIncrMethod · 0.80
JBatchClass · 0.70
getStateMethod · 0.45
getInputMetadataMethod · 0.45
openBatchMethod · 0.45
addRefMethod · 0.45
setInterfacePtrMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected