7748 missed a local object name to make RAII work with correct scope.
Without the change, the suspend state will be cleared immediately since the local object will be destroyed right after it's created. So hasNext() call will not consider the current driver as suspended. As a result #7748 will not work and spill may still cause hanging.
7748 missed a local object name to make RAII work with correct scope.
Without the change, the suspend state will be cleared immediately since the local object will be destroyed right after it's created. So
hasNext()
call will not consider the current driver as suspended. As a result #7748 will not work and spill may still cause hanging.The patch fixes the issue.