Skip to content

Commit 0a7e242

Browse files
authored
Merge pull request mysql#41 from planetscale/dbussink/fix-wrong-variable-check
Fix checking the wrong variable
2 parents 7ba556b + d2cec65 commit 0a7e242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/dict/mem.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ static bool dict_mem_table_is_system_metrics(const std::string &name) {
191191
if (name.find('/') == std::string::npos)
192192
return true;
193193

194-
for (auto p : innobase_system_databases) {
194+
for (auto p : innobase_system_databases_metrics) {
195195
if (name.length() > p.length() && name.compare(0, p.length(), p) == 0)
196196
return true;
197197
}

0 commit comments

Comments
 (0)