Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
firebird-automations opened this issue Aug 3, 2010 · 13 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: M H (gucio)

Duplicates CORE3079

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

Commits: 3a0f666 e04bd81 bbd043f

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

Link: This issue duplicates CORE3079 [ CORE3079 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Duplicate [ 3 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Sean Leyne (seanleyne)

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.

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

The bug was really introduced within patch for CORE2634 but it was not fixed within patch for CORE3079 (as i thought)

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

status: Closed [ 6 ] => Reopened [ 4 ]

resolution: Duplicate [ 3 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Better description for issue

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

Version: 2.5.0 [ 10221 ]

Fix Version: 2.1.4 [ 10361 ]

Fix Version: 2.5.1 [ 10333 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

Component: Engine [ 10000 ]

summary: Problem with Stored Procedures => Client receive event's with count equal to 1 despite of how many times EVENT was POSTed in same transaction

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

status: Reopened [ 4 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Done successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment