integer directly without using string.
https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_basic_data_types.html
And here is an example of how to get an integer, in the question of this post.
https://stackoverflow.com/questions/21157244/how-to-get-blob-data-from-mysql-in-c
Is that what you want ?
Thanks for your response. That's for communication protocol between server and client (packet). As user of libmysqlclient should be irrelevant. C++ wraps libmysqlclient. So they must convert it inside within getXXX method.
Обсуждают сегодня