Commit f28a7e39 authored by harrylee's avatar harrylee Committed by vipwzw

fix a bug for QueryHistoryOrder

parent a5d577e2
......@@ -624,7 +624,7 @@ HERE:
return &orderList, nil
}
}
if len(orderList.List) == 0 && len(rows) == int(count) {
if len(orderList.List) != int(count) && len(rows) == int(count) {
primaryKey = string(rows[len(rows)-1].Primary)
goto HERE
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment