KI_CLOSE_TABLE
Argument | Enumeration | Purpose |
---|---|---|
connection | Current database connection | |
table$ | Table name | |
bClose | TRUE for force close even if non-zero ref count | |
status | KDB_ERROR_ENUM | Return status |
handle | First non-zero ref count handle remaining |
KI_CLOSE_TABLE
This function closes all the zero reference count handles cached for a given table. If any handles remain because their count was non-zero then one of the handle numbers is returned in the optional last argument.
If the tablename is omitted or is the empty string then all the zero reference count pooled handles on all tables for that connection are closed.
If the bClose argument is TRUE the all the handles will be closed irrespective of their reference count.