diff options
author | Byron Nikolaidis <byronn@insightdist.com> | 1998-06-08 16:15:12 +0000 |
---|---|---|
committer | Byron Nikolaidis <byronn@insightdist.com> | 1998-06-08 16:15:12 +0000 |
commit | 0e708e595ebad1774df0ef7ff45f995955f762ee (patch) | |
tree | 9912b323b0e801b162a7ac2e3b394aea56de0c02 /src/interfaces/odbc/dlg_specific.c | |
parent | 556e603b257df487106eff829a8a4040b0d7aca4 (diff) | |
download | postgresql-0e708e595ebad1774df0ef7ff45f995955f762ee.tar.gz postgresql-0e708e595ebad1774df0ef7ff45f995955f762ee.zip |
Update driver to official 6.30.0244 release.
Diffstat (limited to 'src/interfaces/odbc/dlg_specific.c')
-rw-r--r-- | src/interfaces/odbc/dlg_specific.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/interfaces/odbc/dlg_specific.c b/src/interfaces/odbc/dlg_specific.c index 558fa66926b..e04cc8b5696 100644 --- a/src/interfaces/odbc/dlg_specific.c +++ b/src/interfaces/odbc/dlg_specific.c @@ -623,6 +623,15 @@ char temp[128]; globals.unknown_sizes = atoi(temp); + // Lie about supported functions? + SQLGetPrivateProfileString(DBMS_NAME, INI_LIE, "", + temp, sizeof(temp), ODBCINST_INI); + if ( temp[0] == '\0') + globals.lie = DEFAULT_LIE; + else + globals.lie = atoi(temp); + + // Readonly is stored in the driver section AND per datasource SQLGetPrivateProfileString(DBMS_NAME, INI_READONLY, "", temp, sizeof(temp), ODBCINST_INI); |