[jOOQ/jOOQ#9420] Incorrect emulation of unnamed indexes
This commit is contained in:
parent
7df070357d
commit
41973fa392
@ -88,7 +88,7 @@ class IndexImpl extends AbstractNamed implements Index {
|
||||
}
|
||||
|
||||
IndexImpl(Name name, Table<?> table, OrderField<?>[] fields, Condition where, boolean unique) {
|
||||
super(qualify(table, name), CommentImpl.NO_COMMENT);
|
||||
super(name.empty() ? name : qualify(table, name), CommentImpl.NO_COMMENT);
|
||||
|
||||
this.table = table;
|
||||
this.fields = Tools.sortFields(fields);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user