Skip to content

[Enhancement]: Add dynamic configuration for lower_case_table_names instead of hard coding #155

@SimonChou12138

Description

@SimonChou12138

Enhancement
lower_case_table_names is a MySQL-compatible system variable used to control the case handling of table names and database names. I found that in the current code, arg.name_case_mode_ = OB_LOWERCASE_AND_INSENSITIVE; is hardcoded as 1

Image

I discovered this issue because after starting the seekdb image with Docker, I noticed that the database names that were originally in uppercase were converted to lowercase by default when importing tables. Upon reviewing the documentation, I found that the MySQL parameters could be dynamically passed in. So, I attempted to add them to the configuration file and mount it to the container. However, it ultimately did not take effect. Upon observing the startup command, I found that the parameters had been added. Therefore, I examined the source code and discovered that it was hardcoded.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions