From 65c7e675815c028e28434950daded77acda44ce5 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 20 Jul 2024 23:43:04 +0800 Subject: [PATCH] 1 --- dbpool.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dbpool.go b/dbpool.go index 59df024..51fb7e4 100644 --- a/dbpool.go +++ b/dbpool.go @@ -147,9 +147,10 @@ func (this *dbPool) BatchLoadFullTable( var lastIdx int64 done := false for !done && resultErr == nil { - this.SyncSelectCustomQuery( + this.syncInternalQuery( dataSource, sqlCb(lastIdx), + params, func (err error, ds *DataSet) { if err != nil { resultErr = err