mirror of https://github.com/citusdata/citus.git
Fix cancellation of real time queries
parent
827b951d09
commit
71209054dc
|
@ -199,6 +199,15 @@ MultiRealTimeExecute(Job *job)
|
||||||
{
|
{
|
||||||
MultiClientWait(waitInfo);
|
MultiClientWait(waitInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
/*
|
||||||
|
* Don't call CHECK_FOR_INTERRUPTS because we want to clean up after ourselves,
|
||||||
|
* calling pgwin32_dispatch_queued_signals sets QueryCancelPending so we leave
|
||||||
|
* the loop.
|
||||||
|
*/
|
||||||
|
pgwin32_dispatch_queued_signals();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
MultiClientFreeWaitInfo(waitInfo);
|
MultiClientFreeWaitInfo(waitInfo);
|
||||||
|
|
Loading…
Reference in New Issue