Is the_category busted?

I’ve got a bunch of posts that are in multiple categories, yet when I call <?php the_category(', '); ?> in a template, I just get one category returned. Can’t find anything that should be preventing showing more than one category, so I’m starting to wonder if the_category is broken.