Add nodejs test for dataset name
This commit is contained in:
committed by
Patrick Niklaus
parent
2c80f76004
commit
0e8b8b4901
@@ -15,7 +15,7 @@ namespace datafacade
|
||||
|
||||
SharedMemoryAllocator::SharedMemoryAllocator(storage::SharedRegionRegister::ShmKey data_shm_key)
|
||||
{
|
||||
util::Log(logDEBUG) << "Loading new data for region " << data_shm_key;
|
||||
util::Log(logDEBUG) << "Loading new data for region " << (int)data_shm_key;
|
||||
|
||||
BOOST_ASSERT(storage::SharedMemory::RegionExists(data_shm_key));
|
||||
m_large_memory = storage::makeSharedMemory(data_shm_key);
|
||||
|
||||
+11
-6
@@ -90,12 +90,17 @@ inline unsigned generateServerProgramOptions(const int argc,
|
||||
|
||||
// declare a group of options that will be allowed only on command line
|
||||
boost::program_options::options_description generic_options("Options");
|
||||
generic_options.add_options() //
|
||||
("version,v", "Show version")("help,h", "Show this help message")(
|
||||
"verbosity,l",
|
||||
boost::program_options::value<std::string>(&config.verbosity)->default_value("INFO"),
|
||||
std::string("Log verbosity level: " + util::LogPolicy::GetLevels()).c_str())(
|
||||
"trial", value<bool>(&trial)->implicit_value(true), "Quit after initialization");
|
||||
generic_options.add_options() //
|
||||
("version,v", "Show version") //
|
||||
("help,h", "Show this help message") //
|
||||
("verbosity,l",
|
||||
#ifdef NDEBUG
|
||||
boost::program_options::value<std::string>(&config.verbosity)->default_value("INFO"),
|
||||
#else
|
||||
boost::program_options::value<std::string>(&config.verbosity)->default_value("DEBUG"),
|
||||
#endif
|
||||
std::string("Log verbosity level: " + util::LogPolicy::GetLevels()).c_str()) //
|
||||
("trial", value<bool>(&trial)->implicit_value(true), "Quit after initialization");
|
||||
|
||||
// declare a group of options that will be allowed on command line
|
||||
boost::program_options::options_description config_options("Configuration");
|
||||
|
||||
Reference in New Issue
Block a user