From 0602541cd209170c8c9b682f26ae860eb1f64f89 Mon Sep 17 00:00:00 2001
From: Dariusz Kedzierski <dkedzierski@syncad.com>
Date: Thu, 18 Jun 2020 00:29:16 +0200
Subject: [PATCH] Fix in update_child_count, there were two cols returned
 instead one

---
 hive/indexer/posts.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hive/indexer/posts.py b/hive/indexer/posts.py
index ea1c032bf..a748aa51c 100644
--- a/hive/indexer/posts.py
+++ b/hive/indexer/posts.py
@@ -264,7 +264,7 @@ class Posts:
                 hive_posts 
             SET 
                 children = (
-                    SELECT children,
+                    SELECT 
                         CASE 
                             WHEN children=NULL THEN 0
                             WHEN children=32762 THEN 0
-- 
GitLab