Check if sqlite really deleted a row using sqlite3_changes(). bb#814

Update volume size using only one query which doesn't require locking
h->db