1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +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

@ -28,30 +28,31 @@
using namespace ddlpackage;
namespace ddlpackageprocessor {
namespace ddlpackageprocessor
{
DDLPackageProcessor* DDLPackageProcessorFactory::
makePackageProcessor(int packageType, ddlpackage::CalpontDDLPackage& cpackage)
{
DDLPackageProcessor* ddlProcPtr = 0;
DDLPackageProcessor* ddlProcPtr = 0;
switch( packageType )
{
case DDL_CREATE:
ddlProcPtr = new CreatePackageProcessor();
break;
case DDL_ALTER:
ddlProcPtr = new AlterPackageProcessor();
break;
switch ( packageType )
{
case DDL_CREATE:
ddlProcPtr = new CreatePackageProcessor();
break;
case DDL_DROP:
ddlProcPtr = new DropPackageProcessor();
break;
case DDL_ALTER:
ddlProcPtr = new AlterPackageProcessor();
break;
}
case DDL_DROP:
ddlProcPtr = new DropPackageProcessor();
break;
return ddlProcPtr;
}
return ddlProcPtr;
}
} // namespace ddlpackageprocessor