fix MODAPP-58
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6918 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
689b7e3443
commit
998515a2ef
|
@ -547,7 +547,7 @@ static switch_status_t load_config(void)
|
|||
} else {
|
||||
if ((db = switch_core_db_open_file(profile->dbname))) {
|
||||
switch_core_db_test_reactive(db, "select count(message_len) from voicemail_data", "drop table voicemail_data", vm_sql);
|
||||
switch_core_db_test_reactive(db, "select count(user) from voicemail_prefs", "drop table voicemail_data", vm_pref_sql);
|
||||
switch_core_db_test_reactive(db, "select count(user) from voicemail_prefs", "drop table voicemail_prefs", vm_pref_sql);
|
||||
} else {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Cannot Open SQL Database!\n");
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue