From: Hiroshi Inoue Date: Sun, 11 Nov 2001 07:24:36 +0000 (+0000) Subject: Use abbreviated connection string more widely. X-Git-Tag: REL9_0_0~19139 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8bf1e098dd94479798801ceb8f220d70ad03f5d2;p=pg-rex%2Fsyncrep.git Use abbreviated connection string more widely. This seems to fix the trouble with PowerBuilder reported by Magbus Weber. --- diff --git a/src/interfaces/odbc/dlg_specific.c b/src/interfaces/odbc/dlg_specific.c index b757a93316..f23fb9c527 100644 --- a/src/interfaces/odbc/dlg_specific.c +++ b/src/interfaces/odbc/dlg_specific.c @@ -506,7 +506,8 @@ makeConnectString(char *connect_string, const ConnInfo *ci, UWORD len) char got_dsn = (ci->dsn[0] != '\0'); char encoded_conn_settings[LARGE_REGISTRY_LEN]; UWORD hlen; - BOOL abbrev = (len <= 400); + /*BOOL abbrev = (len <= 400);*/ + BOOL abbrev = (len < 1024); /* fundamental info */ sprintf(connect_string, "%s=%s;DATABASE=%s;SERVER=%s;PORT=%s;UID=%s;PWD=%s",