You've already forked mariadb-columnstore-engine
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:
@ -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
|
||||
|
Reference in New Issue
Block a user