1
This commit is contained in:
parent
04c7b77bd7
commit
bf49efd5a0
@ -147,11 +147,11 @@ func (this *dbPool) LoopLoad(
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
for ds.Next() {
|
for ds.Next() {
|
||||||
idx := q5.ToInt64(ds.GetByName("idx"))
|
idx := q5.ToInt64(ds.GetByName("idx"))
|
||||||
|
if !doCb(ds) {
|
||||||
|
return
|
||||||
|
}
|
||||||
if idx > lastIdx {
|
if idx > lastIdx {
|
||||||
lastIdx = idx
|
lastIdx = idx
|
||||||
}
|
|
||||||
if doCb(ds) {
|
|
||||||
|
|
||||||
}
|
}
|
||||||
hasNextData = true
|
hasNextData = true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user