Skip to content

Commit 325ca65

Browse files
fixes #44 - consider table name and table alias in hints of Merge statements
1 parent 94589be commit 325ca65

File tree

1 file changed

+1
-0
lines changed
  • src/main/java/com/trivadis/tvdcc/validators

1 file changed

+1
-0
lines changed

src/main/java/com/trivadis/tvdcc/validators/Hint.xtend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ class Hint extends PLSQLValidator implements PLSQLCopValidator {
256256
def private dispatch getTableReference(MergeStatement stmt) {
257257
val result = new ArrayList<Pair<String, String>>
258258
result.add(new Pair(stmt.intoClause?.table?.value, stmt.intoClause?.alias?.value))
259+
result.add(new Pair(stmt.usingClause?.table?.value, stmt.usingClause?.alias?.value))
259260
return result
260261
}
261262

0 commit comments

Comments
 (0)