(init_cache): Use a new local variable, "record", to count the records
in the database file. Don't reuse the "ic" variable for that purpose. Call update_stat with STAT_TEXTS to updated the number of existing texts.
Showing with 21 additions and 15 deletions