1
This commit is contained in:
parent
d731e1cb0a
commit
ba7db1fa1f
@ -111,7 +111,7 @@ func (this *dbPool) SyncSelectCustomQuery(dataSource string, sql string, cb Quer
|
||||
}
|
||||
|
||||
func (this *dbPool) SyncBatchLoadFullTable(dataSource string, sqlTpl string,
|
||||
cb func(*DataSet), errCb func(error)) {
|
||||
cb func(*DataSet), errCb func(error)) int64 {
|
||||
var lastIdx int64
|
||||
var done = false
|
||||
for !done {
|
||||
@ -137,6 +137,7 @@ func (this *dbPool) SyncBatchLoadFullTable(dataSource string, sqlTpl string,
|
||||
}
|
||||
})
|
||||
}
|
||||
return lastIdx
|
||||
}
|
||||
|
||||
func (this *dbPool) SelectLike(
|
||||
|
Loading…
x
Reference in New Issue
Block a user