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

clang format apply

This commit is contained in:
Leonid Fedorov
2022-01-21 16:43:49 +00:00
parent 6b6411229f
commit 04752ec546
1376 changed files with 393460 additions and 412662 deletions

View File

@ -16,10 +16,10 @@
MA 02110-1301, USA. */
/***********************************************************************
* $Id: ddlpackageprocessorfactory.cpp 9210 2013-01-21 14:10:42Z rdempsey $
*
*
***********************************************************************/
* $Id: ddlpackageprocessorfactory.cpp 9210 2013-01-21 14:10:42Z rdempsey $
*
*
***********************************************************************/
#include "ddlpackageprocessorfactory.h"
#include "ddlpackage.h"
#include "alterpackageprocessor.h"
@ -30,29 +30,21 @@ using namespace ddlpackage;
namespace ddlpackageprocessor
{
DDLPackageProcessor* DDLPackageProcessorFactory::
makePackageProcessor(int packageType, ddlpackage::CalpontDDLPackage& cpackage)
DDLPackageProcessor* DDLPackageProcessorFactory::makePackageProcessor(int packageType,
ddlpackage::CalpontDDLPackage& cpackage)
{
DDLPackageProcessor* ddlProcPtr = 0;
DDLPackageProcessor* ddlProcPtr = 0;
switch ( packageType )
{
case DDL_CREATE:
ddlProcPtr = new CreatePackageProcessor();
break;
switch (packageType)
{
case DDL_CREATE: ddlProcPtr = new CreatePackageProcessor(); break;
case DDL_ALTER:
ddlProcPtr = new AlterPackageProcessor();
break;
case DDL_ALTER: ddlProcPtr = new AlterPackageProcessor(); break;
case DDL_DROP:
ddlProcPtr = new DropPackageProcessor();
break;
case DDL_DROP: ddlProcPtr = new DropPackageProcessor(); break;
}
}
return ddlProcPtr;
return ddlProcPtr;
}
} // namespace ddlpackageprocessor
} // namespace ddlpackageprocessor