Fix warning.

GitOrigin-RevId: 263924f849fd64b5d72c6b0842385d8b27677b98
This commit is contained in:
levlam 2018-02-16 05:41:37 +03:00
parent 47eaae2a69
commit b171be4331

View File

@ -40,7 +40,7 @@ Result<EncryptionInfo> check_encryption(string path) {
}
EncryptionInfo info;
info.is_encrypted = binlog.get_info().wrong_password;
binlog.close(false /*need_sync*/);
binlog.close(false /*need_sync*/).ensure();
return info;
}