Page MenuHomePhabricator

Quiet utf8mb4 warnings when establish MySQL connections
ClosedPublic

Authored by epriestley on Oct 2 2014, 3:48 PM.
Tags
None
Referenced Files
F13268033: D10623.diff
Wed, May 29, 4:32 AM
F13257869: D10623.diff
Sun, May 26, 5:12 AM
F13254358: D10623.diff
Sat, May 25, 3:21 AM
F13235717: D10623.diff
Tue, May 21, 6:16 AM
F13235397: D10623.id.diff
Tue, May 21, 5:05 AM
F13217330: D10623.id25512.diff
Sat, May 18, 4:36 AM
F13214883: D10623.id25503.diff
Fri, May 17, 1:33 PM
F13186079: D10623.diff
Sat, May 11, 3:24 AM
Subscribers

Details

Summary

Fixes T6228. Ref T1191. Some versions of things spew warnings on these calls; I can't reproduce it locally but @fabe reports this resolving it for him in T6228.

Test Plan

Still works fine locally, but no surprises there.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Quiet utf8mb4 warnings when establish MySQL connections.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
epriestley added a subscriber: fabe.
btrahan edited edge metadata.
btrahan added inline comments.
src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnection.php
77

should we silence it here too or at this point is cascading failure desirable?

This revision is now accepted and ready to land.Oct 2 2014, 4:32 PM
src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnection.php
77

Yeah, it's probably good if this screams. Possibly we should check it for failure and throw explicitly, but I don't want to make T1191 any more involved than it already is and the old code hasn't had issues. In theory this shouldn't really be able to fail without the connection above failing or the next action we take also failing.

This revision was automatically updated to reflect the committed changes.