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

Increment before skipping

parent cc20b764
No related branches found
No related tags found
No related merge requests found
......@@ -213,10 +213,10 @@ sub _backup {
$core->sql_helper()
->execute_simple( -SQL => 'show tables like ?', -PARAMS => [$table] );
if (@{$res}) {
$increment++;
next;
}
last; #if no results then name is free
$increment++;
}
$self->v( 'Backing up to %s', $table );
......
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