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

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

commit 9d637531e903c33903a2898a3d5a1b32dd3d0018
Author: luozenglin <37725793+luozeng...@users.noreply.github.com>
AuthorDate: Fri Dec 23 16:25:28 2022 +0800

    [fix](compile) fix compile error caused by `mysql_scan_node.cpp` not being 
found when enabling `WITH_MYSQL` (#15277)
---
 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 2e020e2f92..003b613955 100644
--- a/be/src/exec/CMakeLists.txt
+++ b/be/src/exec/CMakeLists.txt
@@ -102,13 +102,6 @@ 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 0e83f98167..56cec51c0b 100644
--- a/be/src/vec/CMakeLists.txt
+++ b/be/src/vec/CMakeLists.txt
@@ -281,6 +281,13 @@ 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