diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-11-14 21:03:48 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-11-14 21:03:48 -0500 |
commit | 5aa446c961a6fdf15ff9c398751efd6ecff0c64a (patch) | |
tree | ac22ab29014d718cb234f2edc334c7803b3593a7 /src/backend/commands/sequence.c | |
parent | 3892a2d8619ee5623fc3ebee775538fdea1f529e (diff) | |
download | postgresql-5aa446c961a6fdf15ff9c398751efd6ecff0c64a.tar.gz postgresql-5aa446c961a6fdf15ff9c398751efd6ecff0c64a.zip |
Cleanup various comparisons with the constant "true".
Itagaki Takahiro, with slight modifications.
Diffstat (limited to 'src/backend/commands/sequence.c')
-rw-r--r-- | src/backend/commands/sequence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/sequence.c b/src/backend/commands/sequence.c index 04b0c71c539..62d1fbfb0eb 100644 --- a/src/backend/commands/sequence.c +++ b/src/backend/commands/sequence.c @@ -1104,7 +1104,7 @@ init_params(List *options, bool isInit, if (is_cycled != NULL) { new->is_cycled = intVal(is_cycled->arg); - Assert(new->is_cycled == false || new->is_cycled == true); + Assert(BoolIsValid(new->is_cycled)); } else if (isInit) new->is_cycled = false; |