Problem with cancelation of fetch operation
-------------------------------------------

                 Key: CORE-5152
                 URL: http://tracker.firebirdsql.org/browse/CORE-5152
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.6
            Reporter: Kovalenko Dmitry


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to