Skip to content

Commit

Permalink
core: MOD_KAMAILIO/MOD_SER DB URL defines, cleanup after commit #1f70…
Browse files Browse the repository at this point in the history
…d062b0b9cf1e
  • Loading branch information
henningw committed Oct 7, 2018
1 parent 2b8c4f1 commit aae3dce
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/core/config.h
Expand Up @@ -186,18 +186,10 @@

#define PATH_MAX_GUESS 1024 /*!< maximum path length */

#if defined KAMAILIO_MOD_INTERFACE || defined OPENSER_MOD_INTERFACE || \
defined MOD_INTERFACE_V1
#define DEFAULT_DB_URL "mysql://kamailio:kamailiorw@localhost/kamailio"
#define DEFAULT_DB_URL_LEN (sizeof(DEFAULT_DB_URL) - 1)
#define DEFAULT_RODB_URL "mysql://kamailioro:kamailioro@localhost/kamailio"
#define DEFAULT_RODB_URL_LEN (sizeof(DEFAULT_RODB_URL) - 1)
#else
#define DEFAULT_DB_URL "mysql://ser:heslo@localhost/ser"
#define DEFAULT_DB_URL_LEN (sizeof(DEFAULT_DB_URL) - 1)
#define DEFAULT_RODB_URL "mysql://serro:47serro11@localhost/ser"
#define DEFAULT_RODB_URL_LEN (sizeof(DEFAULT_RODB_URL) - 1)
#endif
#define DEFAULT_DB_URL "mysql://kamailio:kamailiorw@localhost/kamailio"
#define DEFAULT_DB_URL_LEN (sizeof(DEFAULT_DB_URL) - 1)
#define DEFAULT_RODB_URL "mysql://kamailioro:kamailioro@localhost/kamailio"
#define DEFAULT_RODB_URL_LEN (sizeof(DEFAULT_RODB_URL) - 1)

#define VERSION_TABLE "version" /*!< table holding versions of other ser tables */
#define VERSION_TABLE_LEN (sizeof(VERSION_TABLE) - 1)
Expand Down

0 comments on commit aae3dce

Please sign in to comment.