Skip to content

Commit 57ad705

Browse files
committed
Yet another fix for async MDX execution.
Who needs regression tests, amirite?
1 parent 0ec9471 commit 57ad705

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

MDX2JSON/Tests.cls.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ Classes with support methods for testing MDX2JSON</Description>
88

99
<Parameter name="LastCommit">
1010
<Type>%String</Type>
11-
<Default>d154085a239996bc3f204e68d8f3706f23bd7d7f</Default>
11+
<Default>0ec947153a3943f4f5e1f1724cc6591e413b0079</Default>
1212
</Parameter>
1313

1414
<Parameter name="LastCommitTS">
1515
<Type>%TimeStamp</Type>
16-
<Default>2018-02-21 11:16:28.397</Default>
16+
<Default>2018-02-28 11:31:55.762</Default>
1717
</Parameter>
1818

1919
<Method name="ProjectLength">

MDX2JSON/Utils.cls.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ Automatic processing of MDX query and outputting resulting JSONP.<br>
125125
<Implementation><![CDATA[
126126
set RS = ..GetResultSet(pMDX,.st)
127127
return:$$$ISERR(st) st
128+
set st = ..ExecuteResultSet(RS)
129+
return:$$$ISERR(st) st
128130
129131
set PageSize = 1000
130132
set CurrPage = 1
@@ -162,6 +164,8 @@ Automatic processing of MDX Drillthrough query and outputting resulting listing
162164
<Implementation><![CDATA[
163165
set RS = ..GetResultSet(pMDX,.st)
164166
return:$$$ISERR(st) st
167+
set st = ..ExecuteResultSet(RS)
168+
return:$$$ISERR(st) st
165169
166170
set SQL = RS.%GetListingSQL()
167171
do ##class(%ZEN.Auxiliary.jsonSQLProvider).%WriteJSONFromSQL(,SQL,,$$$MaxCacheInt)
@@ -180,6 +184,8 @@ Automatic processing of MDX query and outputting resulting XML/A.<br>
180184
<Implementation><![CDATA[
181185
set RS = ..GetResultSet(pMDX,.st)
182186
return:$$$ISERR(st) st
187+
set st = ..ExecuteResultSet(RS)
188+
return:$$$ISERR(st) st
183189
184190
set st = RS.%OutputXMLA()
185191
@@ -197,6 +203,8 @@ Gets filters for MDX expression.<br>
197203
<Implementation><![CDATA[
198204
set RS = ..GetResultSet(pMDX,.st)
199205
return:$$$ISERR(st) st
206+
set st = ..ExecuteResultSet(RS)
207+
return:$$$ISERR(st) st
200208
201209
set st=RS.%GetFiltersForCellRange(.filters,0,0,RS.%GetAxisSize(2),RS.%GetAxisSize(1),.measure)
202210

0 commit comments

Comments
 (0)