This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 1c5b656c1f4 branch-3.1: [fix](tde) Correct encryption key version
display #56092 (#56068)
1c5b656c1f4 is described below
commit 1c5b656c1f416ac08de237f643c444409e681dfb
Author: Siyang Tang <[email protected]>
AuthorDate: Tue Sep 16 14:50:31 2025 +0800
branch-3.1: [fix](tde) Correct encryption key version display #56092
(#56068)
picked from #56092
---
be/src/exec/schema_scanner/schema_encryption_keys_scanner.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/be/src/exec/schema_scanner/schema_encryption_keys_scanner.cpp
b/be/src/exec/schema_scanner/schema_encryption_keys_scanner.cpp
index 72c449f9199..8d3bf3954f0 100644
--- a/be/src/exec/schema_scanner/schema_encryption_keys_scanner.cpp
+++ b/be/src/exec/schema_scanner/schema_encryption_keys_scanner.cpp
@@ -177,8 +177,7 @@ Status
SchemaEncryptionKeysScanner::_fill_block_impl(vectorized::Block* block) {
} else if (col_desc.type == TYPE_INT) {
switch (col_idx) {
case 1:
- int_vals[row_idx] =
- encryption_key.has_version() ?
encryption_key.has_version() : 0;
+ int_vals[row_idx] = encryption_key.has_version() ?
encryption_key.version() : 0;
break;
case 3:
int_vals[row_idx] = encryption_key.has_parent_version()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]