mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-25 21:54:28 +08:00
mdbx-test: добавление тестов для mdbx_env_resurrect_after_fork()
.
This commit is contained in:
@@ -108,8 +108,7 @@ bool output(const loglevel priority, const char *format, ...) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void output_nocheckloglevel_ap(const logging::loglevel priority,
|
||||
const char *format, va_list ap) {
|
||||
bool ln() {
|
||||
if (last) {
|
||||
putc('\n', last);
|
||||
fflush(last);
|
||||
@@ -118,8 +117,14 @@ void output_nocheckloglevel_ap(const logging::loglevel priority,
|
||||
fflush(stdout);
|
||||
}
|
||||
last = nullptr;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void output_nocheckloglevel_ap(const logging::loglevel priority,
|
||||
const char *format, va_list ap) {
|
||||
ln();
|
||||
chrono::time now = chrono::now_realtime();
|
||||
struct tm tm;
|
||||
#ifdef _MSC_VER
|
||||
|
Reference in New Issue
Block a user