UltraLite Embedded SQL User's Guide
Embedded SQL Library Functions
ul_bool ULStoreDefragStep(
SQLCA * sqlca
p_ul_store_defrag_info dfi );
This function defragments a piece of the database.
sqlca A pointer to the SQLCA.
dfi A defragmentation information block.
If the entire store has been defragmented, returns ul_true.
If the entire store is not defragmented, returns ul_false.
If an error occurs, SQLCODE is set.
Defragmenting UltraLite databases