From 27c14b441a5e606edbc7ce59b8d55ab428d31b69 Mon Sep 17 00:00:00 2001 From: xuriwuyun <xuriwuyun@gmail.com> Date: Wed, 18 Dec 2024 17:36:16 +0800 Subject: [PATCH] chore: support mysql lower table names (#1335) (cherry picked from commit 5dc41627b403ad95c260578d9c59b00540897da7) --- addons/mysql/config/mysql5.7-config-constraint.cue | 3 +++ addons/mysql/config/mysql5.7-config-effect-scope.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/addons/mysql/config/mysql5.7-config-constraint.cue b/addons/mysql/config/mysql5.7-config-constraint.cue index b9f7b4460..0a0732cca 100644 --- a/addons/mysql/config/mysql5.7-config-constraint.cue +++ b/addons/mysql/config/mysql5.7-config-constraint.cue @@ -724,6 +724,9 @@ // This variable describes the case sensitivity of file names on the file system where the data directory is located. lower_case_file_system?: string & "OFF" | "ON" + // Affects how the server handles identifier case sensitivity + lower_case_table_names?: int & >=0 & <=1 + // Enabling this variable causes the source to verify events read from the binary log by examining checksums, and to stop with an error in the event of a mismatch. master_verify_checksum?: string & "OFF" | "ON" | *"OFF" diff --git a/addons/mysql/config/mysql5.7-config-effect-scope.yaml b/addons/mysql/config/mysql5.7-config-effect-scope.yaml index f11faea68..1781e8fa8 100644 --- a/addons/mysql/config/mysql5.7-config-effect-scope.yaml +++ b/addons/mysql/config/mysql5.7-config-effect-scope.yaml @@ -342,6 +342,7 @@ staticParameters: - log_bin_basename - log_error - lower_case_file_system + - lower_case_table_names - max_digest_length - myisam_mmap_size - myisam_recover_options