Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
0004977: Oracle create index under same user/schema as table
  • Loading branch information
erilong committed May 5, 2021
1 parent 805ad6e commit dd19e0c
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -2296,7 +2296,7 @@ protected void writeExternalIndexCreate(Table table, IIndex index, StringBuilder
ddl.append(" FULLTEXT");
}
ddl.append(" INDEX ");
printIdentifier(getIndexName(index), ddl);
ddl.append(getFullyQualifiedIndexNameShorten(table, index));
ddl.append(" ON ");
ddl.append(getFullyQualifiedTableNameShorten(table));
ddl.append(" (");
Expand All @@ -2319,6 +2319,10 @@ protected void writeExternalIndexCreate(Table table, IIndex index, StringBuilder
ddl.append(")");
}

protected String getFullyQualifiedIndexNameShorten(Table table, IIndex index) {
return getDelimitedIdentifier(getIndexName(index));
}

protected boolean isFullTextIndex(IIndex index) {
return false;
}
Expand Down

0 comments on commit dd19e0c

Please sign in to comment.