Page 1 of 1
SQLMonitor 1024 bytelimit ?
Posted: Thu 20 Oct 2005 10:22
by marstave
How can I use the SQLMonitor to trace sql strings longer than 1024
characters ?
Martin Stave
Posted: Mon 31 Oct 2005 12:33
by Paul
DbxOda have solution for this problem.
Please define the following structure
pMySQLTRACEMsgDesc = ^MySQLTRACEMsgDesc
MySQLTRACEMsgDesc = packed record { trace callback info }
pszTrace : array [0..1023] of Char;
eTraceCat : TRACECat;
ClientData : Integer;
uTotalMsgLen : Word;
PMessage : PChar;
end;
Customize CBInfo:pSQLTRACEDesc parameter to pMySQLTRACEMsgDesc and read pMySQLTRACEMsgDesc(CBInfo).PMessage field.
Posted: Mon 31 Oct 2005 15:47
by marstave
Thanks a lot. It really helped !
regards
Martin Stave