Reentrant mariadbclient on the horizon?

I've written an test application that can be multi-threaded and I've done a bit of testing only to find that mariadbclient is not reentrant! (Oh the humanity!)

I have got it to run using the reentrant library (libmysqlclient_r) for MySQL but there doesn't seem to be a similar library for mariadbclient. Is this even on the horizon?

Mark

Answer Answered by Sergei Golubchik in this comment.

Did you mean there is no libmariadbclient_r library?

Long time ago there was libmysqlclient library and libmysqlclient_r, which was the same as libmysqlclient, but compiled with thread support.

And long time ago it was changed, libmysqlclient is now always compiled with thread support, and libmysqlclient_r is simply a compatibility symlink to libmysqlclient. There is no separate libmysqlclient_r anymore.

The same applies to libmariadbclient, it is always compiled with thread support, there is no need to have libmariadbclient_r.

Comments

Comments loading...
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.