-
Notifications
You must be signed in to change notification settings - Fork 38
Converge #146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converge #146
Changes from all commits
bf028d7
c2cb84d
e0265af
f0a77a2
ca5aab8
8f7b657
302c4ce
0be9c6a
9a8370c
f5fb5aa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,15 +17,15 @@ | |
| [submodule "storage/columnstore/columnstore"] | ||
| path = storage/columnstore/columnstore | ||
| url = https://github.com/mariadb-corporation/mariadb-columnstore-engine.git | ||
| [submodule "storage/eloq/eloq_metrics"] | ||
| path = storage/eloq/eloq_metrics | ||
| [submodule "data_substrate/eloq_metrics"] | ||
| path = data_substrate/eloq_metrics | ||
| url = https://github.com/eloqdata/eloq-metrics.git | ||
| [submodule "storage/eloq/tx_service"] | ||
| path = storage/eloq/tx_service | ||
| [submodule "data_substrate/tx_service"] | ||
| path = data_substrate | ||
| url = https://github.com/eloqdata/tx_service.git | ||
| [submodule "storage/eloq/store_handler"] | ||
| path = storage/eloq/store_handler | ||
| [submodule "data_substrate/store_handler"] | ||
| path = data_substrate/store_handler | ||
| url = https://github.com/eloqdata/store_handler.git | ||
| [submodule "storage/eloq/log_service"] | ||
| path = storage/eloq/log_service | ||
| [submodule "data_substrate/log_service"] | ||
| path = data_substrate/log_service | ||
| url = https://github.com/eloqdata/log_service.git | ||
|
Comment on lines
+20
to
31
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainVerify submodule paths are correctly initialized. After fixing the tx_service path issue, ensure all submodules are properly initialized and checked out to the correct locations. Run the following script to verify submodule configuration: 🏁 Script executed: #!/bin/bash
# Verify that submodule paths don't conflict and exist in the expected locations
echo "=== Checking submodule configuration ==="
git config --file .gitmodules --get-regexp 'submodule\.data_substrate.*\.(path|url)'
echo ""
echo "=== Verifying no path conflicts ==="
# Check if any two submodules share the same path
git config --file .gitmodules --get-regexp 'submodule\..*\.path' | \
awk '{print $2}' | sort | uniq -d | \
while read -r duplicate; do
echo "ERROR: Duplicate path found: $duplicate"
done
echo ""
echo "=== Checking if submodule directories exist ==="
for submodule in data_substrate/eloq_metrics data_substrate/tx_service data_substrate/store_handler data_substrate/log_service; do
if [ -d "$submodule" ]; then
echo "✓ $submodule exists"
else
echo "✗ $submodule does not exist"
fi
doneLength of output: 917 Fix tx_service submodule path configuration. The verification confirms a critical submodule path conflict:
This creates a structural conflict. The Update 🤖 Prompt for AI Agents |
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -15,20 +15,20 @@ | |||||||||||||||
| # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA | ||||||||||||||||
|
|
||||||||||||||||
| INCLUDE_DIRECTORIES( | ||||||||||||||||
| ${CMAKE_SOURCE_DIR}/include | ||||||||||||||||
| ${ELOQSQL_SOURCE_DIR}/include | ||||||||||||||||
| ${PCRE_INCLUDES} | ||||||||||||||||
| ${CMAKE_SOURCE_DIR}/mysys_ssl | ||||||||||||||||
| ${ELOQSQL_SOURCE_DIR}/mysys_ssl | ||||||||||||||||
| ${ZLIB_INCLUDE_DIR} | ||||||||||||||||
| ${SSL_INCLUDE_DIRS} | ||||||||||||||||
| ${CMAKE_SOURCE_DIR}/sql | ||||||||||||||||
| ${CMAKE_SOURCE_DIR}/strings | ||||||||||||||||
| ${ELOQSQL_SOURCE_DIR}/sql | ||||||||||||||||
| ${ELOQSQL_SOURCE_DIR}/strings | ||||||||||||||||
| ${MY_READLINE_INCLUDE_DIR} | ||||||||||||||||
| ${CMAKE_CURRENT_BINARY_DIR} | ||||||||||||||||
| ) | ||||||||||||||||
|
|
||||||||||||||||
| INCLUDE_DIRECTORIES(BEFORE | ||||||||||||||||
| ${CMAKE_BINARY_DIR}/libmariadb/include | ||||||||||||||||
| ${CMAKE_SOURCE_DIR}/libmariadb/include) | ||||||||||||||||
| ${ELOQSQL_BINARY_DIR}/libmariadb/include | ||||||||||||||||
| ${ELOQSQL_SOURCE_DIR}/libmariadb/include) | ||||||||||||||||
|
|
||||||||||||||||
| ## We will need libeay32.dll and ssleay32.dll when running client executables. | ||||||||||||||||
| COPY_OPENSSL_DLLS(copy_openssl_client) | ||||||||||||||||
|
|
@@ -37,18 +37,18 @@ SET(CLIENT_LIB mariadbclient mysys) | |||||||||||||||
|
|
||||||||||||||||
| ADD_DEFINITIONS(${SSL_DEFINES}) | ||||||||||||||||
| MYSQL_ADD_EXECUTABLE(mariadb completion_hash.cc mysql.cc readline.cc | ||||||||||||||||
| ${CMAKE_SOURCE_DIR}/sql/sql_string.cc) | ||||||||||||||||
| ${ELOQSQL_SOURCE_DIR}/sql/sql_string.cc) | ||||||||||||||||
| TARGET_LINK_LIBRARIES(mariadb ${CLIENT_LIB}) | ||||||||||||||||
| IF(UNIX) | ||||||||||||||||
| TARGET_LINK_LIBRARIES(mariadb ${MY_READLINE_LIBRARY}) | ||||||||||||||||
| SET_TARGET_PROPERTIES(mariadb PROPERTIES ENABLE_EXPORTS TRUE) | ||||||||||||||||
| ENDIF(UNIX) | ||||||||||||||||
|
|
||||||||||||||||
| IF(PLUGIN_ELOQ) | ||||||||||||||||
| # IF(PLUGIN_ELOQ) | ||||||||||||||||
| ADD_DEFINITIONS(-DWITH_ELOQ_STORAGE_ENGINE) | ||||||||||||||||
| ENDIF() | ||||||||||||||||
| # ENDIF() | ||||||||||||||||
|
|
||||||||||||||||
|
Comment on lines
+47
to
50
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unconditional -DWITH_ELOQ_STORAGE_ENGINE define changes client semantics; gate it. This define was previously conditional. Making it unconditional may affect all client binaries. Apply: -# IF(PLUGIN_ELOQ)
- ADD_DEFINITIONS(-DWITH_ELOQ_STORAGE_ENGINE)
-# ENDIF()
+IF(PLUGIN_ELOQ)
+ ADD_DEFINITIONS(-DWITH_ELOQ_STORAGE_ENGINE)
+ENDIF()If PLUGIN_ELOQ is no longer available, consider introducing an option(WITH_ELOQ_STORAGE_ENGINE OFF) to keep behavior controllable. 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||
| MYSQL_ADD_EXECUTABLE(mariadb-test mysqltest.cc ${CMAKE_SOURCE_DIR}/sql/sql_string.cc COMPONENT Test) | ||||||||||||||||
| MYSQL_ADD_EXECUTABLE(mariadb-test mysqltest.cc ${ELOQSQL_SOURCE_DIR}/sql/sql_string.cc COMPONENT Test) | ||||||||||||||||
| SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS ${PCRE2_DEBIAN_HACK}") | ||||||||||||||||
| TARGET_LINK_LIBRARIES(mariadb-test ${CLIENT_LIB} pcre2-posix pcre2-8) | ||||||||||||||||
| SET_TARGET_PROPERTIES(mariadb-test PROPERTIES ENABLE_EXPORTS TRUE) | ||||||||||||||||
|
|
@@ -85,7 +85,7 @@ SET_SOURCE_FILES_PROPERTIES(mysqlslap.c PROPERTIES COMPILE_FLAGS "-DTHREADS") | |||||||||||||||
| TARGET_LINK_LIBRARIES(mariadb-slap ${CLIENT_LIB}) | ||||||||||||||||
|
|
||||||||||||||||
| MYSQL_ADD_EXECUTABLE(mariadb-conv mariadb-conv.cc | ||||||||||||||||
| ${CMAKE_SOURCE_DIR}/sql/sql_string.cc) | ||||||||||||||||
| ${ELOQSQL_SOURCE_DIR}/sql/sql_string.cc) | ||||||||||||||||
| TARGET_LINK_LIBRARIES(mariadb-conv mysys strings) | ||||||||||||||||
|
|
||||||||||||||||
| IF(WIN32) | ||||||||||||||||
|
|
||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Critical: Submodule path mismatch.
The submodule is named
data_substrate/tx_servicebut the path is set to justdata_substrate. This inconsistency will cause the tx_service repository to be checked out at thedata_substratedirectory root, which conflicts with other submodules (eloq_metrics, store_handler, log_service) that usedata_substrate/*as their paths.Apply this diff to fix the path:
📝 Committable suggestion
🤖 Prompt for AI Agents