You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-10-21 11:33:43 +03:00
Reformat all code to coding standard
This commit is contained in:
@@ -20,10 +20,10 @@
|
||||
* We want free and open source software applications under certain
|
||||
* licenses to be able to use the GPL-licensed InfiniDB idbhdfs
|
||||
* libraries despite the fact that not all such FOSS licenses are
|
||||
* compatible with version 2 of the GNU General Public License.
|
||||
* Therefore there are special exceptions to the terms and conditions
|
||||
* of the GPLv2 as applied to idbhdfs libraries, which are
|
||||
* identified and described in more detail in the FOSS License
|
||||
* compatible with version 2 of the GNU General Public License.
|
||||
* Therefore there are special exceptions to the terms and conditions
|
||||
* of the GPLv2 as applied to idbhdfs libraries, which are
|
||||
* identified and described in more detail in the FOSS License
|
||||
* Exception in the file utils/idbhdfs/FOSS-EXCEPTION.txt
|
||||
*/
|
||||
|
||||
@@ -36,7 +36,7 @@ using namespace std;
|
||||
|
||||
namespace
|
||||
{
|
||||
boost::mutex guard;
|
||||
boost::mutex guard;
|
||||
}
|
||||
|
||||
namespace idbdatafile
|
||||
@@ -46,12 +46,14 @@ hdfsFS HdfsFsCache::s_fs = 0;
|
||||
|
||||
hdfsFS HdfsFsCache::fs()
|
||||
{
|
||||
boost::mutex::scoped_lock lock( guard );
|
||||
if( !s_fs )
|
||||
{
|
||||
s_fs = hdfsConnect("default", 0);
|
||||
}
|
||||
return s_fs;
|
||||
boost::mutex::scoped_lock lock( guard );
|
||||
|
||||
if ( !s_fs )
|
||||
{
|
||||
s_fs = hdfsConnect("default", 0);
|
||||
}
|
||||
|
||||
return s_fs;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user