From e7686a08733974915bfbd69f70b70db1e64e519c Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 7 Dec 2009 13:35:20 +0000 Subject: [PATCH] can't have unique here. It will fail on ODBC git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15823 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core_sqldb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c index 3593916979..cdcc15a222 100644 --- a/src/switch_core_sqldb.c +++ b/src/switch_core_sqldb.c @@ -1348,7 +1348,6 @@ 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 unique 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);