From b5be106a4218c992d88a036566b36a2b4f6585ed Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Sat, 3 Nov 2018 14:09:09 +0900 Subject: [PATCH] Fix a bug caused by the previous commit e7be9779ba98b14d4c694acf87c83122780cfa67. Also use a macro MYLOG() instead of function mylog(). --- dlg_specific.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlg_specific.c b/dlg_specific.c index 8c5d895..8436672 100644 --- a/dlg_specific.c +++ b/dlg_specific.c @@ -292,7 +292,7 @@ makeConnectString(char *connect_string, const ConnInfo *ci, UWORD len) BOOL abbrev = (len < 1024) || 0 < ci->force_abbrev_connstr; UInt4 flag; -mylog("%s row_versioning=%s\n", __FUNCTION__, ci->row_versioning); +MYLOG(0, "%s row_versioning=%s\n", __FUNCTION__, ci->row_versioning); MYLOG(DETAIL_LOG_LEVEL, "force_abbrev=%d abbrev=%d\n", ci->force_abbrev_connstr, abbrev); encode(ci->password, encoded_item, sizeof(encoded_item)); @@ -1186,7 +1186,7 @@ writeDSNinfo(const ConnInfo *ci) ODBC_INI); SQLWritePrivateProfileString(DSN, - ABBR_DATABASE, + INI_DATABASE, ci->database, ODBC_INI); -- 2.39.5