Issue Details (XML | Word | Printable)

Key: CORE-3095
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vlad Khorsun
Reporter: M H
Votes: 0
Watchers: 2
Operations

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

Client receive event's with count equal to 1 despite of how many times EVENT was POSTed in same transaction

Created: 03/Aug/10 07:25 PM   Updated: 04/Feb/11 12:14 PM
Component/s: Engine
Affects Version/s: 2.5 RC3, 2.5.0
Fix Version/s: 2.1.4, 2.5.1, 3.0 Alpha 1

Time Tracking:
Not Specified

Environment: FB 2.5 RC3, Windows XP
Issue Links:
Duplicate
 

Planning Status: Unspecified


 Description  « Hide
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 :)






 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Sean Leyne added a comment - 04/Aug/10 05:43 PM
Are you saying that the Delphi application only receives 1 event? If so, that is the correct functionality.

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.

Vlad Khorsun added a comment - 31/Jan/11 10:09 AM
The bug was really introduced within patch for CORE-2634 but it was not fixed within patch for CORE-3079 (as i thought)

Vlad Khorsun added a comment - 31/Jan/11 10:31 AM
Better description for issue