You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
This reverts commit f916e64927
.
This commit is contained in:
@ -22,8 +22,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
#include "functor_json.h"
|
||||
#include <map>
|
||||
#include <mutex>
|
||||
#include <boost/thread/mutex.hpp>
|
||||
|
||||
#include "funcexp.h"
|
||||
#include "functor_all.h"
|
||||
@ -51,11 +50,11 @@ namespace funcexp
|
||||
FuncExp* FuncExp::fInstance = 0;
|
||||
|
||||
/* static */
|
||||
std::mutex FuncExp::fInstanceMutex;
|
||||
boost::mutex FuncExp::fInstanceMutex;
|
||||
|
||||
FuncExp* FuncExp::instance()
|
||||
{
|
||||
std::unique_lock lk(fInstanceMutex);
|
||||
boost::mutex::scoped_lock lk(fInstanceMutex);
|
||||
|
||||
if (!fInstance)
|
||||
fInstance = new FuncExp();
|
||||
|
Reference in New Issue
Block a user