diff options
author | Hiroshi Inoue | 2001-11-11 07:24:36 +0000 |
---|---|---|
committer | Hiroshi Inoue | 2001-11-11 07:24:36 +0000 |
commit | 8bf1e098dd94479798801ceb8f220d70ad03f5d2 (patch) | |
tree | 3a94d36d6e05cedb19c50abc70c5b6a4265c316f | |
parent | 15c21bf8e1228abe770a1e7d10b137f05d075a81 (diff) |
Use abbreviated connection string more widely.
This seems to fix the trouble with PowerBuilder
reported by Magbus Weber.
-rw-r--r-- | src/interfaces/odbc/dlg_specific.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/odbc/dlg_specific.c b/src/interfaces/odbc/dlg_specific.c index b757a933164..f23fb9c527f 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", |