fix FSCORE-80

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6999 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2007-12-28 15:48:50 +00:00
1 parent 1d5b3f222b
commit 662144b28c
2 files changed
+15

No files matched your search

+1
View File
@@ -358,6 +358,7 @@ void switch_core_sqldb_start(switch_memory_pool_t *pool)
/* Activate SQL database */
if ((sql_manager.db = switch_core_db_handle()) == 0) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Opening DB!\n");
switch_clear_flag((&runtime), SCF_USE_SQL);
} else {
char create_channels_sql[] =
"CREATE TABLE channels (\n"