Skip to content

Commit

Permalink
Support for Babelfish v.4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robverschoor committed Dec 12, 2024
1 parent 2d30249 commit 0feea2a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/compass/CompassAnalyze.java
Original file line number Diff line number Diff line change
Expand Up @@ -8658,7 +8658,6 @@ public void CaptureIdentifier(String objNameRaw, String objName, String stmt, in
boolean ObjTypeSupported = true;
if (stmt.equals("CREATE SYNONYM")) {
String statusObj = featureSupportedInVersion(MiscObjects, "SYNONYM");
u.appOutput(u.thisProc()+"statusObj=["+statusObj+"] ");
if (!statusObj.equals(u.Supported)) ObjTypeSupported = false;
}

Expand Down Expand Up @@ -9986,7 +9985,6 @@ private String captureSimpleStmt (String ruleName, ParseTree ctx, int lineNr, St
words.remove(0);
String obj = String.join(" ", words);
String status = featureSupportedInVersion(MiscObjects, obj);
u.appOutput(u.thisProc()+"obj=["+obj+"] status=["+status+"] ");
captureItem(kwd + " " + obj + misc, objectName, MiscObjects, obj, status, lineNr);
if (!kwd.equals("CREATE") && !kwd.equals("DROP")) {
captureItem("CREATE " + obj, objectName, "", "", u.ObjCountOnly, 0, 0);
Expand Down

0 comments on commit 0feea2a

Please sign in to comment.