| 2245 | } |
| 2246 | |
| 2247 | bool isQueryInInteractiveSession(const ContextPtr & context, [[maybe_unused]] const ASTPtr & query) |
| 2248 | { |
| 2249 | return context->hasSessionContext() && (context->getSessionContext().get() != context.get()) |
| 2250 | && context->getSessionContext()->getCurrentTransaction() != nullptr; |
| 2251 | } |
| 2252 | |
| 2253 | bool isDDLQuery( [[maybe_unused]] const ContextPtr & context, const ASTPtr & query) |
| 2254 | { |
no test coverage detected