I can confirm that the test program above causes segfault with current libmysqlclient21 but not with previous version, using mariadb as the server.(sorry, it took me a while to get all the dependencies together to compile and execute the program.)
I can confirm that the test program above causes segfault with current libmysqlclient21 but not with previous version, using mariadb as the server.(sorry, it took me a while to get all the dependencies together to compile and execute the program.)