mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
general improvements
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5078 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1565,11 +1565,14 @@ int sofia_glue_init_sql(sofia_profile_t *profile)
|
||||
#endif
|
||||
|
||||
#ifdef SWITCH_HAVE_ODBC
|
||||
return profile->master_odbc ? 1 : 0;
|
||||
#else
|
||||
return 1;
|
||||
if (profile->odbc_dsn) {
|
||||
return profile->master_odbc ? 1 : 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
return profile->master_db ? 1: 0;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void sofia_glue_sql_close(sofia_profile_t *profile)
|
||||
|
||||
Reference in New Issue
Block a user