| 38 | } |
| 39 | |
| 40 | void modifyQueryContext(ContextMutablePtr query_context, bool internal) |
| 41 | { |
| 42 | query_context->setCurrentTransaction(nullptr, false); |
| 43 | query_context->setCurrentVW(nullptr); |
| 44 | query_context->setCurrentWorkerGroup(nullptr); |
| 45 | query_context->clearCnchServerResource(); |
| 46 | |
| 47 | if (internal) |
| 48 | query_context->setInternalQuery(internal); |
| 49 | } |
| 50 | |
| 51 | std::exception_ptr constructException(ContextMutablePtr query_context) |
| 52 | { |
no test coverage detected