ok, patch applied cleanly

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17096 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2010-03-25 00:28:56 +00:00
1 parent cefb4188ea
commit 0292b7a81d
4 files changed
+27 -6

No files matched your search

+10
View File
@@ -4529,6 +4529,10 @@ int sofia_glue_init_sql(sofia_profile_t *profile)
"create index ssd_contact_str on sip_shared_appearance_dialogs (contact_str)",
"create index ssd_call_id on sip_shared_appearance_dialogs (call_id)",
"create index ssd_expires on sip_shared_appearance_dialogs (expires)",
"create index sr_1 on sip_recovery (runtime_uuid)",
"create index sr_2 on sip_recovery (profile_name)",
"create index sr_3 on sip_recovery (hostname)",
"create index sr_4 on sip_recovery (uuid)",
NULL
};
@@ -4747,6 +4751,12 @@ int sofia_glue_init_sql(sofia_profile_t *profile)
switch_core_db_exec(db, "create index if not exists sa_nonce on sip_authentication (nonce)", NULL, NULL, NULL);
switch_core_db_exec(db, "create index if not exists sa_hostname on sip_authentication (hostname)", NULL, NULL, NULL);
switch_core_db_exec(db, "create index if not exists sr_1 on sip_recovery (runtime_uuid)", NULL, NULL, NULL);
switch_core_db_exec(db, "create index if not exists sr_2 on sip_recovery (profile_name)", NULL, NULL, NULL);
switch_core_db_exec(db, "create index if not exists sr_3 on sip_recovery (hostname)", NULL, NULL, NULL);
switch_core_db_exec(db, "create index if not exists sr_4 on sip_recovery (uuid)", NULL, NULL, NULL);
}
if (odbc_dbh) {