mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
70b008d18d
Summary: Ref T1191. Test that MySQL's rules match those of `phutil_is_utf8_with_only_bmp_characters()`: - Build a string with //every// character that we consider to be a BMP character. - Write it into MySQL. - Read it back out. - Make sure MySQL didn't truncate it. Test Plan: Ran unit test. This test runs pretty quickly (50ms), the string with every character isn't all that enormous. Reviewers: btrahan, arice Reviewed By: arice CC: chad, arice, aran Maniphest Tasks: T1191 Differential Revision: https://secure.phabricator.com/D8314
2 lines
105 B
SQL
2 lines
105 B
SQL
ALTER TABLE {$NAMESPACE}_harbormaster.harbormaster_scratchtable
|
|
ADD bigData LONGTEXT COLLATE utf8_bin;
|