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

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


The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
     new 3937270a49 Revert "[fix](compile) fix compile error caused by 
`mysql_scan_node.cpp` not being found when enabling `WITH_MYSQL` (#15277)" 
(#15351)
3937270a49 is described below

commit 3937270a49325e6e594888d0dec058c2ebfeb158
Author: Zhengguo Yang <yangz...@gmail.com>
AuthorDate: Mon Dec 26 10:08:12 2022 +0800

    Revert "[fix](compile) fix compile error caused by `mysql_scan_node.cpp` 
not being found when enabling `WITH_MYSQL` (#15277)" (#15351)
    
    This reverts commit 9d637531e903c33903a2898a3d5a1b32dd3d0018.
---
 be/src/exec/CMakeLists.txt | 7 +++++++
 be/src/vec/CMakeLists.txt  | 7 -------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/be/src/exec/CMakeLists.txt b/be/src/exec/CMakeLists.txt
index 003b613955..2e020e2f92 100644
--- a/be/src/exec/CMakeLists.txt
+++ b/be/src/exec/CMakeLists.txt
@@ -102,6 +102,13 @@ set(EXEC_FILES
     assert_num_rows_node.cpp
 
 )
+if (WITH_MYSQL)
+    set(EXEC_FILES
+        ${EXEC_FILES}
+        mysql_scan_node.cpp
+        mysql_scanner.cpp
+        )
+endif()
 
 if (WITH_LZO)
     set(EXEC_FILES ${EXEC_FILES}
diff --git a/be/src/vec/CMakeLists.txt b/be/src/vec/CMakeLists.txt
index 56cec51c0b..0e83f98167 100644
--- a/be/src/vec/CMakeLists.txt
+++ b/be/src/vec/CMakeLists.txt
@@ -281,13 +281,6 @@ set(VEC_FILES
   exec/format/table/table_format_reader.cpp
   exec/format/table/iceberg_reader.cpp)
 
-if (WITH_MYSQL)
-    set(VEC_FILES
-            ${VEC_FILES}
-            exec/scan/mysql_scanner.cpp
-            )
-endif ()
-
 add_library(Vec STATIC
         ${VEC_FILES}
         )


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

Reply via email to