Update return value of sdb_foreach callbacks