If I execute a query against the MySQL Connector/C library the data I'm getting back all appears to be in straight
I believe the data is sent on the wire as text in the MySQL protocol (I just confirmed this with Wireshark). So that means
mysql_store_result() is not converting the data, it's just simply passing the data on as it was received. MySQL actually sends integers as text. I agree this always seemed like an odd design to me as well.