You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by kx...@apache.org on 2023/10/22 16:57:53 UTC
[doris] 06/31: fix be compile by remove auto_increment
This is an automated email from the ASF dual-hosted git repository.
kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
commit a6b722f2a8076e7351c134e915c6ec32d1549079
Author: Kang <kx...@gmail.com>
AuthorDate: Mon Oct 23 00:10:50 2023 +0800
fix be compile by remove auto_increment
---
be/src/runtime/descriptors.cpp | 1 -
be/src/runtime/descriptors.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/be/src/runtime/descriptors.cpp b/be/src/runtime/descriptors.cpp
index 36dde94ca2b..43b99fa5aa1 100644
--- a/be/src/runtime/descriptors.cpp
+++ b/be/src/runtime/descriptors.cpp
@@ -65,7 +65,6 @@ SlotDescriptor::SlotDescriptor(const TSlotDescriptor& tdesc)
_is_key(tdesc.is_key),
_need_materialize(tdesc.need_materialize),
_column_paths(tdesc.column_paths),
- _is_auto_increment(tdesc.__isset.is_auto_increment ? tdesc.is_auto_increment : false),
_col_default_value(tdesc.__isset.col_default_value ? tdesc.col_default_value : "") {}
SlotDescriptor::SlotDescriptor(const PSlotDescriptor& pdesc)
diff --git a/be/src/runtime/descriptors.h b/be/src/runtime/descriptors.h
index 1e8f4503f77..7bc0ed04b24 100644
--- a/be/src/runtime/descriptors.h
+++ b/be/src/runtime/descriptors.h
@@ -145,7 +145,6 @@ private:
const bool _need_materialize;
const std::vector<std::string> _column_paths;
- const bool _is_auto_increment;
const std::string _col_default_value;
SlotDescriptor(const TSlotDescriptor& tdesc);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org