Skip to content

Commit d2cec65

Browse files
committed
Fix checking the wrong variable
This was not checking against the new vector for metrics tables, so it was wrong about what were system reads vs. regular ones. Fixing the table makes it work properly and also verified locally that this now updates rows read correctly.
1 parent 7ba556b commit d2cec65

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)