[OpenSIPS/opensips] f5abcc: db_mysql: fix build against MariaDB 10.2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[OpenSIPS/opensips] f5abcc: db_mysql: fix build against MariaDB 10.2

Bogdan-Andrei Iancu-2
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f5abccccaafae235aec918b98753bee90963636e
      https://github.com/OpenSIPS/opensips/commit/f5abccccaafae235aec918b98753bee90963636e
  Author: Augusto Caringi <[hidden email]>
  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 <[hidden email]>
  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
_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Loading...