Issue Details (XML | Word | Printable)

Key: CORE-5152
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Kovalenko Dmitry
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.
Firebird Core

Problem with cancelation of fetch operation

Created: 17/Mar/16 06:03 AM   Updated: 23/Mar/16 07:37 AM
Component/s: Engine
Affects Version/s: 2.5.6
Fix Version/s: None

Target: 4.0 Alpha 1
QA Status: No test

 Description  « Hide
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 CORE-3982

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.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.