Skip to content

Commit

Permalink
adjust createSQLServerDatabase data type SQLServer
Browse files Browse the repository at this point in the history
  • Loading branch information
TherChenYang committed Mar 19, 2024
1 parent ea7f2f9 commit 9aed1bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ private ShardingSphereDatabase createSQLServerDatabase() {
ShardingSphereColumn column3 = new ShardingSphereColumn("col3", 0, false, false, false, true, false, false);
ShardingSphereTable table = new ShardingSphereTable("tbl", Arrays.asList(column1, column2, column3), Collections.emptyList(), Collections.emptyList());
ShardingSphereSchema schema = new ShardingSphereSchema(Collections.singletonMap("tbl", table), Collections.emptyMap());
return new ShardingSphereDatabase(DefaultDatabase.LOGIC_NAME, TypedSPILoader.getService(DatabaseType.class, "MySQL"), mock(ResourceMetaData.class),
return new ShardingSphereDatabase(DefaultDatabase.LOGIC_NAME, TypedSPILoader.getService(DatabaseType.class, "SQLServer"), mock(ResourceMetaData.class),
mock(RuleMetaData.class), Collections.singletonMap("dbo", schema));
}

Expand Down

0 comments on commit 9aed1bd

Please sign in to comment.