From 966b2d562d4fe74f93c202cee2acd562f2d92c57 Mon Sep 17 00:00:00 2001 From: Huang Wei Date: Fri, 28 Jun 2024 15:57:12 +0800 Subject: [PATCH] fix --- hybridse/src/node/sql_node.cc | 1 + src/storage/index_organized_table.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hybridse/src/node/sql_node.cc b/hybridse/src/node/sql_node.cc index 258b487a4d3..05dc87e34d6 100644 --- a/hybridse/src/node/sql_node.cc +++ b/hybridse/src/node/sql_node.cc @@ -1188,6 +1188,7 @@ static absl::flat_hash_map CreateSqlNodeTypeToNa {kCreateFunctionStmt, "kCreateFunctionStmt"}, {kCreateUserStmt, "kCreateUserStmt"}, {kAlterUserStmt, "kAlterUserStmt"}, + {kRevokeStmt, "kRevokeStmt"}, {kGrantStmt, "kGrantStmt"}, {kDynamicUdfFnDef, "kDynamicUdfFnDef"}, {kDynamicUdafFnDef, "kDynamicUdafFnDef"}, diff --git a/src/storage/index_organized_table.cc b/src/storage/index_organized_table.cc index 8bb76373c95..aeb3302b22b 100644 --- a/src/storage/index_organized_table.cc +++ b/src/storage/index_organized_table.cc @@ -287,7 +287,7 @@ absl::Status IndexOrganizedTable::Put(uint64_t time, const std::string& value, c std::optional clustered_tsv; std::map> ts_value_map; // we need two ref cnt - // 1. clustered and covering: put row ->DataBlock(i) + // 1. clustered and covering: put row -> DataBlock(i) // 2. secondary: put pkeys+pts -> DataBlock(j) uint32_t real_ref_cnt = 0, secondary_ref_cnt = 0; // cidx_inner_key_pair can get the clustered index