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