Contents Index Library function reference db_init function pdf/preface.pdf

UltraLite User's Guide
  The Embedded SQL Interface
    Library function reference

db_fini function


Prototype 

unsigned short db_fini( SQLCA * sqlca );

Description 

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 Platform 
Do 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.
See also 

db_init function


Contents Index Library function reference db_init function pdf/preface.pdf