[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-dev
Subject:    [sr-dev] git:master:14dc277e: db_mysql: right position for define KSR_MYSQL_OPT_RECONNECT
From:       Daniel-Constantin Mierla via sr-dev <sr-dev () lists ! kamailio ! org>
Date:       2024-03-25 22:26:15
Message-ID: E1roslj-0004ap-TP () www ! kamailio ! org
[Download RAW message or body]

Module: kamailio
Branch: master
Commit: 14dc277e29a170b9ac51e7dda07fa25cbd9be048
URL: https://github.com/kamailio/kamailio/commit/14dc277e29a170b9ac51e7dda07fa25cbd9be048

Author: Daniel-Constantin Mierla <miconda@gmail.com>
Committer: Daniel-Constantin Mierla <miconda@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/14dc277e29a170b9ac51e7dda07fa25cbd9be048.diff
Patch: https://github.com/kamailio/kamailio/commit/14dc277e29a170b9ac51e7dda07fa25cbd9be048.patch

---

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,

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-leave@lists.kamailio.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic