I broke a glass in the dishwasher.?

Can they stick to the dishes and glasses in the wash and be dangerous? Or will the small shards wash out in the wash cycle and go down the drain?