How can I use the SQLMonitor to trace sql strings longer than 1024
characters ?
Martin Stave
SQLMonitor 1024 bytelimit ?
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.
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.