mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for schema stat
This commit is contained in:
@@ -127,7 +127,7 @@ public class MappingVisitorUtils {
|
||||
}
|
||||
|
||||
public static void setDataSource(MappingEngine engine, SQLDeleteStatement stmt) {
|
||||
if (stmt.getTableSource() == null) {
|
||||
if (stmt.getExprTableSource() == null) {
|
||||
Entity entity = engine.getFirstEntity();
|
||||
stmt.setTableSource(new SQLIdentifierExpr(entity.getName()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user