free a ksql database handle
function frees a database
, previously allocated with
. This internally invokes
then frees all internal memory. If
the handle was allocated with
, the handle is removed from
the queue of handles that would be freed on exit (so it is not double-freed).
, no action occurs.
This function is invoked from the atexit(3)
was specified and the
handle was not freed prior to exiting. In this case, the
flag is temporarily
This returns the error code of ksql_close(3)