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:
@ -31,21 +31,22 @@ DMLTable::DMLTable()
|
||||
|
||||
DMLTable::~DMLTable()
|
||||
{
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
RowList::iterator it = fRows.begin();
|
||||
while(it != fRows.end())
|
||||
|
||||
while (it != fRows.end())
|
||||
{
|
||||
delete *it;
|
||||
it++;
|
||||
}
|
||||
}
|
||||
catch(...)
|
||||
catch (...)
|
||||
{
|
||||
cout << "failed to delete the table rows" << endl;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
int DMLTable::read(messageqcpp::ByteStream& bytestream)
|
||||
@ -67,6 +68,7 @@ int DMLTable::read(messageqcpp::ByteStream& bytestream)
|
||||
retval = aRow->read(bytestream);
|
||||
fRows.push_back(aRow);
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
@ -82,6 +84,7 @@ int DMLTable::write(messageqcpp::ByteStream& bytestream)
|
||||
//write the row list
|
||||
RowList::iterator rowListPtr;
|
||||
rowListPtr = fRows.begin();
|
||||
|
||||
for (; rowListPtr != fRows.end(); ++rowListPtr)
|
||||
{
|
||||
retval = (*rowListPtr)->write(bytestream);
|
||||
|
Reference in New Issue
Block a user