Skip to content

Commit

Permalink
Merge pull request mysql#41 from planetscale/dbussink/fix-wrong-varia…
Browse files Browse the repository at this point in the history
…ble-check

Fix checking the wrong variable
  • Loading branch information
dbussink committed Nov 24, 2022
2 parents 7ba556b + d2cec65 commit 0a7e242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/innobase/dict/mem.cc
Expand Up @@ -191,7 +191,7 @@ static bool dict_mem_table_is_system_metrics(const std::string &name) {
if (name.find('/') == std::string::npos)
return true;

for (auto p : innobase_system_databases) {
for (auto p : innobase_system_databases_metrics) {
if (name.length() > p.length() && name.compare(0, p.length(), p) == 0)
return true;
}
Expand Down

0 comments on commit 0a7e242

Please sign in to comment.