[cherry-pick](branch-21) fix encryption_function return wrong result at const column (#40201) (#40247)

## Proposed changes
cherry-pick from master #40201
the string object have error of order, should be src, key,iv,mode
This commit is contained in:
zhangstar333
2024-09-02 16:09:15 +08:00
committed by GitHub
parent c8d3202595
commit 70eeda9f50
3 changed files with 21 additions and 1 deletions

View File

@ -335,7 +335,7 @@ struct EncryptionAndDecryptFourImpl {
return Status::OK();
}
static void vector_const(const ColumnString* column, StringRef iv_arg, StringRef key_arg,
static void vector_const(const ColumnString* column, StringRef key_arg, StringRef iv_arg,
StringRef mode_arg, size_t input_rows_count,
ColumnString::Chars& result_data, ColumnString::Offsets& result_offset,
NullMap& null_map) {