1
0
Fork 0

do not set errno on fatal error

This commit is contained in:
jsteemann 2016-08-26 15:04:08 +02:00
parent 0fe0e89a89
commit 0f31e4ec5a
1 changed files with 1 additions and 2 deletions

View File

@ -947,11 +947,10 @@ static TRI_datafile_t* OpenDatafile(std::string const& filename, bool ignoreErro
if (!ok) {
if (IsMarker28(ptr)) {
TRI_CLOSE(fd);
LOG(ERR) << "datafile found from older version of ArangoDB. "
<< "Please dump data from that version with arangodump "
<< "and reload it into this ArangoDB instance with arangorestore";
TRI_CLOSE(fd);
TRI_set_errno(TRI_ERROR_NOT_IMPLEMENTED);
FATAL_ERROR_EXIT();
}