| 1005 | } |
| 1006 | |
| 1007 | void QueryState::ReleaseBackendResourceRefcount() { |
| 1008 | int32_t new_val = backend_resource_refcnt_.Add(-1); |
| 1009 | DCHECK_GE(new_val, 0); |
| 1010 | if (new_val == 0) ReleaseBackendResources(); |
| 1011 | } |
| 1012 | |
| 1013 | void QueryState::ExecFInstance(FragmentInstanceState* fis) { |
| 1014 | ScopedThreadContext debugctx(GetThreadDebugInfo(), fis->query_id(), fis->instance_id()); |