As I understand mysql_store_result() differs from mysql_use_result() in
manner of fetching data from the network. First function fetches all records
selected by query into client's memory and then passes given array to other
API functions, while second function fetches records "on demand" (i.e. when
they requested by other client's API).
I'm interesting in next situation - when client doesn't want to fetch rest
of the selected records, it just calls mysql_free_result() function, which
frees allocated array after mysql_store_result() and fetches all records not
fetched before from the network.
Why do you think about adding "abort" code which can be sent to the server
from client to stop transmitting query results over the network?