Browse Source

REPORT-63790

日志同步插件-check_table失败导致同步失败
1、catalog为空字符串会导致sqlserver的 sp_tables 语句无法执行
release/10.0
Link.Zhao 3 years ago
parent
commit
b421619bc0
  1. 3
      fine-hibernate/src/main/java/com/fr/third/org/hibernate/tool/schema/extract/internal/InformationExtractorJdbcDatabaseMetaDataImpl.java

3
fine-hibernate/src/main/java/com/fr/third/org/hibernate/tool/schema/extract/internal/InformationExtractorJdbcDatabaseMetaDataImpl.java

@ -299,9 +299,6 @@ public class InformationExtractorJdbcDatabaseMetaDataImpl implements Information
// 2) look in default namespace // 2) look in default namespace
catalogFilter = toMetaDataObjectName( extractionContext.getDefaultCatalog() ); catalogFilter = toMetaDataObjectName( extractionContext.getDefaultCatalog() );
} }
else {
catalogFilter = "";
}
} }
else { else {
catalogFilter = toMetaDataObjectName( catalog ); catalogFilter = toMetaDataObjectName( catalog );

Loading…
Cancel
Save