1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-24 00:23:06 +03:00

1) Improve literal handling in parse_statement().

2) Remove some no longer valid comments.
3) Fix an option dialog setting bug.
4) Fix ODBCVER handling errors.
This commit is contained in:
Hiroshi Inoue
2001-11-03 06:53:50 +00:00
parent ffba91cd1e
commit 58df3f785e
7 changed files with 45 additions and 37 deletions

View File

@@ -439,15 +439,18 @@ updateCommons(const ConnInfo *ci)
INI_KSQO, tmp, fileName);
/*
* Never update the onlyread, unique_index from this module
* sprintf(tmp, "%d", comval->unique_index);
* SQLWritePrivateProfileString(sectionName, INI_UNIQUEINDEX, tmp,
* fileName);
*
* sprintf(tmp, "%d", comval->onlyread);
* SQLWritePrivateProfileString(sectionName, INI_READONLY, tmp,
* fileName);
* Never update the onlyread, unique_index from this module.
*/
if (!ci)
{
sprintf(tmp, "%d", comval->unique_index);
SQLWritePrivateProfileString(sectionName, INI_UNIQUEINDEX, tmp,
fileName);
sprintf(tmp, "%d", comval->onlyread);
SQLWritePrivateProfileString(sectionName, INI_READONLY, tmp,
fileName);
}
sprintf(tmp, "%d", comval->use_declarefetch);
SQLWritePrivateProfileString(sectionName,