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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user