-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Automatic mysql 4byte detection #4514
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
Conversation
|
@nickvergessen, thanks for your PR! By analyzing the history of the files in this pull request, we identified @MorrisJobke, @j-ed and @LukasReschke to be potential reviewers. |
lib/private/Repair/Collation.php
Outdated
| } | ||
| if (empty($tables)) { | ||
| $output->info('All tables already have the correct collation -> nothing to do'); | ||
| } |
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.
I guess this is a merge conflict mishap 😉 - let me remove it
daa7875 to
05faaa6
Compare
MorrisJobke
left a comment
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.
Tested and works 👍 (also the code makes sense)
Codecov Report
@@ Coverage Diff @@
## master #4514 +/- ##
=============================================
+ Coverage 31.37% 53.67% +22.29%
- Complexity 21898 22645 +747
=============================================
Files 1348 1361 +13
Lines 83372 86709 +3337
Branches 1334 1477 +143
=============================================
+ Hits 26161 46537 +20376
+ Misses 57211 40172 -17039
|
config.sample.php was updated to explicitly state that there detection in place to set mysql.utf8mb4
Signed-off-by: Joas Schilling <[email protected]>
eeeeb3b to
0aa5ddf
Compare
|
@rullzer @blizzz @icewind1991 please review this one |
ChristophWurst
left a comment
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.
Changes make sense and code looks good. Just found a possible error in the config description.
config/config.sample.php
Outdated
| * and MySQL can handle 4 byte characters instead of 3 byte characters. | ||
| * | ||
| * If you want to convert an existing 3-byte setup into a 4-byte setup please | ||
| * set the parameters in MySQL as mentioned below run the migration command: |
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.
"… set the parameters in MySQL as mentioned below and run the migration command: …"?
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.
fixed
Signed-off-by: Joas Schilling <[email protected]>
LukasReschke
left a comment
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.
Makes sense 👍
Downstream of missing commits from 17978 and 27441