| 1957 | implicit_tcl_executor->rollback(context); |
| 1958 | } |
| 1959 | else if (auto txn = context->getCurrentTransaction()) |
| 1960 | { |
| 1961 | txn->onException(); |
| 1962 | } |
| 1963 | |
| 1964 | /// If a query with internal query fails, only add one error to the quota. |
| 1965 | if (!internal) |