]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5900 --resolve wow, that's a good find
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 22 Oct 2013 15:49:44 +0000 (20:49 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 22 Oct 2013 14:54:58 +0000 (09:54 -0500)
src/switch_core_sqldb.c

index 7dd02df818fadf0a91b5b7fb6f7b598b55327d9f..0b4d8b9edeb2e6aef7894f2fff7f031035ccab8f 100644 (file)
@@ -510,8 +510,6 @@ SWITCH_DECLARE(switch_status_t) _switch_cache_db_get_db_handle(switch_cache_db_h
                switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_DEBUG10,
                                                  "Create Cached DB handle %s [%s] %s:%d\n", new_dbh->name, switch_cache_db_type_name(type), file, line);
 
-               new_dbh = create_handle(type);
-
                if (db) {
                        new_dbh->native_handle.core_db_dbh = db;
                } else if (odbc_dbh) {