[OpenSIPS-Devel] [OpenSIPS/opensips] f5abcc: db_mysql: fix build against MariaDB 10.2
Bogdan Andrei IANCU
bogdan at opensips.org
Thu Jul 27 09:56:24 EDT 2017
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: f5abccccaafae235aec918b98753bee90963636e
https://github.com/OpenSIPS/opensips/commit/f5abccccaafae235aec918b98753bee90963636e
Author: Augusto Caringi <acaringi at redhat.com>
Date: 2017-07-27 (Thu, 27 Jul 2017)
Changed paths:
M modules/db_mysql/my_con.c
Log Message:
-----------
db_mysql: fix build against MariaDB 10.2
Fixes the following build error while building against MariaDB 10.2
library:
my_con.c: In function 'db_mysql_connect':
my_con.c:68:10: error: 'MYSQL {aka struct st_mysql}' has no member named
'reconnect'
ptr->con->reconnect = 0;
^~
In this new version of the library the reconnect field was moved to
another struct. Setting it through API seems to be a better approach.
Commit: 77e678a6a18822cf8ceb30732494cf492a5a1407
https://github.com/OpenSIPS/opensips/commit/77e678a6a18822cf8ceb30732494cf492a5a1407
Author: Bogdan Andrei IANCU <bogdan at opensips.org>
Date: 2017-07-27 (Thu, 27 Jul 2017)
Changed paths:
M modules/db_mysql/my_con.c
Log Message:
-----------
Merge pull request #1164 from caringi/master
db_mysql: fix build against MariaDB 10.2
Compare: https://github.com/OpenSIPS/opensips/compare/47af7de2316c...77e678a6a188
More information about the Devel
mailing list