Calls to fetch_assoc should call store_result()

All calls made to fetch_assoc() should call store_result() on the
statement. Move this call from get_row() to fetch_assoc().