Page MenuHomePhabricator

Fix quickstart.sql for old MySQL
ClosedPublic

Authored by epriestley on Mar 2 2015, 4:13 PM.
Tags
None
Referenced Files
F15466553: D11929.diff
Thu, Apr 3, 6:52 AM
F15463234: D11929.id28735.diff
Tue, Apr 1, 9:38 PM
F15463203: D11929.diff
Tue, Apr 1, 9:24 PM
F15402682: D11929.id28735.diff
Mon, Mar 17, 11:44 PM
F15379062: D11929.diff
Thu, Mar 13, 6:29 PM
Unknown Object (File)
Feb 28 2025, 4:22 AM
Unknown Object (File)
Feb 26 2025, 1:12 PM
Unknown Object (File)
Feb 9 2025, 6:07 PM
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