From 87ceefaff485e2cebd23110bb75e0bad14fe29e4 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 6 Feb 2020 10:25:44 +0800 Subject: [PATCH] update bot rescan all query --- bot.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.go b/bot.go index 2db8043..1b9d5ec 100644 --- a/bot.go +++ b/bot.go @@ -440,6 +440,7 @@ func botMsgRescanAll(m *tb.Message) { p.Query = fmt.Sprintf("SELECT o.id FROM obj o WHERE o.obj_type_id = %d AND o.obj_sub_type_id = %d ORDER BY o.id ASC;", cacheObjType[`msg`], cacheObjSubType[`msg`]) } + log.Printf("botMsgRescanAll : Query : %s\n", p.Query) p.MsgID64 = int64(m.ID) p.ChatID64 = m.Chat.ID