Skip to content

Commit

Permalink
[MIG-17] [MIG-92] --table= and --table.exclude switches for dump
Browse files Browse the repository at this point in the history
  • Loading branch information
tazija committed Oct 29, 2014
1 parent f366da2 commit 75de840
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ protected boolean skip(Table table, MetaDataSpec metaDataSpec) {
skip = indexOf(tableTypes, equalTo(table.getType())) == -1;
}
if (!skip) {
MetaDataFilter tableFilter = metaDataSpec.getMetaDataFilter(MetaDataType.TABLE);
MetaDataFilter tableFilter = metaDataSpec != null ?
metaDataSpec.getMetaDataFilter(MetaDataType.TABLE) : null;
skip = !(tableFilter == null || tableFilter.accepts(table));
}
return skip;
Expand Down

0 comments on commit 75de840

Please sign in to comment.