You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Reformat all code to coding standard
This commit is contained in:
@ -37,7 +37,8 @@ using namespace funcexp;
|
||||
#define strcasecmp stricmp
|
||||
#endif
|
||||
|
||||
namespace execplan {
|
||||
namespace execplan
|
||||
{
|
||||
|
||||
/**
|
||||
* Constructors/Destructors
|
||||
@ -46,10 +47,10 @@ IntervalColumn::IntervalColumn()
|
||||
{}
|
||||
|
||||
IntervalColumn::IntervalColumn(SRCP& val, int intervalType):
|
||||
fVal(val->clone()), fIntervalType(intervalType)
|
||||
fVal(val->clone()), fIntervalType(intervalType)
|
||||
{
|
||||
// cout << "intervalType=" << fIntervalType << endl;
|
||||
}
|
||||
}
|
||||
|
||||
IntervalColumn::IntervalColumn( const IntervalColumn& rhs, const uint32_t sessionID):
|
||||
ReturnedColumn(rhs, sessionID),
|
||||
@ -62,18 +63,20 @@ IntervalColumn::IntervalColumn( const IntervalColumn& rhs, const uint32_t sessio
|
||||
*/
|
||||
const string IntervalColumn::toString() const
|
||||
{
|
||||
ostringstream output;
|
||||
output << "INTERVAL" << endl;
|
||||
if (fVal)
|
||||
output << fVal->toString();
|
||||
output << " IntervalType=" << fIntervalType << endl;
|
||||
return output.str();
|
||||
ostringstream output;
|
||||
output << "INTERVAL" << endl;
|
||||
|
||||
if (fVal)
|
||||
output << fVal->toString();
|
||||
|
||||
output << " IntervalType=" << fIntervalType << endl;
|
||||
return output.str();
|
||||
}
|
||||
|
||||
ostream& operator<<(ostream& output, const IntervalColumn& rhs)
|
||||
{
|
||||
output << rhs.toString();
|
||||
return output;
|
||||
output << rhs.toString();
|
||||
return output;
|
||||
}
|
||||
|
||||
} //namespace
|
||||
|
Reference in New Issue
Block a user