Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query cancellation feature cannot interrupt a long fetch [CORE1441] #1859

Closed
firebird-automations opened this issue Sep 5, 2007 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA185 [ QA185 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 12970 ] => Firebird [ 13922 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants