Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache Size query is null on e.g. MySQL 8 CloudLinux #9

Open
PhilMakower opened this issue Aug 8, 2024 · 0 comments
Open

Cache Size query is null on e.g. MySQL 8 CloudLinux #9

PhilMakower opened this issue Aug 8, 2024 · 0 comments

Comments

@PhilMakower
Copy link

return $query_cache_size_query->Value;

Generates a WARNING when trying to access the member Value on null

return $query_cache_size_query ? $query_cache_size_query->Value : 0; // var may be NULL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant