Language cache was migrated to the new cache API, but this part was
not, and when the cache has not been initialized yet it can lead to
a panic because it does not initialize the cache, only accesses it.
[x] I updated the documentation explaining the new behavior if any.
[x] I updated CHANGELOG.md file adding the new feature or bug fix.
[x] I updated go-mysql-server using make upgrade command if applicable.
[x] I added or updated examples if applicable.
[x] I checked that changes on schema are reflected into the documentation, if applicable.
Fixes #982
Language cache was migrated to the new cache API, but this part was not, and when the cache has not been initialized yet it can lead to a panic because it does not initialize the cache, only accesses it.
make upgrade
command if applicable.