Merge pull request #16335 from kexianda/fix

minor fix.
This commit is contained in:
alexey-milovidov 2020-10-24 21:41:35 +03:00 committed by GitHub
commit 70427bfa63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -307,11 +307,6 @@ private:
}
const auto input_value = input_column->getDataAt(r);
auto aad_value = StringRef{};
if constexpr (mode == CipherMode::RFC5116_AEAD_AES_GCM && !std::is_same_v<std::nullptr_t, std::decay_t<AadColumnType>>)
{
aad_value = aad_column->getDataAt(r);
}
if constexpr (mode != CipherMode::MySQLCompatibility)
{