]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
we can have duplicate entries here
authorMichael Jerris <mike@jerris.com>
Mon, 7 Dec 2009 15:54:17 +0000 (15:54 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 7 Dec 2009 15:54:17 +0000 (15:54 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15826 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core_sqldb.c

index cdcc15a222f078cddfb2fb73b4c76239f036b242..7646a9d4121dec46c45effd157d791e12789eb8d 100644 (file)
@@ -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);