Page MenuHomePhabricator

Convert DivinerLiveSymbol to text, not bytes
ClosedPublic

Authored by epriestley on Oct 1 2014, 4:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 7:01 AM
Unknown Object (File)
Wed, Dec 4, 4:49 PM
Unknown Object (File)
Tue, Dec 3, 5:24 AM
Unknown Object (File)
Fri, Nov 29, 1:44 PM
Unknown Object (File)
Tue, Nov 26, 4:01 AM
Unknown Object (File)
Wed, Nov 20, 2:40 PM
Unknown Object (File)
Nov 15 2024, 5:58 PM
Unknown Object (File)
Nov 12 2024, 12:18 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