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

Method defineStatement

src/plugins/profiler/Profiler.cpp:1431–1445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1429}
1430
1431void Session::defineStatement(ThrowStatusExceptionWrapper* status, SINT64 statementId, SINT64 parentStatementId,
1432 const char* type, const char* packageName, const char* routineName, const char* sqlText)
1433{
1434 const auto statement = statements.put(statementId);
1435 fb_assert(statement);
1436
1437 if (!statement)
1438 return;
1439
1440 statement->type = type;
1441 statement->packageName = packageName;
1442 statement->routineName = routineName;
1443 statement->parentStatementId = parentStatementId;
1444 statement->sqlText = sqlText;
1445}
1446
1447void Session::defineCursor(SINT64 statementId, unsigned cursorId, const char* name, unsigned line, unsigned column)
1448{

Callers 1

getStatementMethod · 0.45

Calls 1

putMethod · 0.45

Tested by

no test coverage detected