projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
130d46b
)
Fix test_connection() in setup.c so that settings of conn_settings and pqopt option...
author
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Sun, 19 May 2019 04:09:31 +0000
(13:09 +0900)
committer
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Sun, 19 May 2019 04:09:31 +0000
(13:09 +0900)
setup.c
patch
|
blob
|
blame
|
history
diff --git
a/setup.c
b/setup.c
index bd5dd3777a1dbfab966f519b10815d552de7a53d..9b2edcbae3ce06945a477771bf3d865846bd5f53 100644
(file)
--- a/
setup.c
+++ b/
setup.c
@@
-472,6
+472,10
@@
test_connection(HANDLE hwnd, ConnInfo *ci, BOOL withDTC)
dsn_1st = ci->dsn[0];
ci->dsn[0] = '\0';
+ if (NAME_IS_VALID(ci->conn_settings))
+ ci->conn_settings_in_str = TRUE;
+ if (NAME_IS_VALID(ci->pqopt))
+ ci->pqopt_in_str = TRUE;
makeConnectString(out_conn, ci, sizeof(out_conn));
MYLOG(0, "conn_string=%s\n", out_conn);
#ifdef UNICODE_SUPPORT