Comments - mariadb_get_infov

 
2 years, 5 months ago Todd Rinaldo

The documentation above for MARIADB_CLIENT_VERSION_ID indicates that I should use an unsigned int. However doing so causes a stack smash. The reason appears to be that the mariadb-connector source code is using a size_t instead. I'd suggest this documentation be updated to match how the underlying code works.

 
3 years, 7 months ago juerg oehler

focussing on variable argument list is it to understand as a va_list? what is this variable argument list used for? i tried: mariadb_get_infov(conn, MARIADB_CONNECTION_HOST, (void *)&host, MARIADB_CONNECTION_USER, (void *)&user ); it did not work - screwed up process. please could you show in an example how to use variable argumgent list? thank you

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.