remove size limit in toList

This commit is contained in:
Marius Grigoriu 2016-09-02 04:24:32 -07:00 committed by Marius Grigoriu
parent be0ee06019
commit 0ace6aefd6

View file

@ -40,10 +40,6 @@ func rebind(query string) string {
// to a sql IN statment. // to a sql IN statment.
func toList(listof []*model.RepoLite) (string, []interface{}) { func toList(listof []*model.RepoLite) (string, []interface{}) {
var size = len(listof) var size = len(listof)
if size > 999 {
size = 999
listof = listof[:999]
}
var qs = make([]string, size, size) var qs = make([]string, size, size)
var in = make([]interface{}, size, size) var in = make([]interface{}, size, size)
for i, repo := range listof { for i, repo := range listof {