Re: [patch] fix buffer overrun in logging, and code cleanup - Mailing list pgsql-odbc

From Tsunakawa, Takayuki
Subject Re: [patch] fix buffer overrun in logging, and code cleanup
Date
Msg-id 0A3221C70F24FB45833433255569204D1F57B994@G01JPEXMBYT05
Whole thread Raw
In response to Re: [patch] fix buffer overrun in logging, and code cleanup  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
List pgsql-odbc
> From: Inoue, Hiroshi [mailto:h-inoue@dream.email.ne.jp]
> However forcelog() exists in msdtc_enlist.cpp at first glance.

Oh, I overlooked it.  I removed the use of forcelog() there by:

1) Remove #ifdef _LOCK_DEBUG ... #endif code fragments.
2) Replace remaining forcelog() call sites with mylog().  I think mylog() should be used to allow users of the log file
accumulation.

Regards
Takayuki Tsunakawa



Attachment

pgsql-odbc by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: ODBC connections
Next
From: "Tsunakawa, Takayuki"
Date:
Subject: Re: ADO CommandTimeout vs Postgres statement_timeout parameter