Hello Jiri,

I wanted to change FbLog to read the log in large blocks instead of
reading each line.
So basically I had to call QueryService() passing
IscCodes.isc_info_svc_to_eof. But then ParseQueryInfo fails because at
the end of each block there is a IscCodes.isc_info_truncated byte just
before the IscCodes.isc_info_end.
I changed ParseQueryInfo and added:

while ((type = buffer[pos++]) != IscCodes.isc_info_end)
{
  if (type == IscCodes.isc_info_truncated) //Added this
     continue; // and this

length = IscHelper.VaxInteger(buffer, pos, 2);
pos += 2;
<goes on> ...

Is this change correct or am I missing something? What do you think?

-- 
Douglas Tosi
www.sinatica.com

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to