
| Key: |
CORE-3095
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Vlad Khorsun
|
| Reporter: |
M H
|
| Votes: |
0
|
| Watchers: |
2
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
FB 2.5 RC3, Windows XP
|
|
Issue Links:
|
Duplicate
|
|
This issue duplicates:
|
|
CORE-3079
Strong slowing down inserts with EVENT-s in a single transaction.
|
|
|
|
|
|
|
|
| Planning Status: |
Unspecified
|
|
I have stored procedure with Input parameter EVENTS:integer:
DECLARE VARIABLE nr INTEGER;
BEGIN
nr=0;
WHILE (nr<:EVENTS) DO BEGIN
POST_EVENT 'X';
nr = nr + 1;
END
END
+ Delphi2009 with TIBEvents Component for catch EventName and EventCount
allways return EventCount=1.
In FB 1.5.x and FB 2.1.x works OK - EventCoun is as EVENTS parameter of stored procedure value;
Sorry for my English :)
|
|
Description
|
I have stored procedure with Input parameter EVENTS:integer:
DECLARE VARIABLE nr INTEGER;
BEGIN
nr=0;
WHILE (nr<:EVENTS) DO BEGIN
POST_EVENT 'X';
nr = nr + 1;
END
END
+ Delphi2009 with TIBEvents Component for catch EventName and EventCount
allways return EventCount=1.
In FB 1.5.x and FB 2.1.x works OK - EventCoun is as EVENTS parameter of stored procedure value;
Sorry for my English :)
|
Show » |
|
Only 1 event with a specific 'name' (i.e. "X") is supposed to be raised/reported when the transaction is committed, regardless of the number of times the events was "posted" in the transaction.