Skip to content
Snippets Groups Projects
Commit 601a5938 authored by Andy Yates's avatar Andy Yates
Browse files

Trying to get the error messages to dissapear

parent 97bab4f4
No related branches found
No related tags found
No related merge requests found
......@@ -419,8 +419,8 @@ while ( $sth->fetch() ) {
}
else {
if($opt_verbose) {
printf("Skipping database %s (type: %s | version: %d)\n", $database, ($schema_type||'-'), $schema_version);
if($schema_version == $opt_release) {
printf("Skipping database %s (type: %s | version: %d)\n", $database, ($schema_type||'-'), ($schema_version || 0));
if(defined $schema_version && $schema_version == $opt_release) {
printf("\tDB version was equal to latest release; if you need to patch then rerun with --fix and --dryrun\n");
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment