From 61aac90086b464dff4d3b56ed7876bce3f7267ac Mon Sep 17 00:00:00 2001 From: Dmitry Zuikov Date: Fri, 23 Aug 2024 19:11:16 +0300 Subject: [PATCH] wip, fix --- hbs2-keyman/hbs2-keyman-direct-lib/HBS2/KeyMan/Keys/Direct.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbs2-keyman/hbs2-keyman-direct-lib/HBS2/KeyMan/Keys/Direct.hs b/hbs2-keyman/hbs2-keyman-direct-lib/HBS2/KeyMan/Keys/Direct.hs index afed53ed..15c01d58 100644 --- a/hbs2-keyman/hbs2-keyman-direct-lib/HBS2/KeyMan/Keys/Direct.hs +++ b/hbs2-keyman/hbs2-keyman-direct-lib/HBS2/KeyMan/Keys/Direct.hs @@ -155,7 +155,7 @@ findMatchedGroupKeySecret sto gk = do , t.gkhash , f.key , f.file - , kw.weight + , coalesce(kw.weight, 0) as weight from gkaccess gka join gktrack t on gka.gkhash = t.gkhash join keyfile f on f.key = gka.key