events not working - isc_event_block returns different buffer length for same 

                 Key: CORE-5889
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library, Engine
    Affects Versions: 3.0.3, 2.5.8, 3.0.2, 3.0.4
            Reporter: Sorien

often events are not working in my app I found that for same event like 
"EVENT_MYTABLE_FOO" isc_event_block returns different buffer lengths like 27 
and 7 (FEventBufferLen in code bellow)
when it returns 27 everything is working but when i returns 7 app will not get 
any event

it looks like bug for me, but i can't find any documentation for that function, 
its maybe more support question but really don't know how to use your mailing 
list :/

procedure TDBEventThread.RegisterEvents;
  sib_event_block: Tsib_event_block;

  function EBP(Index: Integer): PAnsiChar;
    if (Index > FEvents.Count) then
      Result := nil
      Result := PAnsiChar(AnsiString(FEvents[Index - 1]));

  FEventBuffer := nil;
  FResultBuffer := nil;
  FEventBufferLen := 0;
  FFirstTime := True;

  FEventCount := Min(FEvents.Count, IB_MAX_EVENT_BLOCK);

  sib_event_block := 
  FEventBufferLen := sib_event_block(@FEventBuffer, @FResultBuffer, 
FEventCount, EBP(1), EBP(2), EBP(3), EBP(4), EBP(5), EBP(6), EBP(7), EBP(8), 
EBP(9), EBP(10), EBP(11), EBP(12), EBP(13), EBP(14), EBP(15));

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


Check out the vibrant tech community on one of the world's most
engaging tech sites,!
Firebird-Devel mailing list, web interface at

Reply via email to