Home | Previous Page | Next Page   Purpose-Function Reference > Purpose-Function Syntax >

am_close

The database server calls am_close when the processing of a single SQL statement (SELECT, UPDATE, INSERT, DELETE) completes.

Syntax

mi_integer am_close(MI_AM_TABLE_DESC *tableDesc)
tableDesc
points to the index descriptor.

Usage

The am_close function:

Important:
Do not call the DataBlade API mi_close() function to free a database connection handle that you open (in the am_open purpose function) with mi_open(). Because the database connection has a PER_COMMAND duration, the database server frees the handle before it calls the am_close purpose function.

Return Values

MI_OK indicates success. MI_ERROR indicates failure.

Related Topics

See the description of:

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]