I'm looking for the built-in MySQL information function that returns the number of rows just selected, like ROW_COUNT() does for INSERT, UPDATE, etc.
In a stored procedure I wish to do this:
...
select episode_name from bestLOSTepisodes
set _episodes_found = SELECTED_ROWS();
...
I've done a fair amount of digging and have been unable to find such a function like SELECTED_ROWS().