From 73bbd83dc45048e57804d9a5e86d77212d5f3147 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 22 Oct 2013 20:49:44 +0500 Subject: [PATCH] FS-5900 --resolve wow, that's a good find --- src/switch_core_sqldb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c index 7dd02df818..0b4d8b9ede 100644 --- a/src/switch_core_sqldb.c +++ b/src/switch_core_sqldb.c @@ -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) {