Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Invalidate all query caches for current thread #35089
Feb 1, 2019
@tenderlove and I looked at this today and came up with a different solution. We've fixed the issue by adding a new method that clears the query cache for all the connections but only for the current thread.
The reason the thread test was failing before with @eugeneius's suggested change was because when we call