a few optimizations

This commit is contained in:
Anthony Minessale committed 2011-04-15 16:18:26 +00:00
1 parent e4eade33ac
commit b63bff4c17
2 files changed
+26 -1

No files matched your search

+2
View File
@@ -201,9 +201,11 @@ SWITCH_DECLARE(switch_status_t) _switch_core_db_handle(switch_cache_db_handle_t
r = _switch_cache_db_get_db_handle(dbh, SCDB_TYPE_CORE_DB, &options, file, func, line);
}
/* I *think* we can do without this now, if not let me know
if (r == SWITCH_STATUS_SUCCESS && !(*dbh)->io_mutex) {
(*dbh)->io_mutex = sql_manager.io_mutex;
}
*/
return r;
}