Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
1348aa25
Commit
1348aa25
authored
6 years ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
SW-647
: fixed typo.
parent
9e9fcea6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
LTA/ltastorageoverview/lib/ltaso/create_db_ltastorageoverview.sql
+1
-1
1 addition, 1 deletion
...torageoverview/lib/ltaso/create_db_ltastorageoverview.sql
with
1 addition
and
1 deletion
LTA/ltastorageoverview/lib/ltaso/create_db_ltastorageoverview.sql
+
1
−
1
View file @
1348aa25
...
@@ -699,7 +699,7 @@ BEGIN
...
@@ -699,7 +699,7 @@ BEGIN
subdirs_tree_num_files
:
=
0
;
subdirs_tree_num_files
:
=
0
;
subdirs_tree_total_file_size
:
=
0
;
subdirs_tree_total_file_size
:
=
0
;
-- TODO: replace slow for loop with recu
s
rive query
-- TODO: replace slow for loop with recur
s
ive query
FOR
rec
in
(
SELECT
*
FROM
lta
.
directory
d
WHERE
d
.
parent_dir_id
=
tree_root_dir_id
)
LOOP
FOR
rec
in
(
SELECT
*
FROM
lta
.
directory
d
WHERE
d
.
parent_dir_id
=
tree_root_dir_id
)
LOOP
SELECT
gts
.
tree_num_files
,
gts
.
tree_total_file_size
SELECT
gts
.
tree_num_files
,
gts
.
tree_total_file_size
FROM
metainfo
.
get_tree_stats
(
rec
.
id
,
lower_ts
,
upper_ts
)
gts
FROM
metainfo
.
get_tree_stats
(
rec
.
id
,
lower_ts
,
upper_ts
)
gts
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment