You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
Reformat all code to coding standard
This commit is contained in:
@@ -25,22 +25,25 @@ using namespace std;
|
||||
|
||||
namespace
|
||||
{
|
||||
const int lineLen = 1024;
|
||||
const int lineLen = 1024;
|
||||
}
|
||||
|
||||
namespace winport
|
||||
{
|
||||
bool grepit(istream& is, const string& pattern)
|
||||
{
|
||||
boost::regex pat(pattern);
|
||||
string cInput;
|
||||
getline(is, cInput);
|
||||
while (is.good())
|
||||
{
|
||||
if (boost::regex_match(cInput, pat))
|
||||
return true;
|
||||
getline(is, cInput);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
bool grepit(istream& is, const string& pattern)
|
||||
{
|
||||
boost::regex pat(pattern);
|
||||
string cInput;
|
||||
getline(is, cInput);
|
||||
|
||||
while (is.good())
|
||||
{
|
||||
if (boost::regex_match(cInput, pat))
|
||||
return true;
|
||||
|
||||
getline(is, cInput);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user