Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

Commit 325ca65

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/main/java/com/trivadis/tvdcc/validators

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)