1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

chore(codestyle): mark virtual methods as override

This commit is contained in:
Aleksei Antipovskii
2024-09-12 12:27:02 +02:00
committed by Leonid Fedorov
parent ad80ab40aa
commit 0ab03c7258
303 changed files with 4085 additions and 4886 deletions

View File

@ -18,7 +18,7 @@
// $Id: wf_nth_value.cpp 3932 2013-06-25 16:08:10Z xlou $
//#define NDEBUG
// #define NDEBUG
#include <cassert>
#include <cmath>
#include <sstream>
@ -149,7 +149,7 @@ void WF_nth_value<T>::parseParms(const std::vector<execplan::SRCP>& parms)
// parms[1]: nth value
ConstantColumn* cc = dynamic_cast<ConstantColumn*>(parms[1].get());
if (cc != NULL)
if (cc != nullptr)
{
fNthNull = false;
fNth = cc->getIntVal(fRow, fNthNull); // row not used, no need to setData.
@ -166,12 +166,12 @@ void WF_nth_value<T>::parseParms(const std::vector<execplan::SRCP>& parms)
// parms[2]: from first | from last
bool isNull = false;
cc = dynamic_cast<ConstantColumn*>(parms[2].get());
idbassert(cc != NULL);
idbassert(cc != nullptr);
fFromFirst = (cc->getIntVal(fRow, isNull) > 0);
// parms[3]: respect null | ignore null
cc = dynamic_cast<ConstantColumn*>(parms[3].get());
idbassert(cc != NULL);
idbassert(cc != nullptr);
fRespectNulls = (cc->getIntVal(fRow, isNull) > 0);
}