| 1257 | |
| 1258 | template<typename T> |
| 1259 | void AggregateFunctions::Min(FunctionContext*, const T& src, T* dst) { |
| 1260 | if (src.is_null) return; |
| 1261 | if (dst->is_null || src.val < dst->val) *dst = src; |
| 1262 | } |
| 1263 | |
| 1264 | template<typename T> |
| 1265 | void AggregateFunctions::Max(FunctionContext*, const T& src, T* dst) { |
no test coverage detected