diff options
| author | Hiroshi Inoue | 2019-05-19 04:09:31 +0000 |
|---|---|---|
| committer | Hiroshi Inoue | 2019-05-19 04:09:31 +0000 |
| commit | 628f1cea6ffddb31c96db1658b763479c786d993 (patch) | |
| tree | 105ed189d3d9650f9443035cb2cc2ad053e95f57 /setup.c | |
| parent | 130d46bb8971ae4c1708272696854c95eb2d673b (diff) | |
Fix test_connection() in setup.c so that settings of conn_settings and pqopt option are reflected properly.
Diffstat (limited to 'setup.c')
| -rw-r--r-- | setup.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
