From 97bab4f46c2fc8b8380e90cd0fe7f690879930a4 Mon Sep 17 00:00:00 2001 From: Andrew Yates <ayates@ebi.ac.uk> Date: Wed, 11 Jan 2012 10:25:47 +0000 Subject: [PATCH] Adding a bit more chatter to the script --- misc-scripts/schema_patcher.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/misc-scripts/schema_patcher.pl b/misc-scripts/schema_patcher.pl index e1ae048666..03b8337673 100755 --- a/misc-scripts/schema_patcher.pl +++ b/misc-scripts/schema_patcher.pl @@ -417,7 +417,15 @@ while ( $sth->fetch() ) { $database, defined($species) ? $species : 'unknown', $schema_type, $schema_version ); } - else { next } + else { + if($opt_verbose) { + printf("Skipping database %s (type: %s | version: %d)\n", $database, ($schema_type||'-'), $schema_version); + if($schema_version == $opt_release) { + printf("\tDB version was equal to latest release; if you need to patch then rerun with --fix and --dryrun\n"); + } + } + next; + } # Now figure out what patches we need to apply to this database. -- GitLab