FS-7187 add switch_cache_db_create_schema() to test for SCF_AUTO_SCHEMAS flag

This commit is contained in:
E. Schmidbauer
2015-01-22 15:41:22 -05:00
parent 608d3e2425
commit 01dcb74f33
5 changed files with 54 additions and 31 deletions
+1 -1
View File
@@ -2271,7 +2271,7 @@ int sofia_glue_init_sql(sofia_profile_t *profile)
free(test_sql);
for (x = 0; indexes[x]; x++) {
switch_cache_db_execute_sql(dbh, indexes[x], NULL);
switch_cache_db_create_schema(dbh, indexes[x], NULL);
}
switch_cache_db_release_db_handle(&dbh);