-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
enable WITH_AUTHENTICATION_CLIENT_PLUGINS #1092
Conversation
WalkthroughThe scripts for building MySQL on different platforms (Darwin, Linux, and Windows) have been updated to include conditional CMake options based on MySQL version. This ensures compatibility and proper configuration for authentication plugins and unit tests, addressing issues like backward compatibility with older MySQL servers. Changes
Sequence Diagram(s)No sequence diagrams are necessary for these changes as they mainly involve configuration adjustments without altering the control flow significantly. Assessment against linked issues
Poem
TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- .github/build-mysql-darwin.sh (1 hunks)
- .github/build-mysql-linux.sh (1 hunks)
- .github/build-mysql-windows.ps1 (1 hunks)
Additional context used
Learnings (1)
.github/build-mysql-windows.ps1 (1)
Learnt from: shogo82148 PR: shogo82148/actions-setup-mysql#1087 File: .github/build-mysql-windows.ps1:0-0 Timestamp: 2024-07-06T11:40:05.856Z Learning: The regex pattern in `.github/build-mysql-windows.ps1` for MySQL version matching was corrected to remove an extra `^` character.
Additional comments not posted (9)
.github/build-mysql-darwin.sh (3)
142-148
: Conditional CMake options for MySQL 9.0 or later look good.The added CMake options
-DWITH_AUTHENTICATION_CLIENT_PLUGINS=1
and the removal of Boost-related options are appropriate for MySQL 9.0 or later.
150-154
: CMake options for MySQL 8.0 look good.The CMake options for MySQL 8.0 are appropriately set without the
WITH_AUTHENTICATION_CLIENT_PLUGINS
as it is not required for this version.
156-162
: Conditional CMake options for versions other than MySQL 8.0 or later look good.The CMake options for versions other than MySQL 8.0 or later retain the Boost-related options and remove unnecessary authentication client plugins.
.github/build-mysql-linux.sh (3)
186-192
: Conditional CMake options for MySQL 9.0 or later look good.The added CMake options
-DWITH_AUTHENTICATION_CLIENT_PLUGINS=1
and the removal of Boost-related options are appropriate for MySQL 9.0 or later.
194-198
: CMake options for MySQL 8.0 look good.The CMake options for MySQL 8.0 are appropriately set without the
WITH_AUTHENTICATION_CLIENT_PLUGINS
as it is not required for this version.
200-206
: Conditional CMake options for versions other than MySQL 8.0 or later look good.The CMake options for versions other than MySQL 8.0 or later retain the Boost-related options and remove unnecessary authentication client plugins.
.github/build-mysql-windows.ps1 (3)
169-177
: Conditional CMake options for MySQL 9.0 or later look good.The added CMake options
-DWITH_AUTHENTICATION_CLIENT_PLUGINS=1
and the removal of Boost-related options are appropriate for MySQL 9.0 or later.
179-187
: CMake options for MySQL 8.0 look good.The CMake options for MySQL 8.0 are appropriately set without the
WITH_AUTHENTICATION_CLIENT_PLUGINS
as it is not required for this version.
189-197
: Conditional CMake options for versions other than MySQL 8.0 or later look good.The CMake options for versions other than MySQL 8.0 or later retain the Boost-related options and remove unnecessary authentication client plugins.
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- .github/build-mysql-darwin.sh (1 hunks)
- .github/build-mysql-linux.sh (1 hunks)
- .github/build-mysql-windows.ps1 (1 hunks)
Files skipped from review as they are similar to previous changes (3)
- .github/build-mysql-darwin.sh
- .github/build-mysql-linux.sh
- .github/build-mysql-windows.ps1
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- .github/build-mysql-windows.ps1 (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- .github/build-mysql-windows.ps1
It may fix #1089
Summary by CodeRabbit