Page MenuHomePhabricator

Convert DivinerLiveSymbol to text, not bytes
ClosedPublic

Authored by epriestley on Oct 1 2014, 4:48 PM.
Tags
None
Referenced Files
F17630867: D10613.id25487.diff
Thu, Jul 10, 12:03 PM
F17627869: D10613.id25482.diff
Thu, Jul 10, 6:55 AM
Unknown Object (File)
Fri, Jun 27, 6:01 PM
Unknown Object (File)
Fri, Jun 27, 11:09 AM
Unknown Object (File)
Fri, Jun 27, 4:58 AM
Unknown Object (File)
Thu, Jun 26, 10:45 AM
Unknown Object (File)
Mon, Jun 16, 7:07 AM
Unknown Object (File)
May 27 2025, 2:28 AM
Subscribers

Details

Summary

Ref T1191. The bytes types are BINARY(...), which is fixed-length and zero-pads. These hashes are not 64 characters long, so migrating them to binary ends up with a bunch of zero-padding.

Instead, migrate them to text so we drop the zero padding. It would be vaguely nice to either introduce a varbytes type (ick) or change the hash size to a standard size (nicer) eventually, but this isn't very important.

Test Plan

Will adjust secure.phabricator.com.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable