@abaplint/core 2.113.83 → 2.113.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/src/registry.js
CHANGED
|
@@ -542,10 +542,12 @@ Make sure to test the downported code, it might not always be completely correct
|
|
|
542
542
|
//////////////////////////////////////////
|
|
543
543
|
/** move INTO from after WHERE to after FROM */
|
|
544
544
|
downportSQLMoveInto(low, high, lowFile, _highSyntax) {
|
|
545
|
+
var _a;
|
|
545
546
|
if (!(low.get() instanceof _statement_1.Unknown)) {
|
|
546
547
|
return undefined;
|
|
547
548
|
}
|
|
548
|
-
|
|
549
|
+
// note: SQLCond is also used in JOIN(FROM) conditions
|
|
550
|
+
const where = (_a = high.findFirstExpression(Expressions.Select)) === null || _a === void 0 ? void 0 : _a.findDirectExpression(Expressions.SQLCond);
|
|
549
551
|
if (where === undefined) {
|
|
550
552
|
return undefined;
|
|
551
553
|
}
|