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

Problem with cancelation of fetch operation [CORE5152] #5435

Open
firebird-automations opened this issue Mar 17, 2016 · 2 comments
Open

Problem with cancelation of fetch operation [CORE5152] #5435

firebird-automations opened this issue Mar 17, 2016 · 2 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @ibprovider

Cancelation of operation works when "op_cancel" processed in "SRVR_multi_thread" function

And does not work, when "op_cancel" processed in "loopThread" function.

-----
I played with stored procedure from CORE3982

1. Execute "select ID,DUMMY from SP_PAUSE_FETCH(1000,10000000)"

2. Try to cancel after receive a first BLOCK of records.

-----
From my point of view, the problem in structure of data packets. It does not allow a separate (parallel) loading (in SRVR_multi_thread) and executing (in loopThread) of operations.

Each packet should contain a own size.

It will allow with minimal efforts detect the "op_cancel" operation in stream of data packets at "SRVR_multi_thread" level.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

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

Target: 4.0 Alpha 1 [ 10731 ]

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