Issue #2848812 by harsha012, gaurav.kapoor, Yogesh Pawar, Sharique, techtud, JayKandari, alexpott: Replace all calls to db_set_active, which is deprecated