diff options
| author | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-03-08 08:52:55 +0000 |
|---|---|---|
| committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-03-08 08:52:55 +0000 |
| commit | 4b47467a6b0d86162dd8814b8ab923aba982fb34 (patch) | |
| tree | 85fea3bf0475716f35d440468eda620769081bac /src/interfaces/odbc/setup.c | |
| parent | 21f8aa396fa833ac95cff4e85c5281fd24fd1632 (diff) | |
| download | postgresql-4b47467a6b0d86162dd8814b8ab923aba982fb34.tar.gz | |
1) Implement SQLParamOptions().
2) Handle Multiple results and implement SQLMoreResult().
3) Improve multibyte handling thanks to Eiji Tokuya.
4) Add new options.
LF <-> CR/LF converion.
TRUE is -1 (for VB).
5) Introduce unicode(UCS-2) support.
6) Reduce the length of connection strings.
7) Improve SQLError, SQLGetDiagRec(ODBC 3.0).
8) Implement SQLTablePrivileges().
9) Miscellaneous changes for ODBC 3.0 support.
Diffstat (limited to 'src/interfaces/odbc/setup.c')
| -rw-r--r-- | src/interfaces/odbc/setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/odbc/setup.c b/src/interfaces/odbc/setup.c index 6bcc01bd89..0175d69f32 100644 --- a/src/interfaces/odbc/setup.c +++ b/src/interfaces/odbc/setup.c @@ -90,7 +90,6 @@ ConfigDSN(HWND hwnd, if (!hglbAttr) return FALSE; lpsetupdlg = (LPSETUPDLG) GlobalLock(hglbAttr); - /* Parse attribute string */ if (lpszAttributes) ParseAttributes(lpszAttributes, lpsetupdlg); @@ -339,7 +338,7 @@ ParseAttributes(LPCSTR lpszAttributes, LPSETUPDLG lpsetupdlg) int cbKey; char value[MAXPGPATH]; - memset(&lpsetupdlg->ci, 0, sizeof(ConnInfo)); + CC_conninfo_init(&(lpsetupdlg->ci)); for (lpsz = lpszAttributes; *lpsz; lpsz++) { |
