From 2a332535912d3a9cd12e7a83fd6fe4ee576064b2 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 1 Feb 2023 09:54:07 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E7=B4=A2=E5=BC=95=E5=B5=8C=E5=85=A5?= =?UTF-8?q?=E5=9D=97=E5=86=85=E5=AE=B9=E5=8F=AF=E8=83=BD=E4=BC=9A=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=86=85=E6=A0=B8=E5=B4=A9=E6=BA=83=20https://github.?= =?UTF-8?q?com/siyuan-note/siyuan/issues/7213?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/sql/block_query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sql/block_query.go b/kernel/sql/block_query.go index 0d0f22c0c..c368e382a 100644 --- a/kernel/sql/block_query.go +++ b/kernel/sql/block_query.go @@ -478,7 +478,7 @@ func selectBlocksRawStmt(stmt string, limit int) (ret []*Block) { errCount++ } - if (confLimit && limit < count) || 7 < errCount { + if (confLimit && limit < count) || 3 < errCount { break } }