Module: kamailio
Branch: master
Commit: 14dc277e29a170b9ac51e7dda07fa25cbd9be048
URL:
https://github.com/kamailio/kamailio/commit/14dc277e29a170b9ac51e7dda07fa25…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-03-25T23:25:19+01:00
db_mysql: right position for define KSR_MYSQL_OPT_RECONNECT
- follow up of previous commit
---
Modified: src/modules/db_mysql/km_my_con.c
---
Diff:
https://github.com/kamailio/kamailio/commit/14dc277e29a170b9ac51e7dda07fa25…
Patch:
https://github.com/kamailio/kamailio/commit/14dc277e29a170b9ac51e7dda07fa25…
---
diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c
index 49f7f7e1f7e..4c756db66ff 100644
--- a/src/modules/db_mysql/km_my_con.c
+++ b/src/modules/db_mysql/km_my_con.c
@@ -48,10 +48,10 @@ extern char *db_mysql_opt_ssl_ca;
#define KSR_MYSQL_OPT_RECONNECT
#else
#if MYSQL_VERSION_ID < 80034
-#endif
#define KSR_MYSQL_OPT_RECONNECT
#endif
#endif
+#endif
/*! \brief
* Create a new connection structure,