Page MenuHomePhabricator

Use %s, not %d, to encode a 64-bit integer for a query
ClosedPublic

Authored by epriestley on Sep 4 2014, 6:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 29, 7:48 PM
Unknown Object (File)
Thu, May 29, 1:04 AM
Unknown Object (File)
Wed, May 28, 8:18 AM
Unknown Object (File)
Tue, May 27, 4:32 PM
Unknown Object (File)
May 10 2025, 2:46 AM
Unknown Object (File)
May 9 2025, 7:33 PM
Unknown Object (File)
Apr 29 2025, 5:20 AM
Unknown Object (File)
Apr 27 2025, 7:14 PM
Subscribers
Tokens
"Grey Medal" token, awarded by btrahan.

Details

Summary

Fixes T5982. Probably. I'm just guessing here but like 95% sure this will fix it and 99% sure it won't hurt/break anything.

Test Plan

Still works on my 64-bit install, for what little that's worth.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Use %s, not %d, to encode a 64-bit integer for a query.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
  • Use getStr() instead of getInt() for good measure.

iiam

btrahan edited edge metadata.
This revision is now accepted and ready to land.Sep 4 2014, 6:38 PM
epriestley updated this revision to Diff 25062.

Closed by commit rP4d3cc7b28dd1 (authored by @epriestley).