Page MenuHomePhabricator

Fix quickstart.sql for old MySQL
ClosedPublic

Authored by epriestley on Mar 2 2015, 4:13 PM.
Tags
None
Referenced Files
F18628121: D11929.diff
Sep 16 2025, 5:38 AM
F18505015: D11929.id.diff
Sep 5 2025, 12:20 AM
F18496627: D11929.diff
Sep 4 2025, 5:34 PM
F18110627: D11929.id28735.diff
Aug 11 2025, 9:49 PM
F18084636: D11929.diff
Aug 5 2025, 4:32 PM
F18076325: D11929.id28735.diff
Aug 4 2025, 6:31 PM
F17921365: D11929.id28745.diff
Jul 30 2025, 5:13 AM
F17825286: D11929.id.diff
Jul 26 2025, 6:16 AM
Subscribers

Details

Summary

Fixes T7422. After the recent fix for "sort" columns, we can end up with invalid SQL in some cases when running quickstart.

In particular, we do "COLLATE binary CHARACTER SET utf8_general_ci" (which is invalid).

Preprocess these so we get "COLLATE utf8 CHARACTER SET utf8_general_ci" (which is valid and correct).

Test Plan

Ran bin/storage upgrade -f --namespace blahblhbaba with and without --disable-utf8mb4.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable