Optimize check_encryption
GitOrigin-RevId: f42399a9f52e248ea88d0a44d2f2f17d5aaf2ae9
This commit is contained in:
parent
1d28119f4a
commit
e45d6a386c
@ -40,6 +40,7 @@ Result<EncryptionInfo> check_encryption(string path) {
|
|||||||
}
|
}
|
||||||
EncryptionInfo info;
|
EncryptionInfo info;
|
||||||
info.is_encrypted = binlog.get_info().wrong_password;
|
info.is_encrypted = binlog.get_info().wrong_password;
|
||||||
|
binlog.close(false /*need_sync*/);
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user