mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
MySqlKey set parent, fix #4225
This commit is contained in:
@@ -3575,6 +3575,7 @@ public class SQLStatementParser extends SQLParser {
|
||||
if (name != null) {
|
||||
key.setName(name);
|
||||
}
|
||||
key.setParent(stmt);
|
||||
stmt.getTableElementList().add(key);
|
||||
}
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user