1
0
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:
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

@ -39,30 +39,42 @@ public:
/** @brief ctor
*
* @param packageMaxThreads the maximum number of threads to process ddl packages
* @param packageWorkQueueSize the maximum number of ddl packages in the work queue
* @param packageWorkQueueSize the maximum number of ddl packages in the work queue
*/
DDLProcessor( int packageMaxThreads, int packageWorkQueueSize );
~DDLProcessor();
~DDLProcessor();
/** @brief entry point for the DDLProcessor
*/
void process();
int commitTransaction(uint32_t txnID, std::string & errorMsg);
int commitTransaction(uint32_t txnID, std::string& errorMsg);
/** @brief get the ddl package thread pool size
*/
inline int getPackageThreadPoolSize() const { return fPackageMaxThreads; }
inline int getPackageThreadPoolSize() const
{
return fPackageMaxThreads;
}
/** @brief set the ddl package thread pool size
*/
inline void setPackageThreadPoolSize( int threadPoolSize ) { fPackageMaxThreads = threadPoolSize; }
inline void setPackageThreadPoolSize( int threadPoolSize )
{
fPackageMaxThreads = threadPoolSize;
}
/** @brief get the maximum number of ddl packages allowed in the work queue
*/
inline int getPackageWorkQueueSize() const { return fPackageWorkQueueSize; }
inline int getPackageWorkQueueSize() const
{
return fPackageWorkQueueSize;
}
/** @brief set the maximum number of ddl packages allowed in the work queue
*/
inline void setPackageWorkQueueSize( int workQueueSize ) { fPackageWorkQueueSize = workQueueSize; }
inline void setPackageWorkQueueSize( int workQueueSize )
{
fPackageWorkQueueSize = workQueueSize;
}
protected: