From: Michael Jerris Date: Mon, 7 Dec 2009 15:54:17 +0000 (+0000) Subject: we can have duplicate entries here X-Git-Tag: v1.0.6~1131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec84309e8f40eb798dc7617ba6b0088bbd55574b;p=thirdparty%2Ffreeswitch.git we can have duplicate entries here git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15826 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c index cdcc15a222..7646a9d412 100644 --- a/src/switch_core_sqldb.c +++ b/src/switch_core_sqldb.c @@ -1348,6 +1348,7 @@ switch_status_t switch_core_sqldb_start(switch_memory_pool_t *pool, switch_bool_ switch_cache_db_execute_sql(dbh, "create index complete8 on complete (a8,hostname)", NULL); switch_cache_db_execute_sql(dbh, "create index complete9 on complete (a9,hostname)", NULL); switch_cache_db_execute_sql(dbh, "create index complete10 on complete (a10,hostname)", NULL); + switch_cache_db_execute_sql(dbh, "create index nat_map_port_proto on nat (port,proto,hostname)", NULL); switch_cache_db_execute_sql(dbh, "create index channels1 on channels(hostname)", NULL); switch_cache_db_execute_sql(dbh, "create index calls1 on calls(hostname)", NULL);