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

Method defineCursor

src/plugins/profiler/Profiler.cpp:1447–1458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1445}
1446
1447void Session::defineCursor(SINT64 statementId, unsigned cursorId, const char* name, unsigned line, unsigned column)
1448{
1449 const auto cursor = cursors.put({statementId, cursorId});
1450 fb_assert(cursor);
1451
1452 if (!cursor)
1453 return;
1454
1455 cursor->name = name;
1456 cursor->line = line;
1457 cursor->column = column;
1458}
1459
1460void Session::defineRecordSource(SINT64 statementId, unsigned cursorId, unsigned recSourceId,
1461 unsigned level, const char* accessPath, unsigned parentRecordSourceId)

Callers 1

prepareCursorMethod · 0.45

Calls 1

putMethod · 0.45

Tested by

no test coverage detected