Close the database handle.
- Updating a database is assured to be written when the handle is closed. If a writer opens a database but does not close it appropriately, the database will be broken. If the transaction is activated and not committed, it is aborted.
Reimplemented from qdbm::ADBM.
Definition at line 225 of file Villa.java.
Referenced by qdbm::VillaTester::domulti(), qdbm::VillaTester::doread(), and qdbm::VillaTester::dowrite().
if(index < 0) throw new VillaException();
int rv = vlclose(index);
index = -1;
if(rv == 0) throw new VillaException(vlecode());