Jump to content
Zdeněk Hanuš

TIBSQLMonitor truncates the result in the "EventText" event "OnSQL"

Recommended Posts

Hello,
I use IBX to connect to Firebird 3.0. If I monitor communication with the server using the TIBSQLMonitor component, the monitor truncates the text "EventText" in the "OnSQL" event for longer commands to some 506 characters. The remaining characters are just the character #0.

Has anyone solved it?

I have Delphi 10.3.3 and Delphi 10.4.2 and the bug is in both.
I was looking for a bug and I think I found it, but I'm not able to "beat" the system package.

Thank you for your help.

Share this post


Link to post

Hello,

If you fix the bug in original files (C:\Program Files (x86)\Embarcadero\Studio\21.0\source\IBX\IBX.IBSQLMonitor.pas?), it should be enough to add this file to your project and rebuild the project.

Kind regards,

Karel

 

Share this post


Link to post
5 hours ago, Vandrovnik said:

If you fix the bug in original files (C:\Program Files (x86)\Embarcadero\Studio\21.0\source\IBX\IBX.IBSQLMonitor.pas?), it should be enough to add this file to your project and rebuild the project.

Yes. It works. How simple. Thank you very much.

Zdeněk

Edited by Zdeněk Hanuš

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×