]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
can't have unique here. It will fail on ODBC
authorBrian West <brian@freeswitch.org>
Mon, 7 Dec 2009 13:35:20 +0000 (13:35 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 7 Dec 2009 13:35:20 +0000 (13:35 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15823 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core_sqldb.c

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