Allows to change CACHALOT_CACHE during transactions (useful for tests).