HomePhabricator

Fix quickstart.sql for old MySQL

Description

Fix quickstart.sql for old MySQL

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.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7422

Differential Revision: https://secure.phabricator.com/D11929

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Mar 2 2015, 5:57 PM
Reviewer
btrahan
Differential Revision
D11929: Fix quickstart.sql for old MySQL
Parents
rP8fd77ff4f8a5: Support ssh-ed25519 SSH keys
Branches
Unknown
Tags
Unknown
Tasks
T7422: COLLATION 'utf8_general_ci' is not valid for CHARACTER SET 'binary' error