You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an active transaction performs a long fetch (e.g. "fetch-all" of more than 1M rows) from a trivial data source (table or simple stored procedure) the query cancellation does not affect that activity, thus allowing all records to be successfully fetched.
Sample of the query not affected by the cancellation:
EXECUTE BLOCK
RETURNS (cnt INT)
AS
BEGIN
cnt = 0;
WHILE (cnt < 5000000) DO
BEGIN
cnt = cnt + 1;
SUSPEND;
END
END
Submitted by: @dyemanov
Is related to QA185
If an active transaction performs a long fetch (e.g. "fetch-all" of more than 1M rows) from a trivial data source (table or simple stored procedure) the query cancellation does not affect that activity, thus allowing all records to be successfully fetched.
Sample of the query not affected by the cancellation:
EXECUTE BLOCK
RETURNS (cnt INT)
AS
BEGIN
cnt = 0;
WHILE (cnt < 5000000) DO
BEGIN
cnt = cnt + 1;
SUSPEND;
END
END
Commits: 91fa6a5
The text was updated successfully, but these errors were encountered: