Skip to content

Commit 5fce87a

Browse files
committed
fix
1 parent f11e814 commit 5fce87a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/cubejs-schema-compiler/src/adapter/BaseQuery.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -752,8 +752,7 @@ export class BaseQuery {
752752
}
753753
}
754754

755-
const res = this.buildSqlAndParamsRust(exportAnnotatedSql);
756-
return res;
755+
return this.buildSqlAndParamsRust(exportAnnotatedSql);
757756
}
758757

759758
if (!this.options.preAggregationQuery && !this.options.disableExternalPreAggregations && this.externalQueryClass) {
@@ -762,7 +761,7 @@ export class BaseQuery {
762761
}
763762
}
764763

765-
const res = this.compilers.compiler.withQuery(
764+
return this.compilers.compiler.withQuery(
766765
this,
767766
() => this.cacheValue(
768767
['buildSqlAndParams', exportAnnotatedSql],
@@ -774,7 +773,6 @@ export class BaseQuery {
774773
{ cache: this.queryCache }
775774
)
776775
);
777-
return res;
778776
}
779777

780778
buildSqlAndParamsRust(exportAnnotatedSql) {

0 commit comments

Comments
 (0)