Module: kamailio
Branch: 5.8
Commit: 3f3c1940788a4713705169f8d96ae9a13ee2bad1
URL:
https://github.com/kamailio/kamailio/commit/3f3c1940788a4713705169f8d96ae9a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-04-01T08:07:44+02:00
db_mysql: right position for define KSR_MYSQL_OPT_RECONNECT
- follow up of previous commit
(cherry picked from commit 14dc277e29a170b9ac51e7dda07fa25cbd9be048)
---
Modified: src/modules/db_mysql/km_my_con.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3f3c1940788a4713705169f8d96ae9a…
Patch:
https://github.com/kamailio/kamailio/commit/3f3c1940788a4713705169f8d96ae9a…
---
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,