| 1429 | } |
| 1430 | |
| 1431 | void 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 | |
| 1447 | void Session::defineCursor(SINT64 statementId, unsigned cursorId, const char* name, unsigned line, unsigned column) |
| 1448 | { |