You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
New warnfixes (#2254)
* Fix clang warnings * Remove vim tab guides * initialize variables * 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length * Fix ISO C++17 does not allow 'register' storage class specifier for outdated bison * chars are unsigned on ARM, having if (ival < 0) always false * chars are unsigned by default on ARM and comparison with -1 if always true
This commit is contained in:
@ -72,4 +72,3 @@ const string FrameBound::toString() const
|
||||
}
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -145,4 +145,3 @@ extern std::map<int, std::string> colType2String;
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -411,4 +411,3 @@ template class FrameBoundExpressionRange<float>;
|
||||
template class FrameBoundExpressionRange<uint64_t>;
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -213,4 +213,3 @@ class FrameBoundExpressionRange : public FrameBoundConstantRange<T>
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -139,4 +139,3 @@ template class FrameBoundExpressionRow<float>;
|
||||
template class FrameBoundExpressionRow<uint64_t>;
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -146,4 +146,3 @@ class FrameBoundExpressionRow : public FrameBoundConstantRow
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -900,4 +900,3 @@ bool IdbOrderBy::Eq::operator()(const Row::Pointer& d1, const Row::Pointer& d2)
|
||||
}
|
||||
|
||||
} // namespace ordering
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -184,4 +184,3 @@ template boost::shared_ptr<WindowFunctionType> WF_count<int64_t>::makeFunction(i
|
||||
WindowFunctionColumn*);
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -47,4 +47,3 @@ class WF_count : public WindowFunctionType
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -306,4 +306,3 @@ template void WF_lead_lag<double>::parseParms(const std::vector<execplan::SRCP>&
|
||||
template void WF_lead_lag<string>::parseParms(const std::vector<execplan::SRCP>&);
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -52,4 +52,3 @@ class WF_lead_lag : public WindowFunctionType
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -185,4 +185,3 @@ template boost::shared_ptr<WindowFunctionType> WF_min_max<int64_t>::makeFunction
|
||||
WindowFunctionColumn*);
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -46,4 +46,3 @@ class WF_min_max : public WindowFunctionType
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -271,4 +271,3 @@ template boost::shared_ptr<WindowFunctionType> WF_nth_value<int64_t>::makeFuncti
|
||||
WindowFunctionColumn*);
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -50,4 +50,3 @@ class WF_nth_value : public WindowFunctionType
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -154,4 +154,3 @@ void WF_ntile::operator()(int64_t b, int64_t e, int64_t c)
|
||||
}
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -47,4 +47,3 @@ class WF_ntile : public WindowFunctionType
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -382,4 +382,3 @@ template boost::shared_ptr<WindowFunctionType> WF_percentile<int64_t>::makeFunct
|
||||
WindowFunctionColumn*);
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -48,4 +48,3 @@ class WF_percentile : public WindowFunctionType
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -145,4 +145,3 @@ void WF_ranking::operator()(int64_t b, int64_t e, int64_t c)
|
||||
}
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -46,4 +46,3 @@ class WF_ranking : public WindowFunctionType
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -86,4 +86,3 @@ void WF_row_number::operator()(int64_t b, int64_t e, int64_t c)
|
||||
}
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -45,4 +45,3 @@ class WF_row_number : public WindowFunctionType
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -239,4 +239,3 @@ template boost::shared_ptr<WindowFunctionType> WF_stats<int64_t>::makeFunction(i
|
||||
WindowFunctionColumn*);
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -48,4 +48,3 @@ class WF_stats : public WindowFunctionType
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -306,4 +306,3 @@ template boost::shared_ptr<WindowFunctionType> WF_sum_avg<int64_t, long double>:
|
||||
int, const string&, int, WindowFunctionColumn*);
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -60,4 +60,3 @@ class WF_sum_avg : public WindowFunctionType
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -1191,4 +1191,3 @@ void WF_udaf::operator()(int64_t b, int64_t e, int64_t c)
|
||||
fPrev = c;
|
||||
}
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -112,4 +112,3 @@ class WF_udaf : public WindowFunctionType
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -81,4 +81,3 @@ const string WindowFrame::toString() const
|
||||
}
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -119,4 +119,3 @@ class WindowFrame
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -259,4 +259,3 @@ void WindowFunction::sort(std::vector<RowPosition>::iterator v, uint64_t n)
|
||||
}
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -111,4 +111,3 @@ class WindowFunction
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -797,4 +797,3 @@ void WindowFunctionType::constParms(const std::vector<SRCP>& functionParms)
|
||||
}
|
||||
|
||||
} // namespace windowfunction
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -303,4 +303,3 @@ extern std::map<int, std::string> colType2String;
|
||||
|
||||
} // namespace windowfunction
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
Reference in New Issue
Block a user