mco_runtime_setoption
接口适用于实时数据库 RT 。
获取运行时选项值。
此函数返回指定的运行时选项的值。
int mco_runtime_getoption(
int option
)
参数
option
int
要设置的选项。(请参阅运行时选项)
返回
int
指定运行时选项的整数值。
示例
/* 应用程序代码片段 */
int main(int argc, char* argv[])
{
int val = 0;
mco_runtime_start();
...
val = mco_runtime_getoption( MCO_RT_OPTION_DATETIME_PRECISION );
...
}
文件
头文件:
mco.h
源文件:
mcodb.c
库:
libmcolib.a
头文件:
mco.h
源文件:
corestub.c
库:
libmcorsqlstub.a