We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e73149 commit e06b159Copy full SHA for e06b159
storage/innobase/log/log0log.cc
@@ -518,7 +518,9 @@ void log_t::file::write(os_offset_t offset, span<byte> buf)
518
{
519
srv_stats.os_log_pending_writes.inc();
520
if (const dberr_t err= fd.write(offset, buf))
521
- ib::fatal() << "write(" << fd.get_path() << ") returned " << err;
+ ib::fatal() << "write(" << fd.get_path() << ") returned " << err
522
+ << ". Operating system error number "
523
+ << IF_WIN(GetLastError(), errno) << ".";
524
srv_stats.os_log_pending_writes.dec();
525
srv_stats.os_log_written.add(buf.size());
526
srv_stats.log_writes.inc();
0 commit comments