USE test;
DROP TABLE IF EXISTS `issue_47`;
CREATE TABLE `issue_47` (
   userid BIGINT UNSIGNED NOT NULL,
   INDEX idx (userid)
);

INSERT INTO issue_47 VALUES (1000), (1), (300), (2220293), (65553510),
   (9223372036854775807), (20), (55555), (18446744073709551615);
