From 359287ffe257fc9130bbb5c761e72109ae5a52e4 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Sat, 29 Jun 2019 03:17:41 +0400 Subject: [PATCH] FS-11902: [Core] Remove duplicate database indexes. --- src/switch_core_sqldb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c index 02e6897778..feb69d6b8e 100644 --- a/src/switch_core_sqldb.c +++ b/src/switch_core_sqldb.c @@ -3583,8 +3583,6 @@ switch_status_t switch_core_sqldb_start(switch_memory_pool_t *pool, switch_bool_ switch_cache_db_create_schema(sql_manager.dbh, "create index complete10 on complete (a10,hostname)", NULL); switch_cache_db_create_schema(sql_manager.dbh, "create index complete11 on complete (a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,hostname)", NULL); switch_cache_db_create_schema(sql_manager.dbh, "create index nat_map_port_proto on nat (port,proto,hostname)", NULL); - switch_cache_db_create_schema(sql_manager.dbh, "create index channels1 on channels(hostname)", NULL); - switch_cache_db_create_schema(sql_manager.dbh, "create index calls1 on calls(hostname)", NULL); switch_cache_db_create_schema(sql_manager.dbh, "create index chidx1 on channels (hostname)", NULL); switch_cache_db_create_schema(sql_manager.dbh, "create index uuindex on channels (uuid, hostname)", NULL); switch_cache_db_create_schema(sql_manager.dbh, "create index uuindex2 on channels (call_uuid)", NULL);