1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00

Fix feed query cursor-based pagination on 32-bit systems

Summary: Fixes T8503. On 32-bit systems, these 64-bit integers will be mangled by the '%d' conversion implied by the 'int' type.

Test Plan: Somewhat guessing here since I don't have a 32-bit system handy, but this strongly echoes similar issues in the past. Feed works fine locally. Looked at the generated queries.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8503

Differential Revision: https://secure.phabricator.com/D13250
This commit is contained in:
epriestley 2015-06-11 10:23:20 -07:00
parent 6d6211d441
commit c71873ed7b

View file

@ -101,7 +101,7 @@ final class PhabricatorFeedQuery
'key' => array( 'key' => array(
'table' => $table, 'table' => $table,
'column' => 'chronologicalKey', 'column' => 'chronologicalKey',
'type' => 'int', 'type' => 'string',
'unique' => true, 'unique' => true,
), ),
); );