Module: kamailio Branch: master Commit: 0833a72d4b70d224ab02c90b7b94648db7f52c73 URL: https://github.com/kamailio/kamailio/commit/0833a72d4b70d224ab02c90b7b94648d...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2024-01-31T10:13:48+01:00
db_mysql: proper macro to check mysql version id
---
Modified: src/modules/db_mysql/km_my_con.c
---
Diff: https://github.com/kamailio/kamailio/commit/0833a72d4b70d224ab02c90b7b94648d... Patch: https://github.com/kamailio/kamailio/commit/0833a72d4b70d224ab02c90b7b94648d...
---
diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c index b415ff87655..88c950417a6 100644 --- a/src/modules/db_mysql/km_my_con.c +++ b/src/modules/db_mysql/km_my_con.c @@ -141,7 +141,7 @@ struct my_con *db_mysql_new_connection(const struct db_id *id) break; } #else -#ifdef MYSQL_VERSION_ID> 50710 +#if MYSQL_VERSION_ID > 50710 if(db_mysql_opt_ssl_mode != 0) { unsigned int optuint = 0; if(db_mysql_opt_ssl_mode == 1) {