From 261b72f0f5c691f3af6e6118e40efcd73f01833c Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Fri, 16 Oct 2015 09:25:28 +0000 Subject: [PATCH] Task #8291: fixed typo --- LTA/ltastorageoverview/lib/store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LTA/ltastorageoverview/lib/store.py b/LTA/ltastorageoverview/lib/store.py index ae04bba075a..4a0dfbd023d 100644 --- a/LTA/ltastorageoverview/lib/store.py +++ b/LTA/ltastorageoverview/lib/store.py @@ -290,7 +290,7 @@ class LTAStorageDb: def totalFileSizeInTree(self, base_directory_id): with sqlite3.connect(self.db_filename) as conn: result = conn.execute(''' - SELECT sum(fileinfo.size) FROM file_info + SELECT sum(fileinfo.size) FROM fileinfo join directory_closure dc on dc.descendant_id = fileinfo.directory_id where ancestor_id = ? ''', [base_directory_id]).fetchone() -- GitLab