select: fix int overflow of math.MaxInt64 on ARM (#6317)

This commit is contained in:
Raphael Randschau
2018-08-22 12:46:04 +02:00
committed by Nitish Tiwari
parent 0aee722e3f
commit 8601f29d95
2 changed files with 7 additions and 6 deletions

View File

@@ -296,7 +296,7 @@ func TestMyParser(t *testing.T) {
if alias != table.alias {
t.Error()
}
if myLimit != table.myLimit {
if myLimit != int64(table.myLimit) {
t.Error()
}
if !reflect.DeepEqual(table.aggFuncs, aggFunctionNames) {