UltraLite Embedded SQL User's Guide
Embedded SQL Library Functions
unsigned short db_fini( SQLCA * sqlca );
Frees resources used by the UltraLite runtime library.
You must not make any other library calls or execute any embedded SQL commands after db_fini is called. If an error occurs during processing, the error code is set in SQLCA and the function returns 0.If there are no errors, a non-zero value is returned.
You need to call db_fini once for each SQLCA being used.
Palm Computing PlatformDo not call db_fini on the Palm Computing Platform. The database must be kept open when you leave the application. Use ULPalmExit to save the state of the application between sessions instead of calling db_fini. |