Switched store_result to use_result in SQL implementation.