Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 3f4f54d

Browse files
committed
Rebase fix
1 parent 57b10c0 commit 3f4f54d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/include/storage/zone_map_manager.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,28 +90,29 @@ class ZoneMapManager {
9090
ColumnStatistics *stats) {
9191
const type::Value &min = stats->min;
9292
const type::Value &max = stats->max;
93-
return (min.CompareLessThanEquals(predicate_val)) == CmpBool::TRUE &&
94-
(max.CompareGreaterThanEquals(predicate_val) == CmpBool::TRUE);
93+
return (min.CompareLessThanEquals(predicate_val)) == CmpBool::CmpTrue &&
94+
(max.CompareGreaterThanEquals(predicate_val) == CmpBool::CmpTrue);
9595
}
9696

9797
static bool CheckLessThan(const type::Value &predicate_val,
9898
ColumnStatistics *stats) {
99-
return predicate_val.CompareGreaterThan(stats->min) == CmpBool::TRUE;
99+
return predicate_val.CompareGreaterThan(stats->min) == CmpBool::CmpTrue;
100100
}
101101

102102
static bool CheckLessThanEquals(const type::Value &predicate_val,
103103
ColumnStatistics *stats) {
104-
return predicate_val.CompareGreaterThanEquals(stats->min) == CmpBool::TRUE;
104+
return predicate_val.CompareGreaterThanEquals(stats->min) ==
105+
CmpBool::CmpTrue;
105106
}
106107

107108
static bool CheckGreaterThan(const type::Value &predicate_val,
108109
ColumnStatistics *stats) {
109-
return predicate_val.CompareLessThan(stats->max) == CmpBool::TRUE;
110+
return predicate_val.CompareLessThan(stats->max) == CmpBool::CmpTrue;
110111
}
111112

112113
static bool CheckGreaterThanEquals(const type::Value &predicate_val,
113114
ColumnStatistics *stats) {
114-
return predicate_val.CompareLessThanEquals(stats->max) == CmpBool::TRUE;
115+
return predicate_val.CompareLessThanEquals(stats->max) == CmpBool::CmpTrue;
115116
}
116117

117118
//===--------------------------------------------------------------------===//

0 commit comments

Comments
 (0)