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

Reformat all code to coding standard

This commit is contained in:
Andrew Hutchings
2017-10-26 17:18:17 +01:00
parent 4985f3456e
commit 01446d1e22
1296 changed files with 403852 additions and 353747 deletions

View File

@ -30,8 +30,8 @@
/** Namespace WriteEngine */
namespace WriteEngine
{
// Size of buffer used to parse non-string node content or attribute
const int XML_NODE_BUF_SIZE = 256;
// Size of buffer used to parse non-string node content or attribute
const int XML_NODE_BUF_SIZE = 256;
/** @brief Class wrapper around XML2 API. Used by XmlGenProc to save Job XML
* file for input into cpimport.bin.
@ -73,7 +73,7 @@ protected:
* @brief Get node attribute for strings
*/
bool getNodeAttributeStr( xmlNode* pNode, const char* pTag,
std::string& strVal ) const;
std::string& strVal ) const;
/**
* @brief Get node content for non-strings
@ -90,7 +90,9 @@ protected:
* @brief Check whether it is certain tag
*/
bool isTag( const xmlNode* pNode, const xmlTag tag )
{ return !xmlStrcmp( pNode->name, (const xmlChar *)xmlTagTable[tag] ); }
{
return !xmlStrcmp( pNode->name, (const xmlChar*)xmlTagTable[tag] );
}
/**
* @brief Parse xml document