This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
     new 9db16fa4ee [Bug](doe) fix closing scanner twice (#12408)
9db16fa4ee is described below

commit 9db16fa4ee413393144508cec66672df277aee1f
Author: Gabriel <gabrielleeb...@gmail.com>
AuthorDate: Wed Sep 7 22:45:30 2022 +0800

    [Bug](doe) fix closing scanner twice (#12408)
---
 be/src/vec/exec/ves_http_scanner.cpp | 4 ----
 be/src/vec/exec/ves_http_scanner.h   | 1 -
 2 files changed, 5 deletions(-)

diff --git a/be/src/vec/exec/ves_http_scanner.cpp 
b/be/src/vec/exec/ves_http_scanner.cpp
index c06da0617b..11e3e87f94 100644
--- a/be/src/vec/exec/ves_http_scanner.cpp
+++ b/be/src/vec/exec/ves_http_scanner.cpp
@@ -19,10 +19,6 @@
 
 namespace doris::vectorized {
 
-VEsHttpScanner::~VEsHttpScanner() {
-    close();
-}
-
 Status VEsHttpScanner::get_next(std::vector<vectorized::MutableColumnPtr>& 
columns,
                                 MemPool* tuple_pool, bool* eof,
                                 const std::map<std::string, std::string>& 
docvalue_context) {
diff --git a/be/src/vec/exec/ves_http_scanner.h 
b/be/src/vec/exec/ves_http_scanner.h
index 5fa83db6fd..a315e3e776 100644
--- a/be/src/vec/exec/ves_http_scanner.h
+++ b/be/src/vec/exec/ves_http_scanner.h
@@ -30,7 +30,6 @@ public:
                    bool doc_value_mode)
             : EsHttpScanner(state, profile, tuple_id, properties, 
conjunct_ctxs, counter,
                             doc_value_mode) {};
-    ~VEsHttpScanner();
 
     Status get_next(std::vector<vectorized::MutableColumnPtr>& columns, 
MemPool* tuple_pool,
                     bool* eof, const std::map<std::string, std::string>& 
docvalue_context);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to