diff options
author | Marek Kurdej <marek@quasardb.net> | 2016-01-05 13:35:14 +0100 |
---|---|---|
committer | Marek Kurdej <marek@quasardb.net> | 2016-01-05 13:35:14 +0100 |
commit | 92d0850f1cacb1a6dd9d3a8d1005f8a8db41ffce (patch) | |
tree | 6a8c1cac86ef665ebdd015b7980b5ff79166d15a /port | |
parent | 7699439b7c7415cea47ccf2efc80a6e8d101788f (diff) |
Fix failing assertion in logger on Windows when the disk is full.
Diffstat (limited to 'port')
-rw-r--r-- | port/win/win_logger.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/port/win/win_logger.cc b/port/win/win_logger.cc index e89c1af6d..9d6203cc4 100644 --- a/port/win/win_logger.cc +++ b/port/win/win_logger.cc @@ -132,7 +132,7 @@ void WinLogger::Logv(const char* format, va_list ap) { } flush_pending_ = true; - assert(bytesWritten == write_size); + assert((bytesWritten == write_size) || (ret == FALSE)); if (bytesWritten > 0) { log_size_ += write_size; } |