projects
/
clearscm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a7e817
)
Added message if DB was optimized
author
Andrew DeFaria
<Andrew@DeFaria.com>
Sun, 18 Jul 2021 00:30:10 +0000
(17:30 -0700)
committer
Andrew DeFaria
<Andrew@DeFaria.com>
Sun, 18 Jul 2021 00:30:10 +0000
(17:30 -0700)
maps/bin/mapsscrub.pl
patch
|
blob
|
history
diff --git
a/maps/bin/mapsscrub.pl
b/maps/bin/mapsscrub.pl
index
2a0f54e
..
8ff4c51
100755
(executable)
--- a/
maps/bin/mapsscrub.pl
+++ b/
maps/bin/mapsscrub.pl
@@
-119,6
+119,10
@@
while (my $rec = GetUser) {
} # while
# Now optimize the database
-OptimizeDB if $opts{optimize};
+if ($opts{optimized}) {
+ OptimizeDB;
+
+ $log->msg('Database optimized');
+} # if
exit;