mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 13:33:07 +01:00
Added/Updated D:\FB\firebird-qa\tests\bugs\core_5892_test.py: Added 'order by clause' to provide predictable output from selectable procedures. This became actual after commit e9fdb67e63ce17947766b5acd02cb543fc227a61 'Rework monitoring logic to provide faster response under high CPU-bound load' - thanks to dimitr for suggestion.
This commit is contained in:
parent
6c77e9bd9c
commit
11b55e1db1
@ -44,11 +44,14 @@ sp_definer_ddl = """
|
||||
as
|
||||
begin
|
||||
execution_context = rdb$get_context('SYSTEM', 'EFFECTIVE_USER');
|
||||
for
|
||||
select mon$user, mon$attachment_id
|
||||
from mon$attachments a
|
||||
where a.mon$system_flag is distinct from 1 and a.mon$attachment_id != current_connection
|
||||
into
|
||||
for
|
||||
select a.mon$user, a.mon$attachment_id
|
||||
from mon$attachments a
|
||||
where
|
||||
a.mon$system_flag is distinct from 1
|
||||
and a.mon$attachment_id != current_connection
|
||||
order by a.mon$attachment_id
|
||||
into
|
||||
another_name,
|
||||
another_conn_id
|
||||
do suspend;
|
||||
@ -60,14 +63,15 @@ sp_invoker_ddl = """
|
||||
as
|
||||
begin
|
||||
execution_context = rdb$get_context('SYSTEM', 'EFFECTIVE_USER');
|
||||
for
|
||||
select mon$user, mon$attachment_id
|
||||
from mon$attachments a
|
||||
where
|
||||
a.mon$system_flag is distinct from 1
|
||||
for
|
||||
select a.mon$user, a.mon$attachment_id
|
||||
from mon$attachments a
|
||||
where
|
||||
a.mon$system_flag is distinct from 1
|
||||
and a.mon$attachment_id != current_connection
|
||||
and a.mon$user = current_user
|
||||
into
|
||||
order by a.mon$attachment_id
|
||||
into
|
||||
another_name,
|
||||
another_conn_id
|
||||
do suspend;
|
||||
|
Loading…
Reference in New Issue
Block a user