AV in engine when StatementTimeout is active for user statement and some 
internal DSQL statement was executed as part of overall execution process
--------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CORE-6526
                 URL: http://tracker.firebirdsql.org/browse/CORE-6526
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 4.0 RC 1, 4.0 Beta 2, 4.0 Beta 1
            Reporter: Vlad Khorsun


In the case below the internal DSQL statement is run on commit when index is 
modified.
Note, most internal statements used by the engine is ESQL, not DSQL - thus they 
are not interact with StatementTImeout.


set term ^;

execute block as begin
  in autonomous transaction do
     execute statement 'set statistics index rdb$index_0';
end
^
set statement timeout 60
^
execute block as begin
  in autonomous transaction do
     execute statement 'set statistics index rdb$index_0';
end
^

Statement failed, SQLSTATE = 08006
Error reading data from the connection.


The bug was reported by Pavel Zotov with much more complex scenario.


-- 
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

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to