@@ -90,28 +90,29 @@ class ZoneMapManager {
90
90
ColumnStatistics *stats) {
91
91
const type::Value &min = stats->min ;
92
92
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 );
95
95
}
96
96
97
97
static bool CheckLessThan (const type::Value &predicate_val,
98
98
ColumnStatistics *stats) {
99
- return predicate_val.CompareGreaterThan (stats->min ) == CmpBool::TRUE ;
99
+ return predicate_val.CompareGreaterThan (stats->min ) == CmpBool::CmpTrue ;
100
100
}
101
101
102
102
static bool CheckLessThanEquals (const type::Value &predicate_val,
103
103
ColumnStatistics *stats) {
104
- return predicate_val.CompareGreaterThanEquals (stats->min ) == CmpBool::TRUE ;
104
+ return predicate_val.CompareGreaterThanEquals (stats->min ) ==
105
+ CmpBool::CmpTrue;
105
106
}
106
107
107
108
static bool CheckGreaterThan (const type::Value &predicate_val,
108
109
ColumnStatistics *stats) {
109
- return predicate_val.CompareLessThan (stats->max ) == CmpBool::TRUE ;
110
+ return predicate_val.CompareLessThan (stats->max ) == CmpBool::CmpTrue ;
110
111
}
111
112
112
113
static bool CheckGreaterThanEquals (const type::Value &predicate_val,
113
114
ColumnStatistics *stats) {
114
- return predicate_val.CompareLessThanEquals (stats->max ) == CmpBool::TRUE ;
115
+ return predicate_val.CompareLessThanEquals (stats->max ) == CmpBool::CmpTrue ;
115
116
}
116
117
117
118
// ===--------------------------------------------------------------------===//
0 commit comments