-
Notifications
You must be signed in to change notification settings - Fork 44
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
chore: update apecloud-mysql binary version #129
Merged
sophon-zt
merged 3 commits into
main
from
support/improvement-adjust-apecloud-mysql-auditlog-cv-version-issue128
Dec 27, 2023
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1536,22 +1536,40 @@ | |
windowing_use_high_precision: string & "0" | "1" | "OFF" | "ON" | *"1" | ||
|
||
// Mysql audit log version. | ||
rds_audit_log_version?: string & "MYSQL_V1" | "MYSQL_V3" | ||
loose_audit_log_version?: string & "MYSQL_V1" | "MYSQL_V3" | ||
|
||
// To select the log format that the audit log plugin uses to write its log file, set the audit_log_format system variable at server startup | ||
rds_audit_log_format?: string & "JSON" | "PLAIN" | ||
loose_audit_log_format?: string & "JSON" | "PLAIN" | ||
|
||
// The option to enable or disable audit log. | ||
rds_audit_log_enabled?: string & "0" | "1" | "OFF" | "ON" | *"OFF" | ||
loose_audit_log_enabled?: string & "0" | "1" | "OFF" | "ON" | *"OFF" | ||
|
||
// The policy controlling how the audit log plugin writes connection events to its log file. Supported values are 'ALL' (default), 'ERRORS' and 'NONE'. | ||
rds_audit_log_connection_policy?: string & "ALL" | "ERRORS" | "NONE" | ||
loose_audit_log_connection_policy?: string & "ALL" | "ERRORS" | "NONE" | ||
|
||
// The policy controlling how the audit log plugin writes query events to its log file. Supported values are 'ALL' (default), 'UPDATES', 'UPDATES_OR_ERRORS', 'ERRORS' and 'NONE'. | ||
rds_audit_log_statement_policy?: string & "ALL" | "UPDATES" | "NONE" | "ERRORS" | "UPDATES_OR_ERRORS" | ||
loose_audit_log_statement_policy?: string & "ALL" | "UPDATES" | "NONE" | "ERRORS" | "UPDATES_OR_ERRORS" | ||
|
||
// Max number of rows in each audit log file. Log records will be discarded above this number. | ||
rds_audit_log_row_limit?: int & >=1 | *100000 | ||
audit_log_row_limit?: int & >=1 | *100000 | ||
|
||
// Mysql audit log version. | ||
audit_log_version?: string & "MYSQL_V1" | "MYSQL_V3" | ||
|
||
// To select the log format that the audit log plugin uses to write its log file, set the audit_log_format system variable at server startup | ||
audit_log_format?: string & "JSON" | "PLAIN" | ||
|
||
// The option to enable or disable audit log. | ||
audit_log_enabled?: string & "0" | "1" | "OFF" | "ON" | *"OFF" | ||
|
||
// The policy controlling how the audit log plugin writes connection events to its log file. Supported values are 'ALL' (default), 'ERRORS' and 'NONE'. | ||
audit_log_connection_policy?: string & "ALL" | "ERRORS" | "NONE" | ||
|
||
// The policy controlling how the audit log plugin writes query events to its log file. Supported values are 'ALL' (default), 'UPDATES', 'UPDATES_OR_ERRORS', 'ERRORS' and 'NONE'. | ||
audit_log_statement_policy?: string & "ALL" | "UPDATES" | "NONE" | "ERRORS" | "UPDATES_OR_ERRORS" | ||
|
||
// Max number of rows in each audit log file. Log records will be discarded above this number. | ||
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. duplicated with line 1554 |
||
audit_log_row_limit?: int & >=1 | *100000 | ||
|
||
// other parameters | ||
// reference mysql parameters | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
why not with the prefix loose_?
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.
The mysql engine accepts both types of parameters. In fact, it is not sure which set of parameters will be used by the user-defined template. so it retains maximum consistency with the engine.