1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Cleanup various comparisons with the constant "true".

Itagaki Takahiro, with slight modifications.
This commit is contained in:
Robert Haas
2010-11-14 21:03:48 -05:00
parent 3892a2d861
commit 5aa446c961
11 changed files with 20 additions and 20 deletions

View File

@ -625,7 +625,7 @@ checkcondition_str(void *checkval, QueryOperand *val)
StopHigh = StopMiddle;
}
if (res == false && val->prefix == true)
if (!res && val->prefix)
{
/*
* there was a failed exact search, so we should scan further to find