1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-18 13:54:11 +03:00

Fixed a minor bug in error reporting.

This commit is contained in:
Patrick LeBlanc
2019-05-10 13:49:00 -05:00
parent 353392f98b
commit 53a88fdc09

View File

@@ -425,8 +425,9 @@ void Synchronizer::synchronizeWithJournal(const string &sourceFile, list<string>
{ {
// try to delete it in cloud storage... unlikely it is there in the first place, and if it is // try to delete it in cloud storage... unlikely it is there in the first place, and if it is
// this probably won't work // this probably won't work
int l_errno = errno;
cs->deleteObject(newKey); cs->deleteObject(newKey);
throw runtime_error(string("Synchronizer: putObject() failed: ") + strerror_r(errno, buf, 80)); throw runtime_error(string("Synchronizer: putObject() failed: ") + strerror_r(l_errno, buf, 80));
} }
// if the object was cached... // if the object was cached...