!587 fix bug guc

Merge pull request !587 from 赵文浩/master
This commit is contained in:
opengauss-bot 2020-12-31 16:58:23 +08:00 committed by Gitee
commit c681fe0ab4
1 changed files with 3 additions and 1 deletions

View File

@ -18235,7 +18235,9 @@ int find_guc_option(
opt_name,
(targetline + 1))));
}
if (matchtimes > 0) {
return targetline;
}
/* The second loop is to deal with the lines commented by '#' */
matchtimes = 0;
for (i = 0; optlines[i] != NULL; i++) {