Adds helper function to invalidate mysql bin log cache.