setQueryRDBDirect()

Allows to change the queryRDBdirect settings to change between querying directly from the RDB or querying via the data manager during runtime.

Synopsis

int setQueryRDBDirect( bool on);

Parameters

Parameter Description
on Defines the state of queryRDBdirect

Return value

returns 0. In case of an error returns -1

Errors

missing/incorrect arguments

Description

The function setQueryRDBDirect allows to change the queryRDBDirect value while being in run time. So the Queries can be set to either being sent directly to the RDB or to the corresponding data manager.

Example

Following example sets the value of queryRDBdirect to false, so that the Queries are not directly sent to the RDB but to the corresponding data manager.

main()
{
  setQueryRDBDirect(FALSE);
}

Assignment

database functions

Availability

CTRL