mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
wl1292 - ndb autotest - adapt to changes in Logger
ndb/test/run-test/main.cpp: adapt to changes in Logger
This commit is contained in:
@ -275,6 +275,7 @@ parse_args(int argc, const char** argv){
|
|||||||
int tmp = Logger::LL_WARNING - g_verbosity;
|
int tmp = Logger::LL_WARNING - g_verbosity;
|
||||||
tmp = (tmp < Logger::LL_DEBUG ? Logger::LL_DEBUG : tmp);
|
tmp = (tmp < Logger::LL_DEBUG ? Logger::LL_DEBUG : tmp);
|
||||||
g_logger.disable(Logger::LL_ALL);
|
g_logger.disable(Logger::LL_ALL);
|
||||||
|
g_logger.enable(Logger::LL_ON);
|
||||||
g_logger.enable((Logger::LoggerLevel)tmp, Logger::LL_ALERT);
|
g_logger.enable((Logger::LoggerLevel)tmp, Logger::LL_ALERT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user