summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2010-11-14 21:03:48 -0500
committerRobert Haas <rhaas@postgresql.org>2010-11-14 21:03:48 -0500
commit5aa446c961a6fdf15ff9c398751efd6ecff0c64a (patch)
treeac22ab29014d718cb234f2edc334c7803b3593a7 /src/interfaces/ecpg/preproc
parent3892a2d8619ee5623fc3ebee775538fdea1f529e (diff)
Cleanup various comparisons with the constant "true".
Itagaki Takahiro, with slight modifications.
Diffstat (limited to 'src/interfaces/ecpg/preproc')
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.addons2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.addons b/src/interfaces/ecpg/preproc/ecpg.addons
index c39b13c6fb5..3b74ba0a4e4 100644
--- a/src/interfaces/ecpg/preproc/ecpg.addons
+++ b/src/interfaces/ecpg/preproc/ecpg.addons
@@ -353,7 +353,7 @@ ECPG: ClosePortalStmtCLOSEcursor_name block
}
ECPG: opt_hold block
{
- if (compat == ECPG_COMPAT_INFORMIX_SE && autocommit == true)
+ if (compat == ECPG_COMPAT_INFORMIX_SE && autocommit)
$$ = make_str("with hold");
else
$$ = EMPTY;