-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
collations: Refactor to separate basic collation information from data
This refactor separates the full collation data and tables from the basic collation information like names etc. With this separation, tools like `mysqlctld` and `vtbackup` can run without having to compile collation data into the binary at all, since they only depend on basic name functionality for the MySQL protocol bits but they don't need the full collations data package. Reduces the binary size significantly and removes it from in-memory in the process. Before ``` -rwxr-xr-x 1 dirkjan staff 41336562 Aug 10 14:25 mysqlctl* -rwxr-xr-x 1 dirkjan staff 42197394 Aug 10 14:25 mysqlctld* -rwxr-xr-x 1 dirkjan staff 67138226 Aug 10 14:25 vtbackup* ``` After ``` -rwxr-xr-x 1 dirkjan staff 35649490 Aug 10 14:25 mysqlctl* -rwxr-xr-x 1 dirkjan staff 36509970 Aug 10 14:25 mysqlctld* -rwxr-xr-x 1 dirkjan staff 61432706 Aug 10 14:25 vtbackup* ``` This step enforces the separation between these packages which means that lazy loading of actually used collation information also becomes possible and much simpler with this refactor. Signed-off-by: Dirkjan Bussink <[email protected]>
- Loading branch information
Showing
86 changed files
with
1,818 additions
and
1,324 deletions.
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
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
Oops, something went wrong.