Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
void edmiFreeQueryResult(SdaiQueryResult queryResult);

Releases the virtual memory allocated by the edmiExecuteQuery and edmiExecuteQueryBN operations.

...

The EDMinterface is allocating the required virtual memory for the result from an EDMquery. It is the calling applications responsibility to release this virtual memory when it is not longer needed to avoid "out of virtual memory" and avoid memory leakage.

...

Arguments

...

TypeNameComment
SdaiQueryResult

queryResult

The address of the EDMquery result data returned from the edmiExecuteQuery and edmiExecuteQueryBN operations.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 EdmiError rstat;
 SdaiModel modelId;
 SdaiQuery queryId;
 SdaiQueryResult qs;
 . . .
 if (rstat = edmiExecuteQuery(modelId,
 queryId, 
 2, 
 RESULT_AS_TABLE,

...

 
 &qs,

...

 
 sdaiSTRING, "PIDaba44889",

...

 
 sdaiSTRING, "myName")) {

...

 
 /* Error in operation */

...

 
 printf("\nError: %s in edmiExecuteQuery\n",

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 /* Use query result */

...


 . . .

...


 edmiFreeQueryResult(qs);

...


 /* Query result no longer accessible */

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"