From a7e4c95f4f6497d98fcb3738cecafbec27d3331f Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sun, 28 Aug 2022 10:50:59 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=95=B0=E6=8D=AE=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=92=8C=E8=B5=84=E6=BA=90=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=88=86=E9=A1=B5=E5=92=8C=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=20https://github.com/siyuan-note/siyuan/issues/4901?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/sql/history.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sql/history.go b/kernel/sql/history.go index 7a33bba5c..d46b774c4 100644 --- a/kernel/sql/history.go +++ b/kernel/sql/history.go @@ -50,7 +50,7 @@ func SelectHistoriesRawStmt(stmt string) (ret []*History) { func scanHistoryRows(rows *sql.Rows) (ret *History) { var history History - if err := rows.Scan(&history.Type, &history.Op, &history.Title, &history.Content, &history.Created, &history.Path); nil != err { + if err := rows.Scan(&history.Type, &history.Op, &history.Title, &history.Content, &history.Path, &history.Created); nil != err { logging.LogErrorf("query scan field failed: %s\n%s", err, logging.ShortStack()) return }