Replace delete_location_db() by pragha_database_forget_location() with PreparedStatement.