rcv_init can call db_last and set c_nlines so do it afther possibly updating it