Comments - mariadb_get_infov

2 years 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.

 
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.