Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - C 及 C++ 编程 » API 参考 » 嵌入式 SQL API 参考

 

db_fini 函数

释放 UltraLite 运行时库使用的资源。

语法
unsigned short db_fini( 
SQLCA * sqlca 
);
返回值
  • 如果在处理过程中出现错误,则返回 0。在 SQLCA 中设置错误代码。

  • 如果没有错误,则返回非零值。

注释

在调用 db_fini 之后不能进行任何其它 UltraLite 库调用或执行任何嵌入式 SQL 命令。

为每个正被使用的 SQLCA 调用一次 db_fini。

另请参见