Skip to content

Commit

Permalink
Refactor ShardingSphereDatabaseFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Jan 18, 2025
1 parent f8f94e9 commit 23daab2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ private static ShardingSphereDatabase createChangedDatabase(final String databas
final ComputeNodeInstanceContext instanceContext) throws SQLException {
return internalLoadMetaData
? ShardingSphereDatabase.create(databaseName, DatabaseTypeEngine.getProtocolType(databaseConfig, props),
databaseConfig, instanceContext, persistService.getDatabaseMetaDataFacade().getSchema().load(databaseName))
databaseConfig, instanceContext, persistService.getDatabaseMetaDataFacade().getSchema().load(databaseName))
: ShardingSphereDatabase.create(databaseName, DatabaseTypeEngine.getProtocolType(databaseConfig, props), databaseConfig, props, instanceContext);
}

Expand Down

0 comments on commit 23daab2

Please sign in to comment.